diff options
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/sesssetup.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c index fcb778d1fe..3280e2d5fc 100644 --- a/source3/smbd/sesssetup.c +++ b/source3/smbd/sesssetup.c @@ -217,7 +217,9 @@ static int reply_spnego_kerberos(connection_struct *conn, if (pac_data) { logon_info = get_logon_info_from_pac(pac_data); - netsamlogon_cache_store( client, &logon_info->info3 ); + if (logon_info) { + netsamlogon_cache_store( client, &logon_info->info3 ); + } } if (!strequal(p+1, lp_realm())) { |