ldap2.c File Reference

Simple LDAPv2 protocol test. More...

Go to the source code of this file.

Functions

int check_ldap2 (Port_T p)


Detailed Description

Simple LDAPv2 protocol test.

Try anonymous bind to the server.

BindRequest based on RFC1777. Request and response are ASN.1 BER encoded strings. To make the test as simple as possible we work with BER encoded data.

The test checks only if the bind was successfull - in the case of failure it don't provide any erroneous message analysis.

Author:
Jan-Henrik Haukeland, <hauk@tildeslash.com> , Martin Pala, <martin.pala@iol.cz>
Version:
$Id: ldap2.c,v 1.4 2003/02/14 08:22:33 martinp Exp $

Definition in file ldap2.c.


Function Documentation

int check_ldap2 Port_T    p
 

Definition at line 51 of file ldap2.c.

References ASSERT, log(), port_recv(), port_send(), and STRERROR.