diff options
author | Günther Deschner <gd@samba.org> | 2010-08-26 17:21:39 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-09-20 14:05:07 -0700 |
commit | 102a70e809b262fca8ea09fbd4e2788511150006 (patch) | |
tree | 5df2b4daac9f93ec684947515b76fd0cb1cad2fb /source3/rpc_server/srv_netlog_nt.c | |
parent | 4dbd743e467096624961533335afccadc67af0e6 (diff) | |
download | samba-102a70e809b262fca8ea09fbd4e2788511150006.tar.gz samba-102a70e809b262fca8ea09fbd4e2788511150006.tar.bz2 samba-102a70e809b262fca8ea09fbd4e2788511150006.zip |
s3-util: use shared dom_sid_dup.
Guenther
Diffstat (limited to 'source3/rpc_server/srv_netlog_nt.c')
-rw-r--r-- | source3/rpc_server/srv_netlog_nt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_netlog_nt.c b/source3/rpc_server/srv_netlog_nt.c index 4b692b36fc..76da1d00d6 100644 --- a/source3/rpc_server/srv_netlog_nt.c +++ b/source3/rpc_server/srv_netlog_nt.c @@ -36,6 +36,7 @@ #include "../lib/crypto/md4.h" #include "rpc_client/init_lsa.h" #include "rpc_server/rpc_ncacn_np.h" +#include "../libcli/security/dom_sid.h" extern userdom_struct current_user_info; @@ -909,7 +910,7 @@ NTSTATUS _netr_ServerAuthenticate3(struct pipes_struct *p, goto out; } - creds->sid = sid_dup_talloc(creds, &sid); + creds->sid = dom_sid_dup(creds, &sid); if (!creds->sid) { status = NT_STATUS_NO_MEMORY; goto out; |