summaryrefslogtreecommitdiffstats
path: root/source3/auth
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
commit40203ea0fcd96c9d9fc070bb5a04977012263f22 (patch)
tree98341c5eb8c0455d01ce2c5a0271b6620dabc263 /source3/auth
parent7527ec3ffd1aa4ec0bb7f99e0b40676e32391391 (diff)
downloadsamba-40203ea0fcd96c9d9fc070bb5a04977012263f22.tar.gz
samba-40203ea0fcd96c9d9fc070bb5a04977012263f22.tar.xz
samba-40203ea0fcd96c9d9fc070bb5a04977012263f22.zip
fixed the panics on basicsmb-sharelist on sun1
(This used to be commit 1bd3235744bebefa6ba09795438400b4674c165c)
Diffstat (limited to 'source3/auth')
-rw-r--r--source3/auth/auth.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/auth/auth.c b/source3/auth/auth.c
index a32d607e97e..fc5a88ad64a 100644
--- a/source3/auth/auth.c
+++ b/source3/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);