[Samba] Samb and Ldap groups
kris at longhill.brighton-hove.sch.uk
Thu Apr 10 09:33:49 GMT 2003
After some carefully editing of pdb_ldap.c I have managed to get a list of groups from the LDAP directory if you are root or anyother user. :-)
The problem now is if you run the command (from win2k) net group it /domain (where 'it' is the group name) or try to open a group in user manager you do not get any listing of uers in that group. The error in windows is "Group name could not be found"
In the samba log files I get
[2003/04/10 08:33:41, 2] passdb/pdb_ldap.c:ldapsam_search_one_user(695)
ldapsam_search_one_user: searching for:[(&(uid=it)(objectclass=sambaAccount))]
[2003/04/10 08:33:41, 2] passdb/pdb_ldap.c:ldapsam_search_one_group(2234)
ldapsam_search_one_group: searching for:[(&(objectClass=sambaGroupMapping)(|(displayName=it)(cn=it)))]
[2003/04/10 08:33:41, 2] passdb/pdb_ldap.c:init_group_from_ldap(2270)
Entry found for group: 212
So it appeas that samba has found the group but is not passing the contents back to the client.
Has anyone got any thoughts/suggestions on this??
More information about the samba