summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-03-09 11:01:43 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:11:09 -0500
commitaeea749548f691fa870a1c0668495973849a235b (patch)
tree193ea664380ebed8a485b604f9a70c9514d0f70d
parentfc5a7fe064e2c5f4747f28ee0a0ff9a7f0c6b071 (diff)
downloadsamba-aeea749548f691fa870a1c0668495973849a235b.tar.gz
samba-aeea749548f691fa870a1c0668495973849a235b.tar.bz2
samba-aeea749548f691fa870a1c0668495973849a235b.zip
r14062: Forgot those in the uint16/32 acb_info switch.
Guenther (This used to be commit 0167b6cca80492d8a076da0497d24089f78587dc)
-rw-r--r--source3/utils/pdbedit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/pdbedit.c b/source3/utils/pdbedit.c
index 471b898877..d34c23193c 100644
--- a/source3/utils/pdbedit.c
+++ b/source3/utils/pdbedit.c
@@ -338,10 +338,10 @@ static int set_user_info (struct pdb_methods *in, const char *username,
pdb_set_domain(sam_pwent, user_domain, PDB_CHANGED);
if (account_control) {
- uint16 not_settable = ~(ACB_DISABLED|ACB_HOMDIRREQ|ACB_PWNOTREQ|
+ uint32 not_settable = ~(ACB_DISABLED|ACB_HOMDIRREQ|ACB_PWNOTREQ|
ACB_PWNOEXP|ACB_AUTOLOCK);
- uint16 newflag = pdb_decode_acct_ctrl(account_control);
+ uint32 newflag = pdb_decode_acct_ctrl(account_control);
if (newflag & not_settable) {
fprintf(stderr, "Can only set [NDHLX] flags\n");