autorid: remove a legacy comment from sid_to_id
authorMichael Adam <obnox@samba.org>
Fri, 11 Apr 2014 18:59:52 +0000 (20:59 +0200)
committerMichael Adam <obnox@samba.org>
Fri, 25 Apr 2014 13:35:08 +0000 (15:35 +0200)
With the introduction of the ID_TYPE_BOTH mapping
to idmap_autorid, it is not a deficiency but a
virtue of the autorid backend that it does not
care about the existence or type of the
sid to be mapped.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/winbindd/idmap_autorid.c

index a0262facb9058815ffb57e0a52d801f862689a7f..1617bbf66e33f13bd2eea8ba59fd4c750a7dfe91 100644 (file)
@@ -263,11 +263,6 @@ static NTSTATUS idmap_autorid_sid_to_id(struct autorid_global_config *global,
 
        map->xid.id = reduced_rid + range->low_id;
        map->xid.type = ID_TYPE_BOTH;
-
-       /* We **really** should have some way of validating
-          the SID exists and is the correct type here.  But
-          that is a deficiency in the idmap_rid design. */
-
        map->status = ID_MAPPED;
 
        return NT_STATUS_OK;