Skip to main content

Thread: PAM login problem with LDAP on Ubuntu 11.04


hi there!
need because stuck in configurationg ubuntu ldap-client in local network.
have set ldap according guide on internet. ldap working , can search ldap database users without problems
problem occurs when try log in user in ldap-database
when log in ldap user name (not local one) computer seems have contact ldap server; recognizes name , password , "welcome ubuntu 11.04....." shows up. after there error message telling me "user not known underlying authentication module" , sends me login prompt.
must pam-related error becase can browse ldap-database "ldapsearch -x uid=<username>". goes wrong ....but cant figure out is
or suggestions on topic appreciated, because im stuck this...
best regards

pam common-auth (should ok), common-password , common-session looks this:

## common-auth ##
###############
# here per-package modules (the "primary" block)
auth [success=2 default=ignore] pam_unix.so nullok_secure
auth [success=1 default=ignore] pam_ldap.so use_first_pass
# here's fallback if no module succeeds
auth requisite pam_deny.so
# prime stack positive return value if there isn't 1 already;/
# avoids returning error because nothing sets success code
# since modules above each jump around
auth required pam_permit.so
# , here more per-package modules (the "additional" block)
# end of pam-auth-update config



##common-password ##
####################
# here per-package modules (the "primary" block)
password [success=2 default=ignore] pam_unix.so obscure sha512
password [success=1 user_unknown=ignore default=die] pam_ldap.so use_authtok try_first_pass
# here's fallback if no module succeeds
#password requisite pam_deny.so
# prime stack positive return value if there isn't 1 already;
# avoids returning error because nothing sets success code
# since modules above each jump around
#password required pam_permit.so
# , here more per-package modules (the "additional" block)
password optional pam_gnome_keyring.so
# end of pam-auth-update config

password required pam_cracklib.so difok=2 minlen=8 dcredit=2 ocredit=2 retry=3

password sufficient pam_unix.so nullok md5 shadow use_authtok

password sufficient pam_ldap.so use_first_pass

password required pam_deny.so



##common-session##
##################
# here per-package modules (the "primary" block)
session [default=1] pam_permit.so
# here's fallback if no module succeeds
session requisite pam_deny.so
# prime stack positive return value if there isn't 1 already;
# avoids returning error because nothing sets success code
# since modules above each jump around
# session required pam_permit.so
# , here more per-package modules (the "additional" block)
session required pam_mkhomedir.so umask=0022 skel=/etc/skel
session required pam_ldap.so
session optional pam_unix.so
session optional pam_ck_connector.so nox11
# end of pam-auth-update config



Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Installation & Upgrades [ubuntu] PAM login problem with LDAP on Ubuntu 11.04


Ubuntu

Comments

Popular posts from this blog

Warning, the Safe Path is not accessible vm3 - Joomla! Forum - community, help and support

uppercase letters in url - Joomla! Forum - community, help and support

Joomla! Update is not offering Joomla 3 - Joomla! Forum - community, help and support