Move the retry logic when site_name is passed in a NULL or "" to the wrapper function.
authorJeremy Allison <jra@samba.org>
Tue, 3 Sep 2013 19:20:52 +0000 (12:20 -0700)
committerKarolin Seeger <kseeger@samba.org>
Fri, 6 Sep 2013 08:54:03 +0000 (10:54 +0200)
commitf3d767ac0f6e3b07abf5672ae488ae57bc557677
tree93cbe4482c5efb3ad2e161b1441fb5cb1be62e1b
parentc968f9cb46b44a4d1b257a89381898d16086ae26
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