From 4a68510605d2b23e2e46d0d3053cf3a0dbc789ff Mon Sep 17 00:00:00 2001 From: jlaine Date: Mon, 29 Jun 2009 12:15:59 +0000 Subject: [PATCH] add wrapper for rename_s git-svn-id: https://svn.bolloretelecom.eu/opensource/django-ldapdb/trunk@443 e071eeec-0327-468d-9b6a-08194a12b294 --- ldapdb/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ldapdb/__init__.py b/ldapdb/__init__.py index 0e4024d..2878d66 100644 --- a/ldapdb/__init__.py +++ b/ldapdb/__init__.py @@ -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: -- 2.30.2