The Samba 3.0.0.0beta3 build on our RedHat server is working only after a: cp /etc/samba/smbpasswd /usr/local/samba/private/ The build is made by a simple: ./configure make make install (with no additional options) A "strace -f" on the smbd deamon, showed that smdb wanted information from the /usr/local/samba/private/smbpasswd, while the "smbpasswd" command updated the /etc/samba/smbpasswd file.
Are absolutely certain that you are *not* using the default system-supplied smpbasswd command? Volker
In summary wrote: "smbadduser and smbd NOT using same smbpasswd" In description wrote: "A "strace -f" on the smbd deamon, showed that smdb wanted information from the /usr/local/samba/private/smbpasswd, while the "smbpasswd" command updated the /etc/samba/smbpasswd file." Which program you use? smbadduser or smbpasswd? In case of smbadduser, edit them with favorite text editor to set correct path to smbpasswd (password database file, not to smbpasswd program!) in "set passwd" parameter
source/smbadduser needs to be updated to use the $(privatedir) and $(sysconfdir) variables from autoconf.
Fixed by calling AC_OUTPUT() on smbadduser
forgot to mark it as fixed
originally reported against 3.0.0beta3. CLeaning out non-production release versions.
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.
database cleanup