diff options
Diffstat (limited to 'source3/libads')
-rw-r--r-- | source3/libads/cldap.c | 1 | ||||
-rw-r--r-- | source3/libads/cldap.h | 12 | ||||
-rw-r--r-- | source3/libads/ldap.c | 1 |
3 files changed, 14 insertions, 0 deletions
diff --git a/source3/libads/cldap.c b/source3/libads/cldap.c index db5f664d94..5d2e900c05 100644 --- a/source3/libads/cldap.c +++ b/source3/libads/cldap.c @@ -23,6 +23,7 @@ #include "includes.h" #include "../libcli/cldap/cldap.h" #include "../lib/tsocket/tsocket.h" +#include "libads/cldap.h" /******************************************************************* do a cldap netlogon query. Always 389/udp diff --git a/source3/libads/cldap.h b/source3/libads/cldap.h new file mode 100644 index 0000000000..afe4b35b5d --- /dev/null +++ b/source3/libads/cldap.h @@ -0,0 +1,12 @@ +#include "../libcli/netlogon.h" + +/* The following definitions come from libads/cldap.c */ +bool ads_cldap_netlogon(TALLOC_CTX *mem_ctx, + const char *server, + const char *realm, + uint32_t nt_version, + struct netlogon_samlogon_response **reply); +bool ads_cldap_netlogon_5(TALLOC_CTX *mem_ctx, + const char *server, + const char *realm, + struct NETLOGON_SAM_LOGON_RESPONSE_EX *reply5); diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c index 8d4b86c8b2..98da8ff484 100644 --- a/source3/libads/ldap.c +++ b/source3/libads/ldap.c @@ -23,6 +23,7 @@ #include "includes.h" #include "libads/sitename_cache.h" +#include "libads/cldap.h" #ifdef HAVE_LDAP |