From 4ccdb15532ef707dea44e2c7316e2a3334abab86 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 22 Oct 2001 06:48:35 +0000 Subject: a quick fix to get rpcclient working again. This just disables NTLMSSP in cli_establish_connection() What we really need to do is kill off the pwd_cache code. It is horrible, and assumes the challenge comes in the negprot reply. (This used to be commit 3f919b4360b3bfcc133f7d88bc5177e9d93f2db2) --- source3/lib/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/lib/util.c') diff --git a/source3/lib/util.c b/source3/lib/util.c index 90bb462d0e..61da9eb230 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -1938,7 +1938,7 @@ DATA_BLOB data_blob(void *p, size_t length) { DATA_BLOB ret; - if (!p) { + if (!p || !length) { ZERO_STRUCT(ret); return ret; } -- cgit