Skip to main content

Thread: Ldap: Ssh & pam


i'm trying set ubuntu server 12.04 in order user login using credentials coming activedirectory.

i've followed guide: https://help.ubuntu.com/community/ld...authentication in end failed make works.

problem experiencing pam tries bind user against ldap server making bindrequest, if user not local account, "incorrect" password sent ldap server instead of password provided user, failing of course authentication. (i sniffed packet using tshark).
on contrary, if user local (previously added useradd command), password sent correctly , authentication made successfully.

auth.log
code:
oct 31 14:10:49 taiba sshd[6620]: invalid user xxxxxx 10.xxx.xx.xx oct 31 14:10:49 taiba sshd[6620]: input_userauth_request: invalid user xxxxxx [preauth] oct 31 14:10:52 taiba sshd[6620]: pam_ldap: error trying bind user "xxxx" (invalid credentials) oct 31 14:10:52 taiba sshd[6620]: pam_unix(sshd:auth): check pass; user unknown oct 31 14:10:52 taiba sshd[6620]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=xxxxxxxx  oct 31 14:10:52 taiba sshd[6620]: pam_ldap: error trying bind user "xxxxxxx" (invalid credentials) oct 31 14:10:54 taiba sshd[6620]: failed password invalid user xxxxxx 10.xxx.xx.xx port 51831 ssh2
so realized problem when account not present.

have suggestion of have change o modify in order solve problem? can post content of conf files think useful.

thank , best regards

does have idea can solution?


Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] Ldap: Ssh & pam


Ubuntu

Comments

Popular posts from this blog

Thread: Setting up a query server

After Effects error:creating resource file on Windows

Thread: Firefox print dialog doesn't remember settings