Back to index

lightning-sunbird  0.9+nobinonly
Defines
examples.h File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <ldap.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define MY_HOST   "localhost"
#define MY_PORT   LDAP_PORT
#define MY_SSL_PORT   LDAPS_PORT
#define MGR_DN   "cn=Directory Manager"
#define MGR_PW   "secret99"
#define MY_SEARCHBASE   "dc=example,dc=com"
#define PEOPLE_BASE   "ou=People, " MY_SEARCHBASE
#define USER_DN   "uid=scarter, " PEOPLE_BASE
#define USER_PW   "sprain"
#define MY_FILTER   "(sn=Jensen)"
#define ENTRYDN   "uid=bjensen, " PEOPLE_BASE
#define ENTRYPW   "hifalutin"
#define MY_FILTERFILE   "xmplflt.conf"
#define MY_FILTERTAG   "ldap-example"

Define Documentation

#define ENTRYDN   "uid=bjensen, " PEOPLE_BASE

Definition at line 106 of file examples.h.

#define ENTRYPW   "hifalutin"

Definition at line 111 of file examples.h.

#define MGR_DN   "cn=Directory Manager"

Definition at line 69 of file examples.h.

#define MGR_PW   "secret99"

Definition at line 74 of file examples.h.

#define MY_FILTER   "(sn=Jensen)"

Definition at line 101 of file examples.h.

#define MY_FILTERFILE   "xmplflt.conf"

Definition at line 116 of file examples.h.

#define MY_FILTERTAG   "ldap-example"

Definition at line 121 of file examples.h.

#define MY_HOST   "localhost"

Definition at line 53 of file examples.h.

Definition at line 58 of file examples.h.

#define MY_SEARCHBASE   "dc=example,dc=com"

Definition at line 79 of file examples.h.

Definition at line 63 of file examples.h.

#define PEOPLE_BASE   "ou=People, " MY_SEARCHBASE

Definition at line 84 of file examples.h.

#define USER_DN   "uid=scarter, " PEOPLE_BASE

Definition at line 90 of file examples.h.

#define USER_PW   "sprain"

Definition at line 95 of file examples.h.