LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] [OTish] TV

[ILUG] [OTish] TV

Kenn Humborg kenn at bluetree.ie
Wed Feb 16 13:32:39 GMT 2000


> On Wed, Feb 16, 2000 at 12:58:11PM -0000, Kenn Humborg mentioned:
> > This reminds me...  I must take the time to submit my
> > PAM hack to the OpenLDAP people.
> 
>  Why, what didn't pam_ldap do for you ?

Other way around.  Entries under ou=Personnel, o=Blue 
Tree Systems, c=IE have a uid attribute that is set to their
network username and a UsePAMAuth attribute set to True.

Then whenever an LDAP client tries to bind to the
directory as, say, cn=Kenn Humborg, ou=Personnel, 
o=Blue Tree Systems, c=IE, my patch checks for the
UsePAMAuth attribute.  If this is True, the it fires
up PAM, sets application name to slapd, username to
the uid attribute value and password to the client-supplied
password, and asks PAM to authenticate

PAM then goes and does its thing, as directed by 
/etc/pam.d/slapd.  In my case, this uses pam_smb to
check the username and password against an NT domain
controller.

Kenn





More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell