Kevin Broderick
2011-Sep-12 18:19 UTC
[Samba] passdb backend issue: setting other than 'smbpasswd' does not work
I'm currently running the samba3x packages on Centos 5.6. I recently switched to them from the SERnet Samba 3.3 packages to Centos Samba3x packages (smbd now reports Version 3.5.4-0.70.el5_6.1). At the same time, I switched to ldapsam as a backend. Everything seemed to be working fine until I tried to change a user's password with smbpasswd (as root). smbpasswd did not report any errors, and pdbedit shows the "last update" for that password to match when I ran smbpasswd. However, the updated password does not work to log in with smbclient. I then switched to tdbsam, assuming that I had screwed up part of the ldap setup. I saw the same issues. Switching to the smbpasswd backend has everything working, but I'd rather hoped to switch everything over to LDAP so I can integrate some of our other systems in one directory. I can pull logs, but I'm not sure which logs and debugging levels are most useful?there were no error messages even with the loglevel set to 5 during the smbpasswd run, and the access rejection comes up as NT_STATUS_WRONG_PASSWORD. It *seems* like smbd is reading from smbpasswd regardless of the passdb backend setting and that the smbpasswd utility is updating the correct backend based on the smb.conf setting. I did run a "service smbd reload" each time I changed the config file. Any suggestions? Kevin T. Broderick IT & Communications Coordinator KILLINGTON MOUNTAIN SCHOOL E: kbroderick at killingtonmountainschool.org P: 802-422-5671 F: 802-422-5678
Seemingly Similar Threads
- Printing trouble with Windows XP clients; Windows 7 and Mac client work fine
- CESA-2011:0306 Important CentOS 5 x86_64 samba3x Update
- CESA-2011:0306 Important CentOS 5 i386 samba3x Update
- s3 winbind loosing kerbers ticket
- NTLM auth fails after upgrade to centos 5.6