CVS update: samba/source/passdb

Simo Sorce simo.sorce at xsec.it
Wed May 7 19:22:25 EST 2003


I found a lot of problems with the way this is used.
I have already found to things to verify once my group rewrite is done:
One of this is exactly the use of the misues of the domain sid in many
places where we should use the machine SID instead.

Simo.

On Wed, 2003-05-07 at 10:21, abartlet at samba.org wrote:
> Date:	Wed May  7 08:21:06 2003
> Author:	abartlet
> 
> Update of /home/cvs/samba/source/passdb
> In directory dp.samba.org:/tmp/cvs-serv24605/passdb
> 
> Modified Files:
>       Tag: SAMBA_3_0
> 	passdb.c pdb_ldap.c pdb_smbpasswd.c 
> Log Message:
> Set our 'global sam name' in one place.  For domain controllers, this is
> lp_workgroup(), for all other server this is global_myname().
> 
> This is the name of the domain for accounts on *this* system, and getting
> this wrong caused interesting bugs with 'take ownership' on member servers
> and standalone servers at Snap.
> 
> (They lookup the username that they got, then convert that to a SID - but
> becouse the domain out of the smbpasswd entry was wrong, we would fail the
> lookup).
> 
> Andrew Bartlett
> 
> 
> Revisions:
> passdb.c		1.151.2.17 => 1.151.2.18
> 	http://www.samba.org/cgi-bin/cvsweb/samba/source/passdb/passdb.c?r1=1.151.2.17&r2=1.151.2.18
> pdb_ldap.c		1.28.2.47 => 1.28.2.48
> 	http://www.samba.org/cgi-bin/cvsweb/samba/source/passdb/pdb_ldap.c?r1=1.28.2.47&r2=1.28.2.48
> pdb_smbpasswd.c		1.40.2.11 => 1.40.2.12
> 	http://www.samba.org/cgi-bin/cvsweb/samba/source/passdb/pdb_smbpasswd.c?r1=1.40.2.11&r2=1.40.2.12
-- 
Simo Sorce - simo.sorce at xsec.it
Xsec s.r.l. - http://www.xsec.it
via Durando 10 Ed. G - 20158 - Milano
mobile: +39 329 328 7702
tel. +39 02 2399 7130 - fax: +39 02 700 442 399
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-cvs/attachments/20030507/99e156f4/attachment.bin


More information about the samba-cvs mailing list