]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:libads: Do not fail if we don't get an IP passed down
authorAndreas Schneider <asn@samba.org>
Tue, 28 May 2024 11:53:51 +0000 (13:53 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 4 Jun 2024 19:49:36 +0000 (19:49 +0000)
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 <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/libads/kerberos.c

index ae11b2987f219f6dbc3a6bd60a412a030659c162..72ce5b7bb348d78b83681a7f0eed6e0c8caeb3bf 100644 (file)
@@ -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;
        }