There some small changes in Samba 2.2.x PDC code for fake groups "Domain Admins/Users/Guests" to work. There also found bug in source/rpc_server/srv_samr_nt.c @@ -227,7 +227,7 @@ static_map[0].gid = (gid_t)-1; sid_copy(&static_map[0].sid, &global_sam_sid); - sid_append_rid(&static_map[1].sid, DOMAIN_GROUP_RID_ADMINS); + sid_append_rid(&static_map[0].sid, DOMAIN_GROUP_RID_ADMINS); static_map[0].sid_name_use = SID_NAME_DOM_GRP; fstrcpy(static_map[0].nt_name, "Domain Admins"); fstrcpy(static_map[0].comment, "Administrators for the domain"); So before "Domains Admins" had bad domain sid. Full patches are there http://www.mif.vu.lt/~rolnas/samba/. I use them half year without problems. Rolandas Naujikas P.S. The code in source/passdb/passdb.c was before SAMBA_2_2_2(?) but gone.
Gerald (Jerry) Carter
2002-Aug-14 20:46 UTC
[Samba] Samba 2.2.x PDC code small corrections
On Sat, 10 Aug 2002 rolnas@takas.lt wrote:> Full patches are there http://www.mif.vu.lt/~rolnas/samba/. > I use them half year without problems.These look fine. Thanks. I'm applying them to SAMBA_2_2 cvs code now. cheers, jerry --------------------------------------------------------------------- Hewlett-Packard http://www.hp.com SAMBA Team http://www.samba.org -- http://www.plainjoe.org "Sam's Teach Yourself Samba in 24 Hours" 2ed. ISBN 0-672-32269-2 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--