aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ldap.c
AgeCommit message (Collapse)AuthorFilesLines
2008-08-06From Gary Reynolds:Anders Broman1-71/+471
Extended the cldap desector to include all the current netlogon response data types. Expanded the cldap netlogon ntver option to be a bit mask of the search flags Updated the DS flags fields to include Windows 2008 options. svn path=/trunk/; revision=25942
2008-08-01From Yaniv Kaul:Anders Broman1-6/+7
( I edited the template files) Failure to dissect long SASL wrapped LDAP response. svn path=/trunk/; revision=25890
2008-04-07From Jim Young:Stig Bjørlykke1-3/+3
Attached is a patch to the ldap_reinit() function to fix bug 2407. This particular bug was triggered by the order of steps used to walk and free the nodes of the ldap_info_items list. This should go into the next 1.0 release. svn path=/trunk/; revision=24838
2008-03-17There are several g_malloc()'d things hanging off ldasp_conv_info_t's so ↵Jeff Morriss1-5/+11
don't se_ alloc that structure but rather g_malloc() it and free it after we've freed the contents. This fixes the LDAP part of the crash from http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1113 svn path=/trunk/; revision=24664
2008-03-16Fix LDAP crash (on certain platforms) from ↵Jeff Morriss1-86/+102
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1613 : if the string is NULL pass "(null)" in instead (that's the behavior we get on Linux anyway). svn path=/trunk/; revision=24660
2008-01-261) Support for configurable LDAP over SSL portGraeme Lunt1-91/+294
2) Support for RFC 3909 - cancelRequest extendedOperation 3) Support for RFC 3062 - passwordModify extendedOperation 4) Column information for ExtendedRequest, SearchResultRef and AbandonRequest 5) Column information for multiple LDAP operations in the same packet (uses " | " separator) svn path=/trunk/; revision=24195
2008-01-16- Removed some unused variables in asn1 dissectorsStig Bjørlykke1-43/+42
- Fixed last parameter to cry_cipher_open() in pkcs12 svn path=/trunk/; revision=24116
2008-01-13Basic support for the LDAP start_tls extended operation and fix to match up ↵Graeme Lunt1-50/+128
extended operation arguments and results. svn path=/trunk/; revision=24076
2008-01-04Get rid of dissect_ber_boolean_value() and change the signature ofAnders Broman1-2/+2
dissect_ber_boolean() to return a value and update asn2wrs to generate the new signature. Regenerate all BER dissectors. svn path=/trunk/; revision=24015
2008-01-04Get rid of ber_last_created_item().Anders Broman1-45/+42
svn path=/trunk/; revision=24008
2007-12-06fix field attributes handling for tagged typesTomas Kukosa1-2/+2
regenerate involved dissectors svn path=/trunk/; revision=23783
2007-12-04Support for RPCAP features in GUI (from Boris Misenov, see Bug 1366)Tomas Kukosa1-1/+1
- retrieving the list of remote PCAP interfaces - password authentication support - UDP data fransfer - packet sampling (available in WinPcap 4.x) etc. fix problem if non-default rpcap port is used svn path=/trunk/; revision=23750
2007-11-15new ldap dissectorRonnie Sahlberg1-34/+41
svn path=/trunk/; revision=23459
2007-11-04LDAP with -TAnders Broman1-115/+243
svn path=/trunk/; revision=23353
2007-11-01LDAP wasn't 'fixed' to handle -T option...Anders Broman1-251/+211
svn path=/trunk/; revision=23335
2007-11-01Get rid of most of the legacy oid stuff.Anders Broman1-1/+1
svn path=/trunk/; revision=23333
2007-11-01Change:Anders Broman1-1/+1
get_oid_str_name() -> oid_resolved_from_string() get_oid_name() -> oid_resolved_from_encoded() svn path=/trunk/; revision=23331
2007-10-31Use oid_add_from_string for adding names.Anders Broman1-254/+293
fix compil of gsmmap and inap. Note xcopy of gsmmap does not work(rename packet-gsm_map -> packet-gsmmap ?) svn path=/trunk/; revision=23325
2007-09-25Fix:Anders Broman1-4/+3
packet-ldap-template.c(1330) : error C2220: warning treated as error - no object file generated packet-ldap-template.c(1330) : warning C4101: 'gss_len' : unreferenced local var iable NMAKE : fatal error U1077: 'cl' : svn path=/trunk/; revision=22956
2007-09-25only set ldap_info->first_auth_frame to 0 first time we see the Ronnie Sahlberg1-48/+49
authentication packet or else we will get inconsistent dissection when clicking on packets. (inconsistent as in : a certain packet might/might not be dissected as LDAP/SASL depending on which packets we clicked on previously) svn path=/trunk/; revision=22949
2007-09-25not all SASL protected blobs use a GSS wrapper for the payload so we Ronnie Sahlberg1-21/+24
cant check that the payload starts with BER tag 0x60 and an oid. instead check that the length byte (first 4 bytes) look sane and if SASL authentication has been negotiated on the connection also, sometimes clients will mix both non-SASL and SASL protected LDAP traffic on the same tcp connection by initially performing simple unauthenticated searches on the database before performing the Bind. svn path=/trunk/; revision=22948
2007-09-25add support for yet another random combination of authentication Ronnie Sahlberg1-29/+38
wrappers that can be used when connecting with sasl svn path=/trunk/; revision=22945
2007-08-25get users of oid_resolv to use the new oids, rollout packet-snmp.cLuis Ontanon1-1/+1
svn path=/trunk/; revision=22651
2007-08-24get_ber_length doesn't need the tree argument, get rid of it.Jörg Mayer1-5/+5
Rebuild asn1 dissectors. svn path=/trunk/; revision=22627
2007-08-15Convert a couple tvb_get_string()'s into tvb_get_ephemeral_string(). In the ↵Jeff Morriss1-3/+3
one remaining use of tvb_get_string(), g_free the old entry if the pointer is *not* NULL. svn path=/trunk/; revision=22518
2007-06-24remove some compiler warning due to unused pinfo parameterRonnie Sahlberg1-16/+30
a SASL encapsulated ldap blob can contain more than one LDAP message so the rest_is_pad parameter is bogus and thus removed. make dissect_ldap_pdu handle when we have more than one LDAP message inside one sasl blob svn path=/trunk/; revision=22181
2007-06-22add code to handle new insanity in how spnego and gss wrap Ronnie Sahlberg1-43/+58
eachother svn path=/trunk/; revision=22165
2007-06-06use ASN.1 type names in #.FN_BODY (instead of Wireshark type names)Tomas Kukosa1-13/+22
svn path=/trunk/; revision=22054
2007-05-30- LDAP generated with -X optionAnders Broman1-615/+290
- a minor update to MobileDomainDefinitions.asn adding ID and a document reference. svn path=/trunk/; revision=22010
2007-05-29Clean up the .cnf file a bit.Anders Broman1-52/+53
svn path=/trunk/; revision=21992
2007-05-24few BER dissectors regeneratedTomas Kukosa1-5/+5
svn path=/trunk/; revision=21920
2007-05-22Prepare for the use of the new -X parameter for BER encoded protocols.Anders Broman1-124/+124
svn path=/trunk/; revision=21889
2007-05-15actx in the rest of dissect_ber..()lAnders Broman1-25/+25
svn path=/trunk/; revision=21773
2007-05-13Second step in introducing asn context to BER dissectors just like in PER.Anders Broman1-459/+469
svn path=/trunk/; revision=21753
2007-05-06Start introducing actx to ber functions.Anders Broman1-110/+110
svn path=/trunk/; revision=21705
2007-05-01Split out common asn1 stuff to asn1.h and include that where needed.Anders Broman1-7/+8
svn path=/trunk/; revision=21635
2007-03-21change the signature that asn2wrs generates for functions to marm all ↵Ronnie Sahlberg1-208/+208
parameters as _U_ to reduce the number of compiler warnings. update some template and cnf files to use _U_ as well svn path=/trunk/; revision=21088
2007-02-17Tidy ups for SASL/GSSAPI support:Graeme Lunt1-54/+143
1) Handle empty (zero length) saslCredentials 2) Handle "GSSAPI" auth_mech when identified from the bind 3) Annotate column info to show SASL service applied to LDAP operation svn path=/trunk/; revision=20830
2006-11-24From Stefan Metzmacher:Jaap Keuter1-85/+10
I created two patches: 1.) move the handling of the compressed strings in CLDAP 'netlogon' replies into a generic place. 2.) implement dissection of SMB_NETLOGON cmd's 0x17 and 0x19 svn path=/trunk/; revision=19970
2006-11-06Don't remove a preference, make it obsolete instead.Jaap Keuter1-1/+3
svn path=/trunk/; revision=19818
2006-11-05Tidy up of information column for NTLM authentication.Graeme Lunt1-24/+35
Related to Bug 1148. svn path=/trunk/; revision=19810
2006-11-04General updates to:Graeme Lunt1-59/+341
*) Remove maximum LDAP PDU size check - they can get large with either large attributes (e.g. CRLs, SPIFs) or with lots of results (see http://www.wireshark.org/lists/wireshark-users/200610/msg00197.html). The max size preference is also removed. *) Support for dissecting LDAP controls including server side sorting and paged results. A new BER function is introduced to see if there is a dissector for a given OID. *) Remove reference to removed BER preference in the LDAP reassembly preference. *) Mark a LDAPURL as a URL svn path=/trunk/; revision=19792
2006-10-31change the signature for the get_pdu_len() function pointer passed to ↵Ronnie Sahlberg1-2/+2
tcp_dissect_pdus() to also include a packet_info pointer. there are many reasons why some protocols actually need to be able to access the pinfo structure while determining the pdu size svn path=/trunk/; revision=19751
2006-10-11fix for 1148Ronnie Sahlberg1-6/+86
pretty horrible hack to store an ntlmssp blob inside an ldap string the info column is not entirely pretty but the payload is at least decoded svn path=/trunk/; revision=19490
2006-09-22When dissecting LDAP, the assumption was made that the maximum LDAP PDU size ↵Graeme Lunt1-5/+11
will be 65535. Anything bigger than this was considered not to be LDAP. However, LDAP can have PDU sizes bigger than this - a CRL can easily grow to be bigger than this, for example. This patch makes the the maximum valid LDAP PDU size a preference. The default value for this new preference is 65535 for backwards compatibility. svn path=/trunk/; revision=19288
2006-09-16make dissect_nt_sid return ep allocated memory and thus fix a few memory leaksRonnie Sahlberg1-7/+5
(this function is often called from dcerpc dissectors) svn path=/trunk/; revision=19243
2006-08-20 in LDAP over TCPRonnie Sahlberg1-94/+81
use tcp_dissect_pdus() which works insterad of trying to do the pdu tracking and signalling for reassembly manually. This makes ldap pdu tracking and reassembly work properly for cases when hosts are streaming lpad over tcp and there is little or none alignlemt of pdus to the start of a segment svn path=/trunk/; revision=18965
2006-08-19Squelch a compiler warning.Guy Harris1-4/+5
svn path=/trunk/; revision=18954
2006-08-16ASN.1 dissectors regenerated with new asn2wrs to get updated field blurbTomas Kukosa1-98/+98
svn path=/trunk/; revision=18921
2006-08-11for sec descriptors found inside ldapRonnie Sahlberg1-6/+117
decode the specific bits of the accessmask as the ldap specific accessmask bits bit definitions from samba4 svn path=/trunk/; revision=18881