Move the manipulation of site_name into the caller function dsgetdcname().
commit181c11066bd53b07015a199f56eb71182e89ff71
authorJeremy Allison <jra@samba.org>
Tue, 3 Sep 2013 19:08:46 +0000 (3 12:08 -0700)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 3 Sep 2013 20:41:33 +0000 (4 08:41 +1200)
tree3dc9372f66a1b40a788560248d54ccbf092b4842
parent66006be7ef703b2935334633d27641050cee5f58
Move the manipulation of site_name into the caller function dsgetdcname().

Leave dsgetdcname_internal() only using const char *site_name.

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>
source3/libsmb/dsgetdcname.c