diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-11-27 13:29:14 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-11-27 13:29:14 +0000 |
commit | 40203ea0fcd96c9d9fc070bb5a04977012263f22 (patch) | |
tree | 98341c5eb8c0455d01ce2c5a0271b6620dabc263 /source3/auth/auth.c | |
parent | 7527ec3ffd1aa4ec0bb7f99e0b40676e32391391 (diff) | |
download | samba-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/auth.c')
-rw-r--r-- | source3/auth/auth.c | 4 |
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); |