svn commit: samba r8251 - in branches/SAMBA_4_0/source/auth: .
tridge at samba.org
tridge at samba.org
Sat Jul 9 02:03:34 GMT 2005
Author: tridge
Date: 2005-07-09 02:03:34 +0000 (Sat, 09 Jul 2005)
New Revision: 8251
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8251
Log:
fixed a couple of valgrind errors in the unix auth code. Simo, can you
please check that this is what you intended?
Modified:
branches/SAMBA_4_0/source/auth/auth_unix.c
branches/SAMBA_4_0/source/auth/auth_util.c
Changeset:
Modified: branches/SAMBA_4_0/source/auth/auth_unix.c
===================================================================
--- branches/SAMBA_4_0/source/auth/auth_unix.c 2005-07-09 01:58:38 UTC (rev 8250)
+++ branches/SAMBA_4_0/source/auth/auth_unix.c 2005-07-09 02:03:34 UTC (rev 8251)
@@ -784,7 +784,7 @@
return nt_status;
}
- nt_status = authunix_make_server_info(check_ctx, user_info, server_info);
+ nt_status = authunix_make_server_info(mem_ctx, user_info, server_info);
if ( ! NT_STATUS_IS_OK(nt_status)) {
talloc_free(check_ctx);
return nt_status;
Modified: branches/SAMBA_4_0/source/auth/auth_util.c
===================================================================
--- branches/SAMBA_4_0/source/auth/auth_util.c 2005-07-09 01:58:38 UTC (rev 8250)
+++ branches/SAMBA_4_0/source/auth/auth_util.c 2005-07-09 02:03:34 UTC (rev 8251)
@@ -125,6 +125,7 @@
user_info->plaintext_password = blob;
user_info->encrypted = encrypted;
+ user_info->flags = 0;
DEBUG(10,("made an %sencrypted user_info for %s (%s)\n", encrypted ? "":"un" , account_name, c_account_name));
More information about the samba-cvs
mailing list