summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/auth_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/auth_util.c b/source4/auth/auth_util.c
index 7835d69e2b..2c8787726b 100644
--- a/source4/auth/auth_util.c
+++ b/source4/auth/auth_util.c
@@ -125,7 +125,7 @@ NTSTATUS make_user_info(TALLOC_CTX *mem_ctx,
user_info->plaintext_password = blob;
user_info->encrypted = encrypted;
- user_info->flags = 0;
+ user_info->flags = flags;
DEBUG(10,("made an %sencrypted user_info for %s (%s)\n", encrypted ? "":"un" , account_name, c_account_name));