libds: UF_PARTIAL_SECRETS_ACCOUNT is a flag, not an account type
authorAndrew Bartlett <abartlet@samba.org>
Wed, 10 Dec 2014 01:15:54 +0000 (14:15 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 22 Jan 2015 06:50:06 +0000 (07:50 +0100)
commit412b602314e1174824d86940eacd74fb76774aba
treeec673aac2051cc2f193bc6e39f4f125e63cddce2
parent7e41bcf3053e147a6511071bd61f45db8e055165
libds: UF_PARTIAL_SECRETS_ACCOUNT is a flag, not an account type

This list should only be of the account exclusive account type bits.

Note, this corrects the behaviour in samldb modifies of
userAccountControl.

This reverts 6cb91a8f33516a33210a25e4019f3f3fbbfe61f2

Bug: https://bugzilla.samba.org/show_bug.cgi?id=10993

Pair-programmed-with: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
libds/common/flags.h
source4/dsdb/samdb/ldb_modules/samldb.c