[Samba] net groupmap -> gidNumber=4294967295

andreas burger andreas.burger at agrl.ethz.ch
Thu Aug 19 08:56:21 GMT 2004


hello,

i still trying to deal with groups in a samba-pdc
i am now closer to my problem:
the net groupmap cant find the group about a wrong groupid.
i found similar errormessages by googling, but no answer, which
brings me to understand what exactly happens.

it follows a snipp from smb.conf, a snipp from the
debug-info i am getting.
my ldap has ous people, groups and Idmap
samba is 3.0.4 system is solaris 8

smb.conf:
passdb backend = ldapsam:ldaps://localhost
domain logons = yes
ldap admin dn = "cn=Manager,dc=agrl,dc=ethz"
ldap group suffix = ou=groups
ldap user suffix = ou=people
ldap machine suffix =
ldap suffix = dc=agrl,dc=ethz


debuginfo:
./net groupmap add -d 5 ntgroup="Domain Admins" unixgroup=domadm \
type=d rid=512
....

[2004/08/19 10:43:52, 5] lib/smbldap.c:smbldap_search(932)
   smbldap_search: base => [dc=agrl,dc=ethz], filter => 
[(&(objectClass=sambaIdma
pEntry)(gidNumber=4294967295))], scope => [2]

[2004/08/19 10:43:52, 5] lib/smbldap.c:smbldap_search(932)
   smbldap_search: base => [ou=groups,dc=agrl,dc=ethz], filter => 
[(&(objectClass
=sambaGroupMapping)(gidNumber=4294967295))], scope => [2]

[2004/08/19 10:43:52, 4] passdb/pdb_ldap.c:ldapsam_getgroup(1898)
   ldapsam_getgroup: Did not find group

[2004/08/19 10:43:52, 5] lib/smbldap.c:smbldap_search(932)
   smbldap_search: base => [ou=groups,dc=agrl,dc=ethz], filter => 
[(&(|(objectCla
ss=posixGroup)(objectclass=sambaIdmapEntry))(gidNumber=4294967295))], 
scope => [
2]

[2004/08/19 10:43:52, 5] lib/smbldap.c:smbldap_search(932)
   smbldap_search: base => [dc=agrl,dc=ethz], filter => 
[(&(objectClass=sambaIdma
pEntry)(gidNumber=4294967295))], scope => [2]

[2004/08/19 10:43:52, 5] lib/smbldap.c:smbldap_search(932)
   smbldap_search: base => [ou=groups,dc=agrl,dc=ethz], filter => 
[(&(objectClass
=sambaGroupMapping)(gidNumber=55001))], scope => [2]

[2004/08/19 10:43:52, 4] passdb/pdb_ldap.c:ldapsam_getgroup(1898)
   ldapsam_getgroup: Did not find group

[2004/08/19 10:43:52, 5] lib/smbldap.c:smbldap_search(932)
   smbldap_search: base => [ou=groups,dc=agrl,dc=ethz], filter => 
[(&(|(objectCla
ss=posixGroup)(objectclass=sambaIdmapEntry))(gidNumber=55001))], scope 
=> [2]

[2004/08/19 10:43:52, 5] lib/smbldap.c:smbldap_search(932)
   smbldap_search: base => [dc=agrl,dc=ethz], filter => 
[(&(objectClass=sambaIdma
pEntry)(gidNumber=55001))], scope => [2]
adding entry for group Domain Admins failed!

[2004/08/19 10:43:52, 2] utils/net.c:main(792)
   return code = -1

-- 
________________________________________________
Andreas Burger
Eidgenoessische Technische Hochschule Zuerich
Departement AgrL              ISG
LFW A2  8092 Zuerich          632 68 54
andreas.burger at agrl.ethz.ch
_________________________________________________


More information about the samba mailing list