[Samba] pam_smbpass broken in Samba 3 ?

U. Dettmer udettmer at gmx.net
Tue Aug 19 11:30:50 GMT 2003


Hi,
i have recently compiled Samba 3 RC1 on SuSE 8.2 with these options:

./configure --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin 
--sbindir=/usr/sbin --libdir=/usr/lib --sysconfdir=/etc 
--mandir=/usr/man --infodir=/usr/info --localstatedir=/var/log 
--with-configdir=/etc/samba --with-privatedir=/etc/samba 
--with-lockdir=/var/lock/samba --with-swatdir=/usr/lib/samba/swat 
--with-sambabook=/usr/lib/samba/swat/using_samba 
--with-codepagedir=/usr/lib/samba/codepages --with-smbwrapper 
--with-automount --with-smbmount --with-pam --with-pam_smbpass 
--with-ldap --with-ldapsam --with-syslog --with-profiling-data 
--with-quotas --with-libsmbclient --with-acl-support 
--with-sendfile-support --with-winbind --with-ads

Samba works fine with LDAP / eDirectory 8.7 as backend, but when I try 
to change a users password with passwd I get this message:

# passwd user
Changing password for user.
passwd: Module is unknown

That is what /var/log/messages tells me:

Aug 19 13:08:42 herkules passwd[15551]: PAM unable to 
dlopen(/lib/security/pam_s
mbpass.so)
Aug 19 13:08:42 herkules passwd[15551]: PAM [dlerror: 
/lib/security/pam_smbpass.
so: undefined symbol: attrib_map_v30]
Aug 19 13:08:42 herkules passwd[15551]: PAM adding faulty module: 
/lib/security/
pam_smbpass.so
Aug 19 13:08:42 herkules passwd[15551]: User root: Module is unknown

This is my /etc/pam.d/passwd, which worked with pam_smbpass from Samba 
2.2.8a:

password required       pam_unix2.so    nullok use_first_pass use_authtok
password required       pam_smbpass.so    use_authtok use_first_pass 
audit migrate smbconf=/etc/samba/smb.conf

Does anyone have the same problem ? I really depend on password 
sychronisation with passwd.
Thanks !

Ulf Dettmer





More information about the samba mailing list