From fa8d37adae70a5f479262b722e47aa7fc21aaf5c Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 12 Aug 2004 04:55:59 +0000 Subject: r1756: merge volkers ldap client lib to samba4 for simo to start with the ldap server code it's not compiled in yet... metze (This used to be commit 48939adca1332ff90f9287311c0e9ff3e2e5917a) --- source4/include/asn_1.h | 3 ++- source4/include/includes.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'source4/include') diff --git a/source4/include/asn_1.h b/source4/include/asn_1.h index 78cc340f44..6bd79e3fbe 100644 --- a/source4/include/asn_1.h +++ b/source4/include/asn_1.h @@ -35,10 +35,11 @@ typedef struct { BOOL has_error; } ASN1_DATA; - #define ASN1_APPLICATION(x) ((x)+0x60) +#define ASN1_APPLICATION_SIMPLE(x) ((x)+0x40) #define ASN1_SEQUENCE(x) ((x)+0x30) #define ASN1_CONTEXT(x) ((x)+0xa0) +#define ASN1_CONTEXT_SIMPLE(x) ((x)+0x80) #define ASN1_GENERAL_STRING 0x1b #define ASN1_OCTET_STRING 0x4 #define ASN1_OID 0x6 diff --git a/source4/include/includes.h b/source4/include/includes.h index 1e6cc0e5a4..3821269f2b 100644 --- a/source4/include/includes.h +++ b/source4/include/includes.h @@ -641,6 +641,7 @@ extern int errno; #include "rewrite.h" #include "smb.h" #include "ads.h" +#include "libcli/ldap/ldap.h" #include "nameserv.h" #include "secrets.h" -- cgit