[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha7-2106-g35492ad

Volker Lendecke vlendec at samba.org
Sun Jun 7 09:30:36 GMT 2009


The branch, master has been updated
       via  35492ada90f691757f014fcde0353717800d0bd2 (commit)
      from  f5e9e1954c08cc7ee73477bc626cdb09df1d0284 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 35492ada90f691757f014fcde0353717800d0bd2
Author: Volker Lendecke <vl at samba.org>
Date:   Sun Jun 7 11:26:25 2009 +0200

    Fix after making tldap independent of ldap.h

-----------------------------------------------------------------------

Summary of changes:
 source3/include/tldap.h |   45 ++++++++++++++++++++++++---------------------
 1 files changed, 24 insertions(+), 21 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/include/tldap.h b/source3/include/tldap.h
index 042f3d9..9ce5c8b 100644
--- a/source3/include/tldap.h
+++ b/source3/include/tldap.h
@@ -145,27 +145,30 @@ const char *tldap_ctx_diagnosticmessage(struct tldap_context *ctx);
 const char *tldap_ctx_referral(struct tldap_context *ctx);
 const char *tldap_err2string(int rc);
 
-#define TLDAP_REQ_BIND (0)
-#define TLDAP_RES_BIND (1)
-#define TLDAP_REQ_UNBIND (2)
-#define TLDAP_REQ_SEARCH (3)
-#define TLDAP_RES_SEARCH_ENTRY (4)
-#define TLDAP_RES_SEARCH_RESULT (5)
-#define TLDAP_REQ_MODIFY (6)
-#define TLDAP_RES_MODIFY (7)
-#define TLDAP_REQ_ADD (8)
-#define TLDAP_RES_ADD (9)
-#define TLDAP_REQ_DELETE (10)
-#define TLDAP_RES_DELETE (11)
-#define TLDAP_REQ_MODDN (12)
-#define TLDAP_RES_MODDN (13)
-#define TLDAP_REQ_COMPARE (14)
-#define TLDAP_RES_COMPARE (15)
-#define TLDAP_REQ_ABANDON (16)
-#define TLDAP_RES_SEARCH_REFERENCE (19)
-#define TLDAP_REQ_EXTENDED (23)
-#define TLDAP_RES_EXTENDED (24)
-#define TLDAP_RES_INTERMEDIATE (25)
+/*
+ * "+ 0x60" is from ASN1_APPLICATION
+ */
+#define TLDAP_REQ_BIND (0 + 0x60)
+#define TLDAP_RES_BIND (1 + 0x60)
+#define TLDAP_REQ_UNBIND (2 + 0x60)
+#define TLDAP_REQ_SEARCH (3 + 0x60)
+#define TLDAP_RES_SEARCH_ENTRY (4 + 0x60)
+#define TLDAP_RES_SEARCH_RESULT (5 + 0x60)
+#define TLDAP_REQ_MODIFY (6 + 0x60)
+#define TLDAP_RES_MODIFY (7 + 0x60)
+#define TLDAP_REQ_ADD (8 + 0x60)
+#define TLDAP_RES_ADD (9 + 0x60)
+#define TLDAP_REQ_DELETE (10 + 0x60)
+#define TLDAP_RES_DELETE (11 + 0x60)
+#define TLDAP_REQ_MODDN (12 + 0x60)
+#define TLDAP_RES_MODDN (13 + 0x60)
+#define TLDAP_REQ_COMPARE (14 + 0x60)
+#define TLDAP_RES_COMPARE (15 + 0x60)
+#define TLDAP_REQ_ABANDON (16 + 0x60)
+#define TLDAP_RES_SEARCH_REFERENCE (19 + 0x60)
+#define TLDAP_REQ_EXTENDED (23 + 0x60)
+#define TLDAP_RES_EXTENDED (24 + 0x60)
+#define TLDAP_RES_INTERMEDIATE (25 + 0x60)
 
 #define TLDAP_SUCCESS (0x00)
 #define TLDAP_OPERATIONS_ERROR (0x01)


-- 
Samba Shared Repository


More information about the samba-cvs mailing list