From 2de59a3bea1c2369f6aef82bfe0d4b31d25ec519 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Tue, 18 Jul 2000 05:13:44 +0000 Subject: fixed a bug (my own) in create_ntc_from_cli_state() --jerry (This used to be commit f7bc6df3befb8d0981dbd96f353039a5913321d7) --- source3/rpc_parse/parse_creds.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/rpc_parse/parse_creds.c b/source3/rpc_parse/parse_creds.c index 672b9f28e0..9ffc5d7a69 100644 --- a/source3/rpc_parse/parse_creds.c +++ b/source3/rpc_parse/parse_creds.c @@ -434,7 +434,7 @@ void create_ntc_from_cli_state (CREDS_NT *to, const struct cli_state *cli_from) */ if (cli_from == NULL) { - copy_nt_creds (to, cli_from); + copy_nt_creds (to, NULL); return; } @@ -607,7 +607,7 @@ BOOL create_user_creds( prs_struct *ps, const char* name, uint16 version, uint16 command, uint32 pid, - const struct user_creds *usr) + struct user_creds *usr) { CREDS_CMD cmd; -- cgit