From 8438da96ba632671327506423239169402917c51 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 24 Aug 2010 22:08:27 +1000 Subject: s4-dsdb: added get_attid_from_lDAPDisplayName() on samdb This can be used to form the partial_attribute_set list for GetNCChanges Pair-Programmed-With: Andrew Bartlett --- source4/scripting/python/samba/samdb.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source4/scripting') diff --git a/source4/scripting/python/samba/samdb.py b/source4/scripting/python/samba/samdb.py index 14c21bc0b6..cc82e53907 100644 --- a/source4/scripting/python/samba/samdb.py +++ b/source4/scripting/python/samba/samdb.py @@ -440,6 +440,9 @@ accountExpires: %u def get_oid_from_attid(self, attid): return dsdb._dsdb_get_oid_from_attid(self, attid) + def get_attid_from_lDAPDisplayName(self, ldap_display_name, is_schema_nc=False): + return dsdb._dsdb_get_attid_from_lDAPDisplayName(self, ldap_display_name, is_schema_nc) + def get_invocation_id(self): "Get the invocation_id id" return dsdb._samdb_ntds_invocation_id(self) -- cgit