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

Jeremy Allison jra at samba.org
Fri Feb 27 10:29:03 MST 2009


On Thu, Feb 26, 2009 at 06:24:22PM +0800, boyang wrote:
> 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.

Looks like obvious goodness to me, thanks !

Jeremy.


More information about the samba-technical mailing list