Optimization. Don't do the retry logic if sitename_fetch() returned NULL, we already...
authorJeremy Allison <jra@samba.org>
Tue, 3 Sep 2013 21:07:43 +0000 (14:07 -0700)
committerKarolin Seeger <kseeger@samba.org>
Fri, 6 Sep 2013 08:54:03 +0000 (10:54 +0200)
commit66b9ebd961efe91b87156abf1bb5e1b8f2b87c38
tree71ba7f104bd22570703abd563749faac35e8145b
parentf3d767ac0f6e3b07abf5672ae488ae57bc557677
Optimization. Don't do the retry logic if sitename_fetch() returned NULL, we already did a NULL query.

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>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Sep  4 01:19:05 CEST 2013 on sn-devel-104

(cherry picked from commit bdab6f9431715fbfd28f8cc0dfb4dde2966f22f3)
source3/libsmb/dsgetdcname.c