Optimization. Don't do the retry logic if sitename_fetch() returned NULL, we already...
commitf9c157cf6892e02e765a64601c4a286d8dadece4
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 10:51:05 +0000 (6 12:51 +0200)
tree0420838fcaa7e3a2c5bbac6d207c88b072d27406
parent70be15bdb448b9c6c8ec047ce6f6df4a696ce61e
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)

Autobuild-User(v4-0-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-0-test): Fri Sep  6 12:51:06 CEST 2013 on sn-devel-104
source3/libsmb/dsgetdcname.c