svn commit: samba r2630 - in branches/SAMBA_4_0/source/utils: .
tridge at samba.org
tridge at samba.org
Sat Sep 25 12:30:11 GMT 2004
Author: tridge
Date: 2004-09-25 12:30:10 +0000 (Sat, 25 Sep 2004)
New Revision: 2630
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/utils&rev=2630&nolog=1
Log:
I missed a couple of places in the gensec talloc conversion
Modified:
branches/SAMBA_4_0/source/utils/ntlm_auth.c
Changeset:
Modified: branches/SAMBA_4_0/source/utils/ntlm_auth.c
===================================================================
--- branches/SAMBA_4_0/source/utils/ntlm_auth.c 2004-09-25 12:08:57 UTC (rev 2629)
+++ branches/SAMBA_4_0/source/utils/ntlm_auth.c 2004-09-25 12:30:10 UTC (rev 2630)
@@ -222,7 +222,7 @@
if (strncmp(buf, "PW ", 3) == 0) {
- (*gensec_state)->password_callback_private = talloc_strndup((*gensec_state)->mem_ctx,
+ (*gensec_state)->password_callback_private = talloc_strndup((*gensec_state),
(const char *)in.data, in.length);
if ((*gensec_state)->password_callback_private == NULL) {
@@ -368,7 +368,7 @@
if (strncmp(buf, "PW ", 3) == 0) {
if (!NT_STATUS_IS_OK(gensec_set_password(*gensec_state,
- talloc_strndup((*gensec_state)->mem_ctx,
+ talloc_strndup((*gensec_state),
(const char *)in.data,
in.length)))) {
DEBUG(1, ("Out of memory\n"));
@@ -430,7 +430,7 @@
} else {
reply_code = "AF";
- reply_arg = talloc_asprintf((*gensec_state)->mem_ctx,
+ reply_arg = talloc_asprintf(*gensec_state,
"%s%s%s", session_info->server_info->domain,
lp_winbind_separator(), session_info->server_info->account_name);
talloc_destroy(session_info->mem_ctx);
More information about the samba-cvs
mailing list