[Samba] tdbsam and variables

John H Terpstra jht at Samba.Org
Tue Dec 14 01:54:52 GMT 2004


On Monday 13 December 2004 15:31, Marc Petitmermet wrote:
> > | First question: When "Home Directory" is not set in tdbsam
> > | does samba  just use the setting of "logon home" in smb.conf?
> > | And when it's set does  it ignore the smb.conf setting?
> >
> > You actually can't exlude these settings from the
> > tdbsam records IIRC.  I'd have to go back and look again
> > to be sure.  So the home directory path in the tdb record
> > would always take precedence over the smb.conf settings.
> > But like I say, I would have to double check this in the code.
>
> I would be really glad if you could check this. If what you say is true
> than the example "Big 500 Users Example" makes just no sense to me. The

Not quite! The smb.conf setting is used in creating the user account entry in 
tdbsam.

> example only uses a tdbsam backend and then the setting for logon home
> and logon path could just be removed because it's the  tdbsam which
> counts. And when we cannot use variables in tdbsam I begin to wonder
> what the advantages of a tdbsam backend against a smbpasswd file should
> be. Is this somewhere documented which backend supports variables and
> which backend supports the settings in smb.conf and since which version
> of samba? Thanks, Jerry.

- John T.
-- 
John H Terpstra
Samba-Team Member
Phone: +1 (650) 580-8668

Author:
The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556
Samba-3 by Example, ISBN: 0131472216
Hardening Linux, ISBN: 0072254971
Other books in production.


More information about the samba mailing list