summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-11-27 13:29:14 +0000
committerAndrew Tridgell <tridge@samba.org>2001-11-27 13:29:14 +0000
commit1bd3235744bebefa6ba09795438400b4674c165c (patch)
treea23a8ebbb045799d7eb9572d4429d674b04f377e
parent6e2c06a6e6173e68a75fd1adfaa73fe9a9210fef (diff)
downloadsamba-1bd3235744bebefa6ba09795438400b4674c165c.tar.gz
samba-1bd3235744bebefa6ba09795438400b4674c165c.tar.xz
samba-1bd3235744bebefa6ba09795438400b4674c165c.zip
fixed the panics on basicsmb-sharelist on sun1
-rw-r--r--source/auth/auth.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/auth/auth.c b/source/auth/auth.c
index a32d607e97e..fc5a88ad64a 100644
--- a/source/auth/auth.c
+++ b/source/auth/auth.c
@@ -75,7 +75,9 @@ NTSTATUS check_password(const auth_usersupplied_info *user_info,
DEBUG(3, ("check_password: mapped user is: [%s]\\[%s]@[%s]\n",
user_info->domain.str, user_info->internal_username.str, user_info->wksta_name.str));
- DEBUG(10, ("auth_info challenge created by %s\n", auth_info->challenge_set_by));
+ if (auth_info->challenge_set_by) {
+ DEBUG(10, ("auth_info challenge created by %s\n", auth_info->challenge_set_by));
+ }
DEBUG(10, ("challenge is: \n"));
dump_data(5, (auth_info)->challenge.data, (auth_info)->challenge.length);