[PATCH] pdb_ldap group

Stefan (metze) Metzmacher metze at metzemix.de
Fri Mar 21 07:51:46 GMT 2003


Hi Volker,

if 'displayName' is not available we should fallback to 'cn' for map->nt_name
'cn' is used as unix group name by nss_ldap.

and if nt_name is not available we should fail (so does this patch)
or
maybe we can use
pstrcpy(temp,gidtoname(map->gid))
fstrcpy(map->nt_name,temp)



metze
-----------------------------------------------------------------------------
Stefan "metze" Metzmacher <metze at metzemix.de> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pdb_ldap-group.diff
Type: application/octet-stream
Size: 1844 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20030321/add8be9b/pdb_ldap-group.obj


More information about the samba-technical mailing list