summaryrefslogtreecommitdiff
path: root/source4/scripting/python
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-08-24 22:08:27 +1000
committerAndrew Tridgell <tridge@samba.org>2010-08-25 08:40:04 +1000
commit8438da96ba632671327506423239169402917c51 (patch)
tree990dad89e68e2841d9046745872ce7d900912b3d /source4/scripting/python
parent495bd182f5e26cbcb721ab8209f8acad4d612726 (diff)
downloadsamba-8438da96ba632671327506423239169402917c51.tar.gz
samba-8438da96ba632671327506423239169402917c51.tar.bz2
samba-8438da96ba632671327506423239169402917c51.zip
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 <abartlet@samba.org>
Diffstat (limited to 'source4/scripting/python')
-rw-r--r--source4/scripting/python/samba/samdb.py3
1 files changed, 3 insertions, 0 deletions
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)