summaryrefslogtreecommitdiff
path: root/source3/libads
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libads')
-rw-r--r--source3/libads/kerberos.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/libads/kerberos.c b/source3/libads/kerberos.c
index 96d194dc31..bb74305059 100644
--- a/source3/libads/kerberos.c
+++ b/source3/libads/kerberos.c
@@ -839,6 +839,10 @@ bool create_local_private_krb5_conf_for_domain(const char *realm,
return false;
}
+ if (!realm || !domain || !pss || !kdc_name) {
+ return false;
+ }
+
dname = lock_path("smb_krb5");
if (!dname) {
return false;