MLDAP AD Wrapper Documentation¶
mldap2 Package¶
Mldap2 is a custom AD/LDAP wrapper built using python-ldap. It is used to simplify programmatic access to the users and groups in a Windows Server 2003 and Windows Server 2008 Active Directory(tm) Domain.
- exception __init__.NoSuchObject[source]¶
Bases: exceptions.Exception
Provide a custom exception to call when we have no user to perform an action upon.
- __init__.connect(creds)[source]¶
- Args:
- creds(dict) having these keys:
- credsfile
- LDAP_USERNAME
- LDAP_PASSWORD
- LDAP_SERVER
- LDAP_BASE
- LDAP_USER_BASE
- LDAP_GROUP_BASE
- LDAP_DOMAIN
Returns: A connected adcon.mldap object.