From: Andreas Schneider Date: Tue, 28 May 2024 11:53:51 +0000 (+0200) Subject: s3:libads: Do not fail if we don't get an IP passed down X-Git-Tag: tdb-1.4.11~472 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9dcc52d2a57314ec9ddaae82b3c49da051d1f1d2;p=thirdparty%2Fsamba.git s3:libads: Do not fail if we don't get an IP passed down The IP should be optional and we should look it up if not provided. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15653 Signed-off-by: Andreas Schneider Reviewed-by: Andrew Bartlett --- diff --git a/source3/libads/kerberos.c b/source3/libads/kerberos.c index ae11b2987f2..72ce5b7bb34 100644 --- a/source3/libads/kerberos.c +++ b/source3/libads/kerberos.c @@ -712,7 +712,7 @@ bool create_local_private_krb5_conf_for_domain(const char *realm, return false; } - if (domain == NULL || pss == NULL) { + if (domain == NULL) { return false; }