1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-21 12:59:09 +03:00

s4-pydsdb: added DsReplicaAttribute()

this allows us to form a DsReplicaAttribute structure from python
This commit is contained in:
Andrew Tridgell
2010-11-05 14:06:10 +11:00
parent 135756c8ac
commit cbded38ed5
3 changed files with 78 additions and 1 deletions

View File

@ -483,6 +483,9 @@ accountExpires: %u
def set_schema_from_ldb(self, ldb_conn):
dsdb._dsdb_set_schema_from_ldb(self, ldb_conn)
def dsdb_DsReplicaAttribute(self, ldb, ldap_display_name, ldif_elements):
return dsdb._dsdb_DsReplicaAttribute(ldb, ldap_display_name, ldif_elements)
def get_attribute_from_attid(self, attid):
""" Get from an attid the associated attribute