From b70f52722021907de362c1fedb8bf60efa22715f Mon Sep 17 00:00:00 2001
From: mkeyes <mkeyes@localhost>
Date: Tue, 15 May 2007 13:38:26 +0000
Subject: [PATCH] Adding functional test cases for Issue 450, Selfwrite Operation Support.

---
 opends/tests/functional-tests/shared/functions/ldap.xml |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/opends/tests/functional-tests/shared/functions/ldap.xml b/opends/tests/functional-tests/shared/functions/ldap.xml
index c3c8c45..ab37579 100755
--- a/opends/tests/functional-tests/shared/functions/ldap.xml
+++ b/opends/tests/functional-tests/shared/functions/ldap.xml
@@ -290,6 +290,12 @@
         </function-arg-description>
         <function-arg-property name="type" value="string"/>
       </function-arg-def>
+      <function-arg-def name="dsProxyDN" type="optional">
+        <function-arg-description>
+          Directory Server Proxy DN
+        </function-arg-description>
+        <function-arg-property name="type" value="dn"/>
+      </function-arg-def>
       <function-arg-def name="dsScope" type="optional">
         <function-arg-description>
           The scope of the search operation
@@ -343,6 +349,9 @@
       <call function="'_ldapCommonArgs'"/>
       
       <script>      
+        if dsProxyDN:
+          STAFCmdParamsList.append('-Y "%s"' % dsProxyDN)          
+          
         if dsScope:          
           STAFCmdParamsList.append('-s %s' % dsScope)
           

--
Gitblit v1.10.0