autorid: introduce idmap_autorid_domsid_is_for_alloc()
commit3f1297f363552083397c206d2dcb512e7a5e5f8e
authorMichael Adam <obnox@samba.org>
Fri, 11 Apr 2014 16:56:21 +0000 (11 18:56 +0200)
committerMichael Adam <obnox@samba.org>
Fri, 25 Apr 2014 13:35:09 +0000 (25 15:35 +0200)
treec5ac4c0584a061d79d8b5f1335c71c7aa4b6ec83
parenteaf770a61191bdc968510b7b216d62fd633ca163
autorid: introduce idmap_autorid_domsid_is_for_alloc()

Currently, this checks if the sid is a wellknown domain sid.
But the code reads more nicely and more domains might be added
in the future.

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