[PATCH] s4-ldap: Pass on-wire transmitted control down the chain

Kamen Mazdrashki kamenim at samba.org
Sun Nov 30 17:47:56 MST 2014


Hi,

Please find a patch to propagate controls in modifyDN reqests over LDAP.

Review and push would be appreciated

Cheers,
Kamen
-------------- next part --------------
From 44ecf3da697651ca8d8e2e18eff90e029931cb14 Mon Sep 17 00:00:00 2001
From: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon, 1 Dec 2014 01:43:31 +0100
Subject: [PATCH] s4-ldap: Pass on-wire transmitted control down the chain

Change-Id: Ic3a117f74e8a67c45584fdb520d92e4f0cb01c5e
Signed-off-by: Kamen Mazdrashki <kamenim at samba.org>
---
 source4/ldap_server/ldap_backend.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source4/ldap_server/ldap_backend.c b/source4/ldap_server/ldap_backend.c
index b0877d2..fd2b579 100644
--- a/source4/ldap_server/ldap_backend.c
+++ b/source4/ldap_server/ldap_backend.c
@@ -459,7 +459,7 @@ static int ldapsrv_rename_with_controls(struct ldapsrv_call *call,
 	ret = ldb_build_rename_req(&req, ldb, ldb,
 					olddn,
 					newdn,
-					NULL,
+					controls,
 					res,
 					ldb_modify_default_callback,
 					NULL);
-- 
1.9.1


More information about the samba-technical mailing list