mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +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:
parent
bfe1b6eee9
commit
e74b323a4e
@ -2692,12 +2692,13 @@ NTSTATUS internal_resolve_name(const char *name,
|
||||
* This will result in a SRV record lookup */
|
||||
status = resolve_ads(name, KDC_NAME_TYPE, sitename,
|
||||
return_iplist, return_count);
|
||||
if (NT_STATUS_IS_OK(status)) {
|
||||
/* Ensure we don't namecache
|
||||
* this with the KDC port. */
|
||||
name_type = KDC_NAME_TYPE;
|
||||
goto done;
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
continue;
|
||||
}
|
||||
/* Ensure we don't namecache
|
||||
* this with the KDC port. */
|
||||
name_type = KDC_NAME_TYPE;
|
||||
goto done;
|
||||
} else if(strequal( tok, "ads")) {
|
||||
/* deal with 0x1c and 0x1b names here.
|
||||
* This will result in a SRV record lookup */
|
||||
|
Loading…
Reference in New Issue
Block a user