Move the retry logic when site_name is passed in a NULL or "" to the wrapper function.
commit70be15bdb448b9c6c8ec047ce6f6df4a696ce61e
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:50 +0000 (6 10:53 +0200)
tree821b30fd752bd608435464b3fa846178f42b9b91
parent9930f28a3cf94bdbeb11f551926c105f27c1c12e
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