diff options
author | Simo Sorce <idra@samba.org> | 2005-07-09 11:17:33 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:19:27 -0500 |
commit | 3b03ccb2f76d69ba763c9b202215beda62323388 (patch) | |
tree | 0f03c67e399e4b5c311ff43b013946f3faab82b1 /source4 | |
parent | bb8362986571b931c7a69fa0d4d97354ff5bba4f (diff) | |
download | samba-3b03ccb2f76d69ba763c9b202215beda62323388.tar.gz samba-3b03ccb2f76d69ba763c9b202215beda62323388.tar.bz2 samba-3b03ccb2f76d69ba763c9b202215beda62323388.zip |
r8259: We want to oset the provided flags not zero
(This used to be commit 50d8ccacca707738f131e47c739dcfacde1311e6)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/auth/auth_util.c | 2 |
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)); |