Bug 4332 - Error using multiple different password backends
Error using multiple different password backends
Product: Samba 3.0
Classification: Unclassified
Component: Upgrade
x86 Linux
: P3 critical
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2007-01-10 14:22 UTC by Fernando Lunardelli
Modified: 2007-01-10 14:24 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Fernando Lunardelli 2007-01-10 14:22:08 UTC
My configuration use multiples different backends.

passdb backend = tdbsam:/etc/samba/passdb.tdb ldapsam:ldap://localhost
In samba version 3.0.23d-6-1083-SUSE-SL10.2 it doesnt work but in old version  (3.0.7-SUSE) everything fine.

server:~ # smbpasswd -D 10 -a myuser
tdb(unnamed): tdb_open_ex: could not open file /etc/samba/passdb.tdb ldapsam:ldap://localhost: No such file or directory
tdbsam_open: Failed to open/create TDB passwd [/etc/samba/passdb.tdb ldapsam:ldap://localhost]
tdbsam_getsampwnam: failed to open /etc/samba/passdb.tdb ldapsam:ldap://localhost!
Failed to add entry for user myuser.
Failed to modify password entry for user myuser

The entry "tdbsam:/etc/samba/passdb.tdb ldapsam:ldap://localhost" are treated like a single file!!
Comment 1 Gerald (Jerry) Carter 2007-01-10 14:24:07 UTC
please read the release notes.  This is an intended change.