Hi list. I have just tried to build samba (3.0 Alpha23) with the tdbsam module enabled. #./configure --with-tdbsam # make # make install The resulting binaries do not appear to have the tdb support enabled. Should this have worked or is it broken? With thanks donb
On Thu, 8 May 2003, Don Browne wrote:> Hi list. > > I have just tried to build samba (3.0 Alpha23) with the tdbsam module > enabled. > > #./configure --with-tdbsam > # make > # make install > > The resulting binaries do not appear to have the tdb support enabled. > > Should this have worked or is it broken?What is in your smb.conf file? - John T. -- John H Terpstra Email: jht@samba.org
The smb.conf has : [global] netbios name = PRISVR workgroup = TESTDOM os level = 64 preferred master = yes domain master = yes local master = yes security = user passdb backend = tdbsam encrypt passwords = yes domain logons = yes logon path = \\%N\profiles\%u logon drive = H: #logon home = \\homeserver\%u logon home = \\%N\smbhome\%u logon script = logon.cmd [other share setups etc..] ... eof The result from smbpasswd is: Netbios name list:- my_netbios_names[0]="PRISVR" New SMB password: Retype new SMB password: Trying to load: tdbsam Attempting to find an passdb backend to match tdbsam (tdbsam) Found pdb backend tdbsam (at pos 2) tdbsam not compiled in! pdb backend tdbsam did not correctly init (error was NT_STATUS_UNSUCCESSFUL) Loading tdbsam failed! Failed to find entry for user root. Failed to modify password entry for user root Thanks donb ----- Original Message ----- From: "John H Terpstra" <jht@samba.org> To: "Don Browne" <donb@zedlynx.com.au> Cc: <samba@lists.samba.org> Sent: Thursday, May 08, 2003 1:55 PM Subject: Re: [Samba] Alpha3_23 --with-tdbsam> On Thu, 8 May 2003, Don Browne wrote: > > > Hi list. > > > > I have just tried to build samba (3.0 Alpha23) with the tdbsam module > > enabled. > > > > #./configure --with-tdbsam > > # make > > # make install > > > > The resulting binaries do not appear to have the tdb support enabled. > > > > Should this have worked or is it broken? > > What is in your smb.conf file? > > > - John T. > -- > John H Terpstra > Email: jht@samba.org
Don, Please try the following change and let me know how it goes. - John T. On Thu, 8 May 2003, Don Browne wrote:> The smb.conf has : > > [global] > netbios name = PRISVR > workgroup = TESTDOM > os level = 64 > preferred master = yes > domain master = yes > local master = yes > security = user > passdb backend = tdbsampassdb = tdbsam, guest> encrypt passwords = yes > domain logons = yes > > logon path = \\%N\profiles\%u > > logon drive = H: > #logon home = \\homeserver\%u > logon home = \\%N\smbhome\%u > logon script = logon.cmd > > [other share setups etc..] ... > eof > > The result from smbpasswd is: > > Netbios name list:- > my_netbios_names[0]="PRISVR" > New SMB password: > Retype new SMB password: > Trying to load: tdbsam > Attempting to find an passdb backend to match tdbsam (tdbsam) > Found pdb backend tdbsam (at pos 2) > tdbsam not compiled in! > pdb backend tdbsam did not correctly init (error was NT_STATUS_UNSUCCESSFUL) > Loading tdbsam failed! > Failed to find entry for user root. > Failed to modify password entry for user root > > Thanks > > donb > > > ----- Original Message ----- > From: "John H Terpstra" <jht@samba.org> > To: "Don Browne" <donb@zedlynx.com.au> > Cc: <samba@lists.samba.org> > Sent: Thursday, May 08, 2003 1:55 PM > Subject: Re: [Samba] Alpha3_23 --with-tdbsam > > > > On Thu, 8 May 2003, Don Browne wrote: > > > > > Hi list. > > > > > > I have just tried to build samba (3.0 Alpha23) with the tdbsam module > > > enabled. > > > > > > #./configure --with-tdbsam > > > # make > > > # make install > > > > > > The resulting binaries do not appear to have the tdb support enabled. > > > > > > Should this have worked or is it broken? > > > > What is in your smb.conf file? > > > > > > - John T. > > -- > > John H Terpstra > > Email: jht@samba.org >-- John H Terpstra Email: jht@samba.org
John, Same result after change in smb.conf and restart of services. donb ----- Original Message ----- From: "John H Terpstra" <jht@samba.org> To: "Don Browne" <donb@zedlynx.com.au> Cc: <samba@lists.samba.org> Sent: Thursday, May 08, 2003 2:22 PM Subject: Re: [Samba] Alpha3_23 --with-tdbsam> Don, > > Please try the following change and let me know how it goes. > > - John T. > > On Thu, 8 May 2003, Don Browne wrote: > > > The smb.conf has : > > > > [global] > > netbios name = PRISVR > > workgroup = TESTDOM > > os level = 64 > > preferred master = yes > > domain master = yes > > local master = yes > > security = user > > passdb backend = tdbsam > > passdb = tdbsam, guest > > > encrypt passwords = yes > > domain logons = yes > > > > logon path = \\%N\profiles\%u > > > > logon drive = H: > > #logon home = \\homeserver\%u > > logon home = \\%N\smbhome\%u > > logon script = logon.cmd > > > > [other share setups etc..] ... > > eof > > > > The result from smbpasswd is: > > > > Netbios name list:- > > my_netbios_names[0]="PRISVR" > > New SMB password: > > Retype new SMB password: > > Trying to load: tdbsam > > Attempting to find an passdb backend to match tdbsam (tdbsam) > > Found pdb backend tdbsam (at pos 2) > > tdbsam not compiled in! > > pdb backend tdbsam did not correctly init (error wasNT_STATUS_UNSUCCESSFUL)> > Loading tdbsam failed! > > Failed to find entry for user root. > > Failed to modify password entry for user root > > > > Thanks > > > > donb > > > > > > ----- Original Message ----- > > From: "John H Terpstra" <jht@samba.org> > > To: "Don Browne" <donb@zedlynx.com.au> > > Cc: <samba@lists.samba.org> > > Sent: Thursday, May 08, 2003 1:55 PM > > Subject: Re: [Samba] Alpha3_23 --with-tdbsam > > > > > > > On Thu, 8 May 2003, Don Browne wrote: > > > > > > > Hi list. > > > > > > > > I have just tried to build samba (3.0 Alpha23) with the tdbsammodule> > > > enabled. > > > > > > > > #./configure --with-tdbsam > > > > # make > > > > # make install > > > > > > > > The resulting binaries do not appear to have the tdb supportenabled.> > > > > > > > Should this have worked or is it broken? > > > > > > What is in your smb.conf file? > > > > > > > > > - John T. > > > -- > > > John H Terpstra > > > Email: jht@samba.org > > > > -- > John H Terpstra > Email: jht@samba.org
John, The config.log file shows the invocation command line having the --with-tdbsam A search of the the file for the string "tdb" fails other than the aforementioned line. The config.h include file has the WITH_TBD_SAM #define in it. yet the message from smbpasswd "tdbsam not compiled in!" indicates that the define was not visible during the compile (source/passdb/pdb_tdb.c at end of file). Platform: Red Hat 8.0 Thanks donb ----- Original Message ----- From: "John H Terpstra" <jht@samba.org> To: "Don Browne" <donb@zedlynx.com.au> Cc: <samba@lists.samba.org> Sent: Thursday, May 08, 2003 2:56 PM Subject: Re: [Samba] Alpha3_23 --with-tdbsam> Don, > > What does it say in the config.log file where you built samba? > > What is your platform? > > - John T. > > On Thu, 8 May 2003, Don Browne wrote: > > > John, > > > > Same result after change in smb.conf and restart of services. > > > > donb > > > > ----- Original Message ----- > > From: "John H Terpstra" <jht@samba.org> > > To: "Don Browne" <donb@zedlynx.com.au> > > Cc: <samba@lists.samba.org> > > Sent: Thursday, May 08, 2003 2:22 PM > > Subject: Re: [Samba] Alpha3_23 --with-tdbsam > > > > > > > Don, > > > > > > Please try the following change and let me know how it goes. > > > > > > - John T. > > > > > > On Thu, 8 May 2003, Don Browne wrote: > > > > > > > The smb.conf has : > > > > > > > > [global] > > > > netbios name = PRISVR > > > > workgroup = TESTDOM > > > > os level = 64 > > > > preferred master = yes > > > > domain master = yes > > > > local master = yes > > > > security = user > > > > passdb backend = tdbsam > > > > > > passdb = tdbsam, guest > > > > > > > encrypt passwords = yes > > > > domain logons = yes > > > > > > > > logon path = \\%N\profiles\%u > > > > > > > > logon drive = H: > > > > #logon home = \\homeserver\%u > > > > logon home = \\%N\smbhome\%u > > > > logon script = logon.cmd > > > > > > > > [other share setups etc..] ... > > > > eof > > > > > > > > The result from smbpasswd is: > > > > > > > > Netbios name list:- > > > > my_netbios_names[0]="PRISVR" > > > > New SMB password: > > > > Retype new SMB password: > > > > Trying to load: tdbsam > > > > Attempting to find an passdb backend to match tdbsam (tdbsam) > > > > Found pdb backend tdbsam (at pos 2) > > > > tdbsam not compiled in! > > > > pdb backend tdbsam did not correctly init (error was > > NT_STATUS_UNSUCCESSFUL) > > > > Loading tdbsam failed! > > > > Failed to find entry for user root. > > > > Failed to modify password entry for user root > > > > > > > > Thanks > > > > > > > > donb > > > > > > > > > > > > ----- Original Message ----- > > > > From: "John H Terpstra" <jht@samba.org> > > > > To: "Don Browne" <donb@zedlynx.com.au> > > > > Cc: <samba@lists.samba.org> > > > > Sent: Thursday, May 08, 2003 1:55 PM > > > > Subject: Re: [Samba] Alpha3_23 --with-tdbsam > > > > > > > > > > > > > On Thu, 8 May 2003, Don Browne wrote: > > > > > > > > > > > Hi list. > > > > > > > > > > > > I have just tried to build samba (3.0 Alpha23) with the tdbsam > > module > > > > > > enabled. > > > > > > > > > > > > #./configure --with-tdbsam > > > > > > # make > > > > > > # make install > > > > > > > > > > > > The resulting binaries do not appear to have the tdb support > > enabled. > > > > > > > > > > > > Should this have worked or is it broken? > > > > > > > > > > What is in your smb.conf file? > > > > > > > > > > > > > > > - John T. > > > > > -- > > > > > John H Terpstra > > > > > Email: jht@samba.org > > > > > > > > > > -- > > > John H Terpstra > > > Email: jht@samba.org > > > > -- > John H Terpstra > Email: jht@samba.org
Don, My glitch in the smb.conf change, should be: passdb backend = tdbsam, guest It might be worth either waiting for samba-3.0Beta1 or using current SAMBA_3_0 CVS. A lot has been fixed _AND_ changed since the version you are trying to use. - John T. On Thu, 8 May 2003, Don Browne wrote:> John, > > The config.log file shows the invocation command line having > the --with-tdbsam > A search of the the file for the string "tdb" fails other than the > aforementioned line. > > The config.h include file has the WITH_TBD_SAM #define in it. > yet the message from smbpasswd "tdbsam not compiled in!" indicates that the > define was not visible during the compile (source/passdb/pdb_tdb.c at end of > file). > > Platform: Red Hat 8.0 > > Thanks > > donb > > ----- Original Message ----- > From: "John H Terpstra" <jht@samba.org> > To: "Don Browne" <donb@zedlynx.com.au> > Cc: <samba@lists.samba.org> > Sent: Thursday, May 08, 2003 2:56 PM > Subject: Re: [Samba] Alpha3_23 --with-tdbsam > > > > Don, > > > > What does it say in the config.log file where you built samba? > > > > What is your platform? > > > > - John T. > > > > On Thu, 8 May 2003, Don Browne wrote: > > > > > John, > > > > > > Same result after change in smb.conf and restart of services. > > > > > > donb > > > > > > ----- Original Message ----- > > > From: "John H Terpstra" <jht@samba.org> > > > To: "Don Browne" <donb@zedlynx.com.au> > > > Cc: <samba@lists.samba.org> > > > Sent: Thursday, May 08, 2003 2:22 PM > > > Subject: Re: [Samba] Alpha3_23 --with-tdbsam > > > > > > > > > > Don, > > > > > > > > Please try the following change and let me know how it goes. > > > > > > > > - John T. > > > > > > > > On Thu, 8 May 2003, Don Browne wrote: > > > > > > > > > The smb.conf has : > > > > > > > > > > [global] > > > > > netbios name = PRISVR > > > > > workgroup = TESTDOM > > > > > os level = 64 > > > > > preferred master = yes > > > > > domain master = yes > > > > > local master = yes > > > > > security = user > > > > > passdb backend = tdbsam > > > > > > > > passdb = tdbsam, guest > > > > > > > > > encrypt passwords = yes > > > > > domain logons = yes > > > > > > > > > > logon path = \\%N\profiles\%u > > > > > > > > > > logon drive = H: > > > > > #logon home = \\homeserver\%u > > > > > logon home = \\%N\smbhome\%u > > > > > logon script = logon.cmd > > > > > > > > > > [other share setups etc..] ... > > > > > eof > > > > > > > > > > The result from smbpasswd is: > > > > > > > > > > Netbios name list:- > > > > > my_netbios_names[0]="PRISVR" > > > > > New SMB password: > > > > > Retype new SMB password: > > > > > Trying to load: tdbsam > > > > > Attempting to find an passdb backend to match tdbsam (tdbsam) > > > > > Found pdb backend tdbsam (at pos 2) > > > > > tdbsam not compiled in! > > > > > pdb backend tdbsam did not correctly init (error was > > > NT_STATUS_UNSUCCESSFUL) > > > > > Loading tdbsam failed! > > > > > Failed to find entry for user root. > > > > > Failed to modify password entry for user root > > > > > > > > > > Thanks > > > > > > > > > > donb > > > > > > > > > > > > > > > ----- Original Message ----- > > > > > From: "John H Terpstra" <jht@samba.org> > > > > > To: "Don Browne" <donb@zedlynx.com.au> > > > > > Cc: <samba@lists.samba.org> > > > > > Sent: Thursday, May 08, 2003 1:55 PM > > > > > Subject: Re: [Samba] Alpha3_23 --with-tdbsam > > > > > > > > > > > > > > > > On Thu, 8 May 2003, Don Browne wrote: > > > > > > > > > > > > > Hi list. > > > > > > > > > > > > > > I have just tried to build samba (3.0 Alpha23) with the tdbsam > > > module > > > > > > > enabled. > > > > > > > > > > > > > > #./configure --with-tdbsam > > > > > > > # make > > > > > > > # make install > > > > > > > > > > > > > > The resulting binaries do not appear to have the tdb support > > > enabled. > > > > > > > > > > > > > > Should this have worked or is it broken? > > > > > > > > > > > > What is in your smb.conf file? > > > > > > > > > > > > > > > > > > - John T. > > > > > > -- > > > > > > John H Terpstra > > > > > > Email: jht@samba.org > > > > > > > > > > > > > -- > > > > John H Terpstra > > > > Email: jht@samba.org > > > > > > > -- > > John H Terpstra > > Email: jht@samba.org >-- John H Terpstra Email: jht@samba.org