diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-02-10 07:08:40 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:09:39 -0500 |
commit | 501379431c7fc6c9a78e74eca43b208184debce6 (patch) | |
tree | 62d4e5031facfe7987b400d464f638efa7156aea /source4/ldap_server | |
parent | bed7c9ec32b7d4083ba4ed2abbf3b6126bee7a25 (diff) | |
download | samba-501379431c7fc6c9a78e74eca43b208184debce6.tar.gz samba-501379431c7fc6c9a78e74eca43b208184debce6.tar.bz2 samba-501379431c7fc6c9a78e74eca43b208184debce6.zip |
r5305: removed libcli/ldap/ldap.h from includes.h
(This used to be commit 0df3fdd8178085c40f9cd776cc3e1486ca559c8e)
Diffstat (limited to 'source4/ldap_server')
-rw-r--r-- | source4/ldap_server/ldap_backend.c | 5 | ||||
-rw-r--r-- | source4/ldap_server/ldap_bind.c | 1 | ||||
-rw-r--r-- | source4/ldap_server/ldap_server.h | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/source4/ldap_server/ldap_backend.c b/source4/ldap_server/ldap_backend.c index 58c6dde436..d87ea657d7 100644 --- a/source4/ldap_server/ldap_backend.c +++ b/source4/ldap_server/ldap_backend.c @@ -21,9 +21,10 @@ #include "includes.h" #include "ldap_server/ldap_server.h" #include "dlinklist.h" +#include "libcli/ldap/ldap.h" -struct ldapsrv_reply *ldapsrv_init_reply(struct ldapsrv_call *call, enum ldap_request_tag type) +struct ldapsrv_reply *ldapsrv_init_reply(struct ldapsrv_call *call, uint8_t type) { struct ldapsrv_reply *reply; @@ -47,7 +48,7 @@ NTSTATUS ldapsrv_queue_reply(struct ldapsrv_call *call, struct ldapsrv_reply *re return NT_STATUS_OK; } -struct ldapsrv_partition *ldapsrv_get_partition(struct ldapsrv_connection *conn, const char *dn, enum ldap_scope scope) +struct ldapsrv_partition *ldapsrv_get_partition(struct ldapsrv_connection *conn, const char *dn, uint8_t scope) { if (scope == LDAP_SEARCH_SCOPE_BASE && strcasecmp("", dn) == 0) { diff --git a/source4/ldap_server/ldap_bind.c b/source4/ldap_server/ldap_bind.c index f397b7611b..d6b0332b6e 100644 --- a/source4/ldap_server/ldap_bind.c +++ b/source4/ldap_server/ldap_bind.c @@ -21,6 +21,7 @@ #include "includes.h" #include "ldap_server/ldap_server.h" #include "auth/auth.h" +#include "libcli/ldap/ldap.h" static NTSTATUS ldapsrv_BindSimple(struct ldapsrv_call *call) { diff --git a/source4/ldap_server/ldap_server.h b/source4/ldap_server/ldap_server.h index 39052a7671..0a16394c09 100644 --- a/source4/ldap_server/ldap_server.h +++ b/source4/ldap_server/ldap_server.h @@ -19,6 +19,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#include "libcli/ldap/ldap.h" + struct rw_buffer { uint8_t *data; size_t ofs, length; |