summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2002-01-09 07:52:51 +0000
committerMartin Pool <mbp@samba.org>2002-01-09 07:52:51 +0000
commitf5bc0e92a66b418b2bd8f3669a9642b4d46bc8d1 (patch)
tree69f22209798728e027da50295b642ae53ab57e2c /source3/rpc_server
parenta8389eaeb575bcba33bd7d4fd378b342ba4e552a (diff)
downloadsamba-f5bc0e92a66b418b2bd8f3669a9642b4d46bc8d1.tar.gz
samba-f5bc0e92a66b418b2bd8f3669a9642b4d46bc8d1.tar.bz2
samba-f5bc0e92a66b418b2bd8f3669a9642b4d46bc8d1.zip
Better explanation message for dmalloc.
Also more insertion of parenthesis to handle struct members called 'free'. You can now get useful dmalloc output, as long as it is compatible with your C library. On RH7.1 it looks like you have to rebuild dmalloc to allow free(0) by default, because something in libcrypt does that. (sigh) (This used to be commit 391cbb690196537c8b6292b42c2e27408cc7e249)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_netlog_nt.c4
-rw-r--r--source3/rpc_server/srv_pipe.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/rpc_server/srv_netlog_nt.c b/source3/rpc_server/srv_netlog_nt.c
index fbab46022c..a07ebc9a3f 100644
--- a/source3/rpc_server/srv_netlog_nt.c
+++ b/source3/rpc_server/srv_netlog_nt.c
@@ -585,7 +585,7 @@ NTSTATUS _net_sam_logon(pipes_struct *p, NET_Q_SAM_LOGON *q_u, NET_R_SAM_LOGON *
} else {
status = auth_context->check_ntlm_password(auth_context, user_info, &server_info);
}
- auth_context->free(&auth_context);
+ (auth_context->free)(&auth_context);
break;
}
@@ -614,7 +614,7 @@ NTSTATUS _net_sam_logon(pipes_struct *p, NET_Q_SAM_LOGON *q_u, NET_R_SAM_LOGON *
status = auth_context->check_ntlm_password(auth_context, user_info, &server_info);
}
- auth_context->free(&auth_context);
+ (auth_context->free)(&auth_context);
break;
}
diff --git a/source3/rpc_server/srv_pipe.c b/source3/rpc_server/srv_pipe.c
index 36ca7e0686..a38b86f826 100644
--- a/source3/rpc_server/srv_pipe.c
+++ b/source3/rpc_server/srv_pipe.c
@@ -357,7 +357,7 @@ static BOOL api_pipe_ntlmssp_verify(pipes_struct *p, RPC_AUTH_NTLMSSP_RESP *ntlm
nt_status = auth_context->check_ntlm_password(auth_context, user_info, &server_info);
- auth_context->free(&auth_context);
+ (auth_context->free)(&auth_context);
free_user_info(&user_info);
p->ntlmssp_auth_validated = NT_STATUS_IS_OK(nt_status);