Move the retry logic when site_name is passed in a NULL or "" to the wrapper function.
commit3912eeb93f633c0511147c34205b0813748d273a
authorJeremy Allison <jra@samba.org>
Tue, 3 Sep 2013 19:20:52 +0000 (3 12:20 -0700)
committerKarolin Seeger <kseeger@samba.org>
Fri, 6 Sep 2013 08:53:20 +0000 (6 10:53 +0200)
treea38123c45ec37c62bbceeb8a20ffa8eda14ad50f
parent2d7fe2b9afed0e16a750f918eab30f017b4198fc
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)
source3/libsmb/dsgetdcname.c