[Samba] gidNumber 10000 for all groups after vampire

Chew, Darren darrenc at vicscouts.asn.au
Wed Dec 31 01:52:11 GMT 2003


Hi All,

setup: Solaris 9/Samba 3.0.1/smbldap-tools 0.8.2

If I run 'net rpc vampire', smbldap-groupadd.pl will run and for the first 
group Domain Admins and will say 'gave 0'. But for all subsequent groups 
the samba attributes are missing and the gidNumber is 10000 and will say 
'gave 7'.

LDIF:

dn: cn=Domain Admins,ou=Groups,dc=samba,dc=org
objectClass: posixGroup
objectClass: sambaGroupMapping
cn: Domain Admins
gidNumber: 10000
sambaSID: S-1-5-21-406913949-92942006-6498272-21001
sambaGroupType: 2

dn: cn=Domain Users,ou=Groups,dc=samba,dc=org
objectClass: posixGroup
cn: Domain Users
gidNumber: 10000 

net rpc vampire -d 4 -UAdministrator%password snippet:

[2003/12/31 12:27:17, 2] passdb/pdb_ldap.c:ldapsam_search_one_group(1636)
  ldapsam_search_one_group: searching 
for:[(&(objectClass=sambaGroupMapping)(sambaSID=S-1-5-21-406913949-92942006-6498272-512))]
[2003/12/31 12:27:17, 4] passdb/pdb_ldap.c:ldapsam_getgroup(1781)
  ldapsam_getgroup: Did not find group
[2003/12/31 12:27:18, 3] groupdb/mapping.c:smb_create_group(778)
  smb_create_group: Running the command 
`/opt/local/samba/sbin/smbldap-groupadd.pl -a "Domain Admins"' gave 0
[2003/12/31 12:27:18, 2] passdb/pdb_ldap.c:ldapsam_search_one_group(1636)
  ldapsam_search_one_group: searching 
for:[(&(objectClass=sambaGroupMapping)(sambaSID=S-1-5-21-406913949-92942006-6498272-513))]
[2003/12/31 12:27:18, 4] passdb/pdb_ldap.c:ldapsam_getgroup(1781)
  ldapsam_getgroup: Did not find group
Group SID already owned by
cn=Domain Admins,ou=Groups,dc=samba,dc=org
[2003/12/31 12:27:19, 3] groupdb/mapping.c:smb_create_group(778)
  smb_create_group: Running the command 
`/opt/local/samba/sbin/smbldap-groupadd.pl -a "Domain Users"' gave 7

I believe this is why my smbldap-useradd.pl script was crashing yesterday. 
Any help will be much appreciated. Thanks.

Darren



More information about the samba mailing list