sshd cannot mount cifs shares
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libpam-mount (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
release: intrepid
libpam-mount package version: 0.41-1
after an update in intrepid libpam-mount does not mount cifs shares anymore.
the update process asked if i wanted to use pam-auth-update to update my /etc/pam.d/common-* files. the answer was no.
now im unable to mount cifs shares.
here is the debug output from /var/log/auth.log
Apr 27 13:01:25 pc-cs sshd[14780]: Accepted publickey for username from 1.2.3.4 port 44243 ssh2
Apr 27 13:01:25 pc-cs sshd[14780]: pam_mount(
Apr 27 13:01:25 pc-cs sshd[14780]: pam_mount(
Apr 27 13:01:25 pc-cs sshd[14780]: pam_mount(
Apr 27 13:01:25 pc-cs sshd[14780]: pam_mount(
Apr 27 13:01:25 pc-cs sshd[14780]: pam_mount(
Apr 27 13:01:25 pc-cs sshd[14780]: pam_mount(
Apr 27 13:01:25 pc-cs sshd[14780]: pam_mount(
Apr 27 13:01:25 pc-cs sshd[14780]: pam_mount(
Apr 27 13:01:25 pc-cs sshd[14780]: pam_unix(
#######pam configuration#
/etc/pam.
----
account [new_authtok_
account sufficient pam_localuser.so
account [success=ignore default=1] pam_succeed_if.so uid > 10000
account [authinfo_
account requisite pam_deny.so
account requisite pam_permit.so
/etc/pam.
----
auth required pam_env.so
auth [success=ignore default=1] pam_localuser.so
auth [success=done new_authtok_
auth [authinfo_unavail=1 success=ignore default=2] pam_ldap.so
auth [default=done] pam_ccreds.so action=store use_first_pass
auth [success=done default=die] pam_ccreds.so action=validate use_first_pass
auth [default=ignore] pam_echo.so Delete cached password
auth [default=bad] pam_ccreds.so action=update
auth required pam_deny.so
/etc/pam.
-----
password required pam_cracklib.so difok=2 minlen=8 dcredit=2 ocredit=2 try_first_pass retry=3
password sufficient pam_unix.so nullok use_authtok shadow md5 try_first_pass
password sufficient pam_ldap.so use_authtok use_first_pass
password required pam_deny.so
/etc/pam.
----
session required pam_limits.so
session required pam_unix.so
session required pam_mkhomedir.so skel=/etc/skel/ umask=0066
session required pam_ldap.so
/etc/pam.
----
auth optional pam_mount.so use_first_pass
session optional pam_mount.so use_first_pass
/etc/pam.d/sshd (either way if at the top or the bottom it doesnt work. it worked with ssh before the update with the 2 lines at the top)
----
#auth optional pam_mount.so use_first_pass
#session optional pam_mount.so use_first_pass
@include common-auth
@include common-account
@include common-password
@include common-session
@include common-pammount
####sshd configuration######
/etc/ssh/
Port 22
Protocol 2
HostKey /etc/ssh/
HostKey /etc/ssh/
UsePrivilegeSep
KeyRegeneration
ServerKeyBits 768
SyslogFacility AUTH
LogLevel INFO
LoginGraceTime 120
PermitRootLogin yes
StrictModes yes
RSAAuthentication yes
PubkeyAuthentic
IgnoreRhosts yes
RhostsRSAAuthen
HostbasedAuthen
PermitEmptyPass
ChallengeRespon
PasswordAuthent
X11Forwarding yes
X11DisplayOffset 10
PrintMotd no
PrintLastLog yes
TCPKeepAlive yes
AcceptEnv LANG LC_*
Subsystem sftp /usr/lib/
UsePAM yes
the umount errors also there. but that has been opened long time ago and isnt fixed.
is my problem this a bug or is just the configuration after the update wrong.
i tried several setups but with no postive result.
Marking 'Won't Fix' as Intrepid is no longer supported.