s4:dsdb/acl: reorganize the logic flow in the password filtering checks
commited8b27516b212b59167bb932de949a7b54dc44cb
authorStefan Metzmacher <metze@samba.org>
Fri, 9 Nov 2012 10:23:47 +0000 (9 11:23 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 11 Nov 2012 22:42:26 +0000 (12 09:42 +1100)
tree99e30a0ad7a24b59abf54bd7541f8c56ca4d4a29
parent54ad5c70e3cc731c872913841cbcd2ef29ec0e54
s4:dsdb/acl: reorganize the logic flow in the password filtering checks

This avoids some nesting levels and does early returns.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/samdb/ldb_modules/acl.c