summaryrefslogtreecommitdiffstats
path: root/source3/winbindd
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2014-04-11 20:59:52 +0200
committerMichael Adam <obnox@samba.org>2014-04-25 15:35:08 +0200
commit840813793ab974b1acb1ca803188f18e87ae4dbb (patch)
tree6f82a232a95d7e87b29c5e0da656a415b9c20261 /source3/winbindd
parent1eeb4bc0ffb7b470c255ca8888a752122d551d1d (diff)
downloadsamba-840813793ab974b1acb1ca803188f18e87ae4dbb.tar.gz
samba-840813793ab974b1acb1ca803188f18e87ae4dbb.tar.xz
samba-840813793ab974b1acb1ca803188f18e87ae4dbb.zip
autorid: remove a legacy comment from sid_to_id
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>
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/idmap_autorid.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source3/winbindd/idmap_autorid.c b/source3/winbindd/idmap_autorid.c
index a0262facb90..1617bbf66e3 100644
--- a/source3/winbindd/idmap_autorid.c
+++ b/source3/winbindd/idmap_autorid.c
@@ -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;