s4-ldb: improve detection of whether the server has a GC port
commitd5387edb88ce29ad1a6f864415c19486a20269af
authorAndrew Tridgell <tridge@samba.org>
Fri, 27 Nov 2009 03:20:47 +0000 (27 14:20 +1100)
committerAndrew Tridgell <tridge@samba.org>
Fri, 27 Nov 2009 05:05:06 +0000 (27 16:05 +1100)
tree2b1914186b98b184530b600a193a8d7c580b6fad
parent7ea485a1d20c1bf41926ebb4b0ae8f37a2d909f7
s4-ldb: improve detection of whether the server has a GC port

We were trying to open $SERVER:3268 regardless, which could result in
creating a file called "localdc1:3268", which led to subsequent test
failures
source4/lib/ldb/tests/python/ldap.py