CVS update: samba/source/passdb

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


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).

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.

Andrew Bartlett

-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net
-------------- 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 : http://lists.samba.org/archive/samba-technical/attachments/20030701/0f1a6ba1/attachment.bin


More information about the samba-technical mailing list