Hi.
I managed to make my SLED 10 SP1 box authenticate on Active Directory using the following link:
Desenvolvimento Open Source e Interoperabilidade - Home
I need to make user home directories as well as other network shares using the PAM_MOUNT module and tried the following:
Pam_mount Active Directory Shares - SUSE Forums
The problem is that I always get the following message in /var/log/messages when connecting via SSH:
sshd[14914]: pam_mount(pam_mount.c:413) error trying to retrieve authtok from auth code
sshd[14914]: pam_mount(pam_mount.c:159) conv->conv(...): Conversation error
sshd[14914]: pam_mount(pam_mount.c:416) error trying to read password
I've read the FAQ, tried to mix and match the use_first_pass and use_authtok options and even tried change my /etc/ssh/sshd_config to Darren Tucker suggestions in the FAQ but cannot get past the above error message.
My /etc/pam.d/common-auth:
auth sufficient pam_mount.so
auth required pam_env.so
auth required pam_unix2.so
My /etc/pam.d/common-session:
session optional pam_mkhomedir.so umask=0077
session required pam_limits.so
session required pam_unix2.so
session optional pam_mount.so
My /etc/ssh/sshd_config:
PasswordAuthentication no
UsePAM yes
X11Forwarding yes
Subsystem sftp /usr/lib/ssh/sftp-server
AcceptEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES
AcceptEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT
AcceptEnv LC_IDENTIFICATION LC_ALL
I don't doubt that many of you have done this before.
Any help would be greatly appreciated.
Please and thank you:
Rui Antunes (ruijorgeantunes@hotmail.com)