I'm not experienced, just remembering something I read - but is there an LDAP module to pam that you need??
Duh nevermind... ;D
I can't figure out how to get a user to authenticate in LDAP (just using the ldapsearch CLI tool). I've added a inetPersonOrg/person to the directory with a userPassword field but when I do something like:
I get Invalid credentials (49). Here is the Richard ldif:Code:ldapsearch -x -b "cn=Richard,ou=richard,ou=test,dc=mysite,dc=com" "(objectclass=inetOrgPerson)" -w testing
Help!Code:dn: cn=Richard,ou=richard,ou=test,dc=mysite,dc=com cn: Richard Tompson sn: Tompson userPassword: testing objectClass: person objectClass: inetOrgPerson
I'm not experienced, just remembering something I read - but is there an LDAP module to pam that you need??
Duh nevermind... ;D
Hmm, I would think about modifying that LDAP tree. I don't think it's really setup right to do user authentication. My record for work goes like this:
uid=prae,ou=CTC,ou=YEC,ou=staff,ou=users,dc=mysite ,dc=org
Of course I've changed two things, but that's it! I assume you require username and password authentication just to search the tree…does your user have access to do this?
Bookmarks