LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 17-Jan-2008, 06:19 AM
Junior Member
 
Join Date: Jan 2008
Posts: 4
rjpa123 0 reputation points
Default PAM_MOUNT Problem

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)
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -6. The time now is 03:39 AM.


© 2007 Novell, Inc. All Rights Reserved.

Search Engine Friendly URLs by vBSEO 3.3.0 RC2