summaryrefslogtreecommitdiff
path: root/source3/libads/util.c
diff options
context:
space:
mode:
authorGerald (Jerry) Carter <jerry@samba.org>2009-01-16 12:06:49 -0600
committerGerald (Jerry) Carter <jerry@samba.org>2009-01-16 12:15:33 -0600
commit073e9f42f0c5f5de5d736ec7843d80a274c891ce (patch)
tree7879ef2288740dda7bb33e79f41f8254c523e6e8 /source3/libads/util.c
parent57f978d1712943f6c93e914e52a12a4cfb73aadd (diff)
downloadsamba-073e9f42f0c5f5de5d736ec7843d80a274c891ce.tar.gz
samba-073e9f42f0c5f5de5d736ec7843d80a274c891ce.tar.bz2
samba-073e9f42f0c5f5de5d736ec7843d80a274c891ce.zip
ads_connect: Return immediately on a failed GC connection.
ads_connect_gc() feeds an explicit server to ads_connect(). However, if the resulting connection fails, the latter function was attempting to find a DC on its own and continuing the connection. This resulting in GC searches being sent over a connection using port 389 which would fail when using the base search suffix outside of the domain naming context. The fix is to fail immediately in ads_connect() since the GC lookup ordering is handled already in ads_connect_gc().
Diffstat (limited to 'source3/libads/util.c')
0 files changed, 0 insertions, 0 deletions