add wrapper for rename_s
authorjlaine <jlaine@e071eeec-0327-468d-9b6a-08194a12b294>
Mon, 29 Jun 2009 12:15:59 +0000 (12:15 +0000)
committerjlaine <jlaine@e071eeec-0327-468d-9b6a-08194a12b294>
Mon, 29 Jun 2009 12:15:59 +0000 (12:15 +0000)
git-svn-id: https://svn.bolloretelecom.eu/opensource/django-ldapdb/trunk@443 e071eeec-0327-468d-9b6a-08194a12b294

ldapdb/__init__.py

index 0e4024de4f8402fe372a0e63e6f8c7be55dc017a..2878d66e3fc48a5aaacb3c26b1d7eb9a7ac75598 100644 (file)
@@ -56,6 +56,9 @@ class LdapConnection():
             mods.append((op, field, convert(field, value, lambda x: x.encode('utf-8'))))
         return self.connection.modify_s(dn, mods)
 
+    def rename_s(self, dn, newrdn):
+        return self.connection.rename_s(dn, newrdn)
+
     def search_s(self, base, scope, filterstr, attrlist):
         results = self.connection.search_s(base, scope, filterstr, attrlist)
         for dn, attrs in results: