Skip to content

Commit 0a6726f

Browse files
cryptomilkBjoern Jacke
authored andcommitted
s3:libads: Set NT_STATUS_UNSUCCESSFUL for IP address entry
This is what we do in libads/ldap.c too. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15975 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Pavel Filipenský <pfilipensky@samba.org> (cherry picked from commit 9e1bcf8) Autobuild-User(v4-24-test): Björn Jacke <bjacke@samba.org> Autobuild-Date(v4-24-test): Sat Feb 7 16:14:24 UTC 2026 on atb-devel-224
1 parent 0dd9253 commit 0a6726f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

source3/libads/kerberos.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1264,7 +1264,10 @@ static char *get_kdc_ip_string(char *mem_ctx,
12641264
cldap_reply->pdc_dns_name);
12651265
if (has_entry) {
12661266
/* propagate blacklisting from name to ip */
1267-
add_failed_connection_entry(realm, addr, status);
1267+
add_failed_connection_entry(
1268+
realm,
1269+
addr,
1270+
NT_STATUS_UNSUCCESSFUL);
12681271
continue;
12691272
}
12701273
}

0 commit comments

Comments
 (0)