s3-dsgetdcname: add dsgetonedcname()
commit7a9972943a45a803950eb322449f8f88066cec16
authorGünther Deschner <gd@samba.org>
Tue, 16 Feb 2021 15:11:14 +0000 (16 16:11 +0100)
committerGünther Deschner <gd@samba.org>
Wed, 14 Jul 2021 16:49:30 +0000 (14 16:49 +0000)
tree975f7c59bd4751a66e7a8d8ab697b90f7f3a6e0f
parentde3296203914df6240e146aa114ef2e1ae3d6315
s3-dsgetdcname: add dsgetonedcname()

The idea is to run the same DC validation steps as for dsgetdcname()
just omit the query list of DCs via DNS/netbios step but instead
validate a given DC right away.

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
source3/libsmb/dsgetdcname.c
source3/libsmb/dsgetdcname.h