1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-10 04:23:50 +03:00

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>
This commit is contained in:
Andrew Tridgell
2010-08-24 22:08:27 +10:00
parent 495bd182f5
commit 8438da96ba
2 changed files with 49 additions and 0 deletions

View File

@@ -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)