X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=ldapdb%2F__init__.py;h=2878d66e3fc48a5aaacb3c26b1d7eb9a7ac75598;hb=4a68510605d2b23e2e46d0d3053cf3a0dbc789ff;hp=0e4024de4f8402fe372a0e63e6f8c7be55dc017a;hpb=d611dd2db3169d556496f87066bcbf37ae9d88d4;p=matthijs%2Fupstream%2Fdjango-ldapdb.git 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: