Optimization. Don't do the retry logic if sitename_fetch() returned NULL, we already...
commitcfa4e2a8ae97b02a112c132f2154c22a9fc53314
authorJeremy Allison <jra@samba.org>
Tue, 3 Sep 2013 21:07:43 +0000 (3 14:07 -0700)
committerKarolin Seeger <kseeger@samba.org>
Fri, 6 Sep 2013 08:53:29 +0000 (6 10:53 +0200)
tree5b6ab489a14b7fd39c34e844340ee5ac7a679f42
parent3912eeb93f633c0511147c34205b0813748d273a
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