Bug 4332 - Error using multiple different password backends
Summary: Error using multiple different password backends
Status: RESOLVED WONTFIX
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Upgrade (show other bugs)
Version: 3.0.23d
Hardware: x86 Linux
: P3 critical
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-10 14:22 UTC by Fernando Lunardelli
Modified: 2007-01-10 14:24 UTC (History)
0 users

See Also:


Attachments

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 (dead mail address) 2007-01-10 14:24:07 UTC
please read the release notes.  This is an intended change.