From aeea749548f691fa870a1c0668495973849a235b Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnther=20Deschner?= Date: Thu, 9 Mar 2006 11:01:43 +0000 Subject: [PATCH] r14062: Forgot those in the uint16/32 acb_info switch. Guenther (This used to be commit 0167b6cca80492d8a076da0497d24089f78587dc) --- source3/utils/pdbedit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/utils/pdbedit.c b/source3/utils/pdbedit.c index 471b8988776..d34c23193cd 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"); -- 2.11.4.GIT