r8259: We want to oset the provided flags not zero
authorSimo Sorce <idra@samba.org>
Sat, 9 Jul 2005 11:17:33 +0000 (11:17 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:19:27 +0000 (13:19 -0500)
(This used to be commit 50d8ccacca707738f131e47c739dcfacde1311e6)

source4/auth/auth_util.c

index 7835d69e2b421c50cf0ed10dc9525daa31dc7142..2c8787726b437c27437d88d390ad4ea0a743ce48 100644 (file)
@@ -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));