[PATCH] init id_map's status in idmap_ldap to avoid surprise.

boyang boyang at suse.de
Thu Feb 26 03:24:22 MST 2009


Hi, everyone:
     We'd better init id_map's status to ID_UNKNOWN before performing
search to avoid surprise. Otherwise, If the SID doesn't exists and the
id_map->status happens to be ID_MAPPED, then SID which is not mapped are
taken as mapped.  Please correct me if I am wrong.
    
     Patch in attachment for master, please review it.

Thanks!
Best
     Regards
BoYang
-------------- next part --------------
A non-text attachment was scrubbed...
Name: init-idmap-status-master.diff
Type: text/x-patch
Size: 925 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20090226/93841fc5/init-idmap-status-master.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: boyang.vcf
Type: text/x-vcard
Size: 187 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20090226/93841fc5/boyang.vcf


More information about the samba-technical mailing list