Hi, With samba v3.0.23pre1, I get the following error when I try to connect on a share : [2006/05/05 15:35:36, 0] passdb/pdb_tdb.c:tdbsam_open(816) tdbsam_open: Failed to open/create TDB passwd [/opt/samba/etc/passdb.tdb ldapsam:ldap://localhost] [2006/05/05 15:35:36, 0] passdb/pdb_tdb.c:tdbsam_getsampwnam(1030) tdbsam_getsampwnam: failed to open /opt/samba/etc/passdb.tdb ldapsam:ldap://localhost! This worked with samba v3.0.22 The setting in smb.conf is : passdb backend = tdbsam:/opt/samba/etc/passdb.tdb ldapsam:ldap://localhost Is there a new "passdb backend" setting from v3.0.23 ? Mike
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 maimic@free.fr wrote:> Hi, > > With samba v3.0.23pre1, I get the following error when > I try to connect on a share : > > [2006/05/05 15:35:36, 0] passdb/pdb_tdb.c:tdbsam_open(816) > tdbsam_open: Failed to open/create TDB passwd [/opt/samba/etc/passdb.tdb > ldapsam:ldap://localhost] > [2006/05/05 15:35:36, 0] passdb/pdb_tdb.c:tdbsam_getsampwnam(1030) > tdbsam_getsampwnam: failed to open /opt/samba/etc/passdb.tdb > ldapsam:ldap://localhost! > > This worked with samba v3.0.22 > > The setting in smb.conf is : > passdb backend = tdbsam:/opt/samba/etc/passdb.tdb ldapsam:ldap://localhostSupport for chaining passdb backends has been removed. I posted about a month or so ago this before making the change. cheers, jerry ====================================================================Samba ------- http://www.samba.org Centeris ----------- http://www.centeris.com "What man is a man who does not make the world better?" --Balian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFEW14jIR7qMdg1EfYRAmTBAKCAoNCzQ9XvN4M3FLQpoP1+9nqQ6ACeO484 L7Lw5P8jwnB0mgs+0lfsXZo=ae+U -----END PGP SIGNATURE-----
Gerald (Jerry) Carter wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > maimic@free.fr wrote: > >> Hi, >> >> With samba v3.0.23pre1, I get the following error when >> I try to connect on a share : >> >> [2006/05/05 15:35:36, 0] passdb/pdb_tdb.c:tdbsam_open(816) >> tdbsam_open: Failed to open/create TDB passwd [/opt/samba/etc/passdb.tdb >> ldapsam:ldap://localhost] >> [2006/05/05 15:35:36, 0] passdb/pdb_tdb.c:tdbsam_getsampwnam(1030) >> tdbsam_getsampwnam: failed to open /opt/samba/etc/passdb.tdb >> ldapsam:ldap://localhost! >> >> This worked with samba v3.0.22 >> >> The setting in smb.conf is : >> passdb backend = tdbsam:/opt/samba/etc/passdb.tdb ldapsam:ldap://localhost >> > > Support for chaining passdb backends has been removed. > I posted about a month or so ago this before making the > change. >Is there any other way to duplicate this functionality? I have a feeling this one is going to hurt as far as removing the ability to migrate a population of users over to a new passdb backend. Seems it would all have to be done in one fell swoop with the new behavior. -- ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - User Support Spec. III |$&| |__| | | |__/ | \| _| | novosirj@umdnj.edu - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.| IST/AST - NJMS Medical Science Bldg - C630
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ryan Novosielski wrote:> Is there any other way to duplicate this functionality? I > have a feeling this one is going to hurt as far as removing > the ability to migrate a population of users over to > a new passdb backend. Seems it would all have to be done > in one fell swoop with the new behavior.Someone outside of Samba was working on a pdb_multi. But IMO it is best to migrate all at once. cheers, jerry ====================================================================Samba ------- http://www.samba.org Centeris ----------- http://www.centeris.com "What man is a man who does not make the world better?" --Balian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFEZBKBIR7qMdg1EfYRApD7AKDIzpZLkme835ntkZsaHKGpbOcBsgCgqgwr 3shFCigxAX5DsLSHwjK4auI=xF4h -----END PGP SIGNATURE-----
On Fri, May 12, 2006 at 12:52:59AM -0400, Ryan Novosielski wrote:> Is there any other way to duplicate this functionality? I have a feeling > this one is going to hurt as far as removing the ability to migrate a > population of users over to a new passdb backend. Seems it would all > have to be done in one fell swoop with the new behavior.In examples/LDAP/convertSambaAccount you find a perl script to convert your LDAP database. Volker -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20060512/9e383836/attachment.bin
On Fri, May 12, 2006 at 08:58:53AM +0200, Volker Lendecke wrote:> In examples/LDAP/convertSambaAccount you find a perl script > to convert your LDAP database.oops, wrong thread ;-) Volker -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20060512/1e0fdbd3/attachment.bin
Pdb_multi is part of the pdb_sql project on sourceforge. but there is no speed in the development.. Cheers Collen> Someone outside of Samba was working on a pdb_multi. > But IMO it is best to migrate all at once. > >