CVS update: samba/source/passdb

Jeremy Allison jra at samba.org
Tue Jul 1 01:30:15 GMT 2003


On Tue, Jul 01, 2003 at 11:15:23AM +1000, Andrew Bartlett wrote:
> On Tue, 2003-07-01 at 06:45, jerry at samba.org wrote:
> > Date:	Mon Jun 30 20:45:14 2003
> > Author:	jerry
> > 
> > Update of /data/cvs/samba/source/passdb
> > In directory dp.samba.org:/tmp/cvs-serv29095/passdb
> > 
> > Modified Files:
> >       Tag: SAMBA_3_0
> > 	passdb.c 
> 
> The change to get_global_sam_name() is *wrong*.
> 
> This is the name of our user database - it is normally the name of the
> local machine.  In particular, in a workgroup (ie, standalone server)
> situation, it *must* be that name of our local machine, not the
> workgroup (which is irrelevant to authentication).

Did you look at the change ? It returns the local name if we are
a standalone server.

> The same applies to the domain member - the *local* sam is named after
> the machine - the PDC carries the DOMAIN as it's sam, because multiple
> DCs of different names share the same SAM, and do not have a 'local'
> SAM.

This I'm not sure of (haven't tested Windows domain members myself)
but don't you think Jerry and Volker would have looked at and tested this ?

Jeremy.



More information about the samba-technical mailing list