Getting OT: At a former place of employment, I used LDAP as a sort of modern-day NIS. PAM allowed us to use the LDAP for authentication and NSS caused users/groups to be looked up in the LDAP (if they couldn't be found in the files). Our Samba server was plugged into the LDAP in such a way, and that alleviated us from having to do anything special to manage permissions. We simply set the typical user and group permissions the way we would have if the users were local, and it worked like a charm.
Perl was involved, of course. Since we never found anything that allowed us to manage users and groups in a pleasant way, I used Net::LDAP and Gtk2 to put something together that I could hand off to the IT staff and not worry about. Last I heard, they were still using it to good effect.
Trying to bring this back on-topic, as cutlass2006 writes, LDAP can be an excellent solution to multi-faceted authentication. The only warning I can give is that you may be rolling-your-own on a lot of things, as we had to. Those are the two sides of the same coin: LDAP is extremely flexible, and as such you have to bend it to do your bidding.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.