aboutsummaryrefslogtreecommitdiffstats
path: root/packet-ldap.c
diff options
context:
space:
mode:
authortpot <tpot@f5534014-38df-0310-8fa8-9805f1628bb7>2003-07-03 01:52:11 +0000
committertpot <tpot@f5534014-38df-0310-8fa8-9805f1628bb7>2003-07-03 01:52:11 +0000
commit100f5759b1e8c711b1354ead30bdee7eef8149dd (patch)
tree78d552e629da06b5ecbde531996691eee7ea673c /packet-ldap.c
parent1bcd2304be2f82648780b0862b0a4c509bd19b03 (diff)
The Windows 2000 global catalog is LDAP on TCP port 3268, as per IANA assigned
port numbers document. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7961 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-ldap.c')
-rw-r--r--packet-ldap.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/packet-ldap.c b/packet-ldap.c
index 1e690fa5da..6fc3ec787c 100644
--- a/packet-ldap.c
+++ b/packet-ldap.c
@@ -3,7 +3,7 @@
*
* See RFC 1777 (LDAP v2), RFC 2251 (LDAP v3), and RFC 2222 (SASL).
*
- * $Id: packet-ldap.c,v 1.57 2003/07/02 04:03:27 tpot Exp $
+ * $Id: packet-ldap.c,v 1.58 2003/07/03 01:52:11 tpot Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -124,6 +124,7 @@ static gboolean ldap_desegment = TRUE;
#define TCP_PORT_LDAP 389
#define UDP_PORT_CLDAP 389
+#define TCP_PORT_GLOBALCAT_LDAP 3268 /* Windows 2000 Global Catalog */
static dissector_handle_t gssapi_handle;
static dissector_handle_t gssapi_wrap_handle;
@@ -2227,6 +2228,7 @@ proto_reg_handoff_ldap(void)
ldap_handle = create_dissector_handle(dissect_ldap, proto_ldap);
dissector_add("tcp.port", TCP_PORT_LDAP, ldap_handle);
+ dissector_add("tcp.port", TCP_PORT_GLOBALCAT_LDAP, ldap_handle);
dissector_add("udp.port", UDP_PORT_CLDAP, ldap_handle);
gssapi_handle = find_dissector("gssapi");