mirror of
https://github.com/samba-team/samba.git
synced 2025-09-09 01:44:21 +03:00
s3: libsmb: Cleanup - change to early continue in internal_resolve_name() for KDC resolve_ads().
No logic change. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Isaac Boukris <iboukris@samba.org>
This commit is contained in:
committed by
Isaac Boukris
parent
bfe1b6eee9
commit
e74b323a4e
@@ -2692,12 +2692,13 @@ NTSTATUS internal_resolve_name(const char *name,
|
|||||||
* This will result in a SRV record lookup */
|
* This will result in a SRV record lookup */
|
||||||
status = resolve_ads(name, KDC_NAME_TYPE, sitename,
|
status = resolve_ads(name, KDC_NAME_TYPE, sitename,
|
||||||
return_iplist, return_count);
|
return_iplist, return_count);
|
||||||
if (NT_STATUS_IS_OK(status)) {
|
if (!NT_STATUS_IS_OK(status)) {
|
||||||
/* Ensure we don't namecache
|
continue;
|
||||||
* this with the KDC port. */
|
|
||||||
name_type = KDC_NAME_TYPE;
|
|
||||||
goto done;
|
|
||||||
}
|
}
|
||||||
|
/* Ensure we don't namecache
|
||||||
|
* this with the KDC port. */
|
||||||
|
name_type = KDC_NAME_TYPE;
|
||||||
|
goto done;
|
||||||
} else if(strequal( tok, "ads")) {
|
} else if(strequal( tok, "ads")) {
|
||||||
/* deal with 0x1c and 0x1b names here.
|
/* deal with 0x1c and 0x1b names here.
|
||||||
* This will result in a SRV record lookup */
|
* This will result in a SRV record lookup */
|
||||||
|
Reference in New Issue
Block a user