summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2000-07-18 05:13:44 +0000
committerGerald Carter <jerry@samba.org>2000-07-18 05:13:44 +0000
commit2de59a3bea1c2369f6aef82bfe0d4b31d25ec519 (patch)
tree737be1520c6273efffc70b672955f450d558e629 /source3
parent695e596446950f315d973cb4920461fba6d6f53f (diff)
downloadsamba-2de59a3bea1c2369f6aef82bfe0d4b31d25ec519.tar.gz
samba-2de59a3bea1c2369f6aef82bfe0d4b31d25ec519.tar.bz2
samba-2de59a3bea1c2369f6aef82bfe0d4b31d25ec519.zip
fixed a bug (my own) in create_ntc_from_cli_state()
--jerry (This used to be commit f7bc6df3befb8d0981dbd96f353039a5913321d7)
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_parse/parse_creds.c4
1 files 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;