diff options
author | Gerald W. Carter <jerry@samba.org> | 2008-06-27 10:22:39 -0400 |
---|---|---|
committer | Gerald W. Carter <jerry@samba.org> | 2008-06-27 10:26:11 -0400 |
commit | 9ff1ffcbee46257c3b2b13b84c2a539322493190 (patch) | |
tree | 8cafc550e0378e56a44a89787fcfafa708d578e4 /source3/include/smb.h | |
parent | e08943f8d855b85765615b2a231fb65d5788a2a6 (diff) | |
download | samba-9ff1ffcbee46257c3b2b13b84c2a539322493190.tar.gz samba-9ff1ffcbee46257c3b2b13b84c2a539322493190.tar.xz samba-9ff1ffcbee46257c3b2b13b84c2a539322493190.zip |
libads: Add API call to connect to a global catalog server.
Extends ads_connect() to a new call ads_connect_gc() which connects on port
3268 rather than port 389. Also makes ads_try_connect() static and
only used internally to ldap.c
(This used to be commit f4c37dbe2c986fb7bfe510cdff3b4a9fbc06d079)
Diffstat (limited to 'source3/include/smb.h')
-rw-r--r-- | source3/include/smb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h index 7ae66f1cedb..7fcae51aa63 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -1847,6 +1847,7 @@ typedef struct _smb_iconv_t { #ifndef LDAP_PORT #define LDAP_PORT 389 #endif +#define LDAP_GC_PORT 3268 /* used by the IP comparison function */ struct ip_service { |