Move the retry logic when site_name is passed in a NULL or "" to the wrapper function.
commit585f5fd75f762827e120c487643d4b223a2a7f23
authorJeremy Allison <jra@samba.org>
Tue, 3 Sep 2013 19:20:52 +0000 (3 12:20 -0700)
committerKarolin Seeger <kseeger@samba.org>
Wed, 18 Sep 2013 08:41:23 +0000 (18 10:41 +0200)
treebd101956f012d9958c7977cc0c643b35ac6109e5
parent4a46c3fb1ec1ae65b08b443d1a9b7aa09f3dbbc8
Move the retry logic when site_name is passed in a NULL or "" to the wrapper function.

Bug 5917 - Samba does not work on site with Read Only Domain Controller

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Richard Sharpe <rsharpe@samba.org>
(cherry picked from commit 68e7b1c9446c7d1274b0fb85b59b90ac1a7f6041)
(cherry picked from commit f3d767ac0f6e3b07abf5672ae488ae57bc557677)
source3/libsmb/dsgetdcname.c