From: Howard Chu Date: Tue, 6 Aug 2002 02:36:34 +0000 (+0000) Subject: Add #include "lutil.h" for lutil_str* functions X-Git-Tag: NO_SLAP_OP_BLOCKS~1278 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e14f471a27a04a0ef61778f7ef8d48f34ad6bf22;p=openldap Add #include "lutil.h" for lutil_str* functions --- diff --git a/servers/slapd/aclparse.c b/servers/slapd/aclparse.c index 51f0a0c1c3..80ffa377bf 100644 --- a/servers/slapd/aclparse.c +++ b/servers/slapd/aclparse.c @@ -17,6 +17,7 @@ #include "slap.h" #include "lber_pvt.h" +#include "lutil.h" static void split(char *line, int splitchar, char **left, char **right); static void access_append(Access **l, Access *a); diff --git a/servers/slapd/back-ldap/config.c b/servers/slapd/back-ldap/config.c index f0ea612e81..bcb209d935 100644 --- a/servers/slapd/back-ldap/config.c +++ b/servers/slapd/back-ldap/config.c @@ -44,6 +44,7 @@ #include "slap.h" #include "back-ldap.h" +#include "lutil.h" int ldap_back_db_config( diff --git a/servers/slapd/back-ldap/group.c b/servers/slapd/back-ldap/group.c index 16a2c5046e..5581cdfc64 100644 --- a/servers/slapd/back-ldap/group.c +++ b/servers/slapd/back-ldap/group.c @@ -14,7 +14,7 @@ #include "slap.h" #include "back-ldap.h" - +#include "lutil.h" /* return 0 IFF op_dn is a value in group_at (member) attribute * of entry with gr_dn AND that entry has an objectClass diff --git a/servers/slapd/back-meta/group.c b/servers/slapd/back-meta/group.c index 67886898a3..b482847d6a 100644 --- a/servers/slapd/back-meta/group.c +++ b/servers/slapd/back-meta/group.c @@ -74,6 +74,7 @@ #include "slap.h" #include "../back-ldap/back-ldap.h" #include "back-meta.h" +#include "lutil.h" /* return 0 IFF op_dn is a value in group_at (member) attribute * of entry with gr_dn AND that entry has an objectClass diff --git a/servers/slapd/dn.c b/servers/slapd/dn.c index 23aa4e7839..82db98532b 100644 --- a/servers/slapd/dn.c +++ b/servers/slapd/dn.c @@ -18,6 +18,8 @@ #include "slap.h" +#include "lutil.h" + const struct berval slap_empty_bv = { 0, "" }; #define SLAP_LDAPDN_PRETTY 0x1 diff --git a/servers/slapd/sasl.c b/servers/slapd/sasl.c index 63f9f4b5d9..10dae31cd6 100644 --- a/servers/slapd/sasl.c +++ b/servers/slapd/sasl.c @@ -34,10 +34,6 @@ #include -#ifdef SLAPD_SPASSWD -#include -#endif - /* Flags for telling slap_sasl_getdn() what type of identity is being passed */ #define FLAG_GETDN_AUTHCID 2 #define FLAG_GETDN_AUTHZID 4