CVS update: samba/source/passdb

Andrew Bartlett abartlet at
Tue Jul 1 01:15:29 GMT 2003

On Tue, 2003-07-01 at 06:45, jerry at wrote:
> Date:	Mon Jun 30 20:45:14 2003
> Author:	jerry
> Update of /data/cvs/samba/source/passdb
> In directory
> 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).

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'

Andrew Bartlett

Andrew Bartlett                                 abartlet at
Manager, Authentication Subsystems, Samba Team  abartlet at
Student Network Administrator, Hawker College   abartlet at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url :

More information about the samba-technical mailing list