[Bug 261952] [NEW] passwd does not work whith special smb.conf options (maybe a libpam-smbpass bug?)
Robert Kofler
robert.kofler at wu-wien.ac.at
Wed Aug 27 19:27:20 BST 2008
Public bug reported:
Binary package hint: libpam-smbpass
I found out that I could not change my password (as root) with passwd when the smb.conf options
passdb backend = /etc/samba/smbpasswd
was set.
and:
an 'adduser <username>' command created an entry in /etc/shaddow but with missing encrypted password.
this also affects login (of existing users), so I guess some libpam-
smbpass bug prevent the passwd program from correctly processing the
password input.
message from auth.log
passwd[18790]: pam_smbpass(passwd:chauthtok): unrecognized option [missingok]
maybe a similar bug:
http://osdir.com/ml/debian.packages.adduser.devel/2006-10/msg00038.html
but with the following (similar) smb.conf option things worked:
smb passwd file = /etc/samba/smbpasswd
message for that from auth.log
Aug 27 20:02:32 deep2 passwd[18899]: pam_smbpass(passwd:chauthtok): unrecognized option [missingok]
Aug 27 20:02:40 deep2 passwd[18899]: pam_unix(passwd:chauthtok): password changed for root
Aug 27 20:02:40 deep2 passwd[18899]: pam_smbpass(passwd:chauthtok): unrecognized option [missingok]
Aug 27 20:02:40 deep2 passwd[18899]: pam_smbpass(passwd:chauthtok): password for (root/0) changed by (root/0)
=====
Description: Ubuntu 8.04.1
Release: 8.04
=====
file right
=====
root at deep2:/etc# ll passwd* group* shadow*
-rw-r--r-- 1 root root 1922 2008-08-27 19:50 group
-rw------- 1 root root 1934 2008-08-27 19:50 group-
-rw-r--r-- 1 root root 2748 2008-08-27 19:50 passwd
-rw------- 1 root root 2800 2008-08-27 19:50 passwd-
-rw-r----- 1 root root 2256 2008-08-27 20:02 shadow
-rw------- 1 root root 2282 2008-08-27 19:50 shadow-
=====
apt-cache showpkg libpam-smbpass
=====
Package: libpam-smbpass
Versions:
3.0.28a-1ubuntu4.4 (/var/lib/apt/lists/at.archive.ubuntu.com_ubuntu_dists_hardy-updates_main_binary-amd64_Packages) (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_hardy-security_main_binary-amd64_Packages) (/var/lib/dpkg/status)
Description Language:
File: /var/lib/apt/lists/at.archive.ubuntu.com_ubuntu_dists_hardy-updates_main_binary-amd64_Packages
MD5: e7e2bff86e8477719dc8b684ae2c1450
3.0.28a-1ubuntu4 (/var/lib/apt/lists/at.archive.ubuntu.com_ubuntu_dists_hardy_main_binary-amd64_Packages)
Description Language:
File: /var/lib/apt/lists/at.archive.ubuntu.com_ubuntu_dists_hardy_main_binary-amd64_Packages
MD5: e7e2bff86e8477719dc8b684ae2c1450
Reverse Depends:
Dependencies:
3.0.28a-1ubuntu4.4 - libc6 (2 2.4) libcomerr2 (2 1.33-3) libkrb53 (2 1.6.dfsg.2) libldap-2.4-2 (2 2.4.7) libpam0g (2 0.99.7.1) samba-common (5 3.0.28a-1ubuntu4.4) samba (0 (null))
3.0.28a-1ubuntu4 - libc6 (2 2.7-1) libcomerr2 (2 1.33-3) libkrb53 (2 1.6.dfsg.2) libldap-2.4-2 (2 2.4.7) libpam0g (2 0.99.7.1) samba-common (5 3.0.28a-1ubuntu4) samba (0 (null))
Provides:
3.0.28a-1ubuntu4.4 -
3.0.28a-1ubuntu4 -
======
apt-cache showpkg samba-common
======
Package: samba-common
Versions:
3.0.28a-1ubuntu4.4 (/var/lib/apt/lists/at.archive.ubuntu.com_ubuntu_dists_hardy-updates_main_binary-amd64_Packages) (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_hardy-security_main_binary-amd64_Packages) (/var/lib/dpkg/status)
Description Language:
File: /var/lib/apt/lists/at.archive.ubuntu.com_ubuntu_dists_hardy-updates_main_binary-amd64_Packages
MD5: e83c8535c8b2f16448cd0fa2c19debec
3.0.28a-1ubuntu4 (/var/lib/apt/lists/at.archive.ubuntu.com_ubuntu_dists_hardy_main_binary-amd64_Packages)
Description Language: de
File: /var/lib/apt/lists/at.archive.ubuntu.com_ubuntu_dists_hardy_main_i18n_Translation-de
MD5: e83c8535c8b2f16448cd0fa2c19debec
Description Language:
File: /var/lib/apt/lists/at.archive.ubuntu.com_ubuntu_dists_hardy_main_binary-amd64_Packages
MD5: e83c8535c8b2f16448cd0fa2c19debec
Reverse Depends:
lisa,samba-common
winbind,samba-common 3.0.28a-1ubuntu4.4
smbfs,samba-common 3.0.28a-1ubuntu4.4
smbclient,samba-common 3.0.28a-1ubuntu4.4
samba,samba-common 2.0.5a-2
samba,samba-common 3.0.28a-1ubuntu4.4
libpam-smbpass,samba-common 3.0.28a-1ubuntu4.4
sork-passwd-h3,samba-common
smb4k,samba-common
ocsinventory-reports,samba-common
lisa,samba-common
jags,samba-common
fusesmb,samba-common
dpsyco-samba,samba-common
winbind,samba-common 3.0.28a-1ubuntu4
smbfs,samba-common 3.0.28a-1ubuntu4
smbclient,samba-common 3.0.28a-1ubuntu4
samba,samba-common 2.0.5a-2
samba,samba-common 3.0.28a-1ubuntu4
libpam-smbpass,samba-common 3.0.28a-1ubuntu4
gnome-system-tools,samba-common
dhcp3-client,samba-common 3.0.0beta1-2
backuppc,samba-common
Dependencies:
3.0.28a-1ubuntu4.4 - debconf (18 0.5) debconf-2.0 (0 (null)) libc6 (2 2.4) libcomerr2 (2 1.33-3) libkrb53 (2 1.6.dfsg.2) libldap-2.4-2 (2 2.4.7) libncurses5 (2 5.6+20071006-3) libpam-modules (0 (null)) libpopt0 (2 1.10) libreadline5 (2 5.2) libuuid1 (0 (null)) ucf (0 (null)) samba (3 3.0.20b-1)
3.0.28a-1ubuntu4 - debconf (18 0.5) debconf-2.0 (0 (null)) libc6 (2 2.7-1) libcomerr2 (2 1.33-3) libkrb53 (2 1.6.dfsg.2) libldap-2.4-2 (2 2.4.7) libncurses5 (2 5.6+20071006-3) libpam-modules (0 (null)) libpopt0 (2 1.10) libreadline5 (2 5.2) libuuid1 (0 (null)) ucf (0 (null)) samba (3 3.0.20b-1)
Provides:
3.0.28a-1ubuntu4.4 -
3.0.28a-1ubuntu4 -
Reverse Provides:
======
** Affects: samba (Ubuntu)
Importance: Undecided
Status: New
** Tags: important severe
--
passwd does not work whith special smb.conf options (maybe a libpam-smbpass bug?)
https://bugs.launchpad.net/bugs/261952
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.
More information about the Ubuntu-server-bugs
mailing list