mirror of
https://github.com/samba-team/samba.git
synced 2025-07-22 16:59:09 +03:00
s4-python: Add functions to get linkid and systemflags of an attribute
Signed-off-by: Andrew Tridgell <tridge@samba.org>
This commit is contained in:
committed by
Andrew Tridgell
parent
ab77df800e
commit
bbd4e27745
@ -509,6 +509,14 @@ accountExpires: %u
|
||||
'''return the syntax OID for a LDAP attribute as a string'''
|
||||
return dsdb._dsdb_get_syntax_oid_from_lDAPDisplayName(self, ldap_display_name)
|
||||
|
||||
def get_systemFlags_from_lDAPDisplayName(self, ldap_display_name):
|
||||
'''return the systemFlags for a LDAP attribute as a integer'''
|
||||
return dsdb._dsdb_get_systemFlags_from_lDAPDisplayName(self, ldap_display_name)
|
||||
|
||||
def get_linkId_from_lDAPDisplayName(self, ldap_display_name):
|
||||
'''return the linkID for a LDAP attribute as a integer'''
|
||||
return dsdb._dsdb_get_linkId_from_lDAPDisplayName(self, ldap_display_name)
|
||||
|
||||
def set_ntds_settings_dn(self, ntds_settings_dn):
|
||||
"""Set the NTDS Settings DN, as would be returned on the dsServiceName
|
||||
rootDSE attribute.
|
||||
|
Reference in New Issue
Block a user