diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2009-10-17 12:17:33 +0200 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2009-10-17 12:17:33 +0200 |
commit | 5a3eb1df560f29c4692e01594fc63d22bb4c50ee (patch) | |
tree | 743af66e1b0ad82ab676621f8514b4c60e77c483 /nslcd | |
parent | 6cf3eb58587e80d851aa53d0a250c7839fa15b02 (diff) |
provide replacement functions for ldap_initialize() and ldap_passwd_s() and centralise LDAP compatibility hacks into ldap_compat.h
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1007 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'nslcd')
-rw-r--r-- | nslcd/myldap.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/nslcd/myldap.c b/nslcd/myldap.c index ca7328b..ca42241 100644 --- a/nslcd/myldap.c +++ b/nslcd/myldap.c @@ -72,20 +72,12 @@ #include <pthread.h> #include "myldap.h" -#include "compat/pagectrl.h" #include "common.h" #include "log.h" #include "cfg.h" #include "attmap.h" #include "common/set.h" - -/* compatibility macros */ -#ifndef LDAP_CONST -#define LDAP_CONST const -#endif /* not LDAP_CONST */ -#ifndef LDAP_MSG_ONE -#define LDAP_MSG_ONE 0x00 -#endif /* not LDAP_MSG_ONE */ +#include "compat/ldap_compat.h" /* the maximum number of searches per session */ #define MAX_SEARCHES_IN_SESSION 4 |