mirror of
https://github.com/samba-team/samba.git
synced 2025-09-11 09:44:19 +03:00
python:samdb: Add get_searchFlags_from_lDAPDisplayName() method
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15852 Signed-off-by: Jennifer Sutton <jennifersutton@catalyst.net.nz> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
This commit is contained in:
committed by
Jo Sutton
parent
4443abc74b
commit
3eb65f1a6b
@@ -1099,6 +1099,10 @@ 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_searchFlags_from_lDAPDisplayName(self, ldap_display_name):
|
||||
"""return the searchFlags for a LDAP attribute as a integer"""
|
||||
return dsdb._dsdb_get_searchFlags_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)
|
||||
|
Reference in New Issue
Block a user