ooldap 0.1.1
pip install ooldap==0.1.1
Latest version
Released:
Object Oriented LDAP
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: Apache License 2.0
- Author: John
Project description
Using the python-ldap library: http://www.python-ldap.org/
Provides the foundation for manipulating ldap
taking a highly object oriented approach.
Use the provided object types, override them, or create your own.
Add the three following environmental variables:
- LDAP_CONNECTION_URI
- LDAP_CONNECTION_DN
- LDAP_CONNECTION_PASSWORD
Here is an example:
```python
import os
os.environ['LDAP_CONNECTION_URI'] = 'example.com'
os.environ['LDAP_CONNECTION_DN'] = 'CN=<username>,OU=People,DC=EXAMPLE,DC=COM'
os.environ['LDAP_CONNECTION_PASSWORD'] = '<password>'
from ooldap.foundation import LDAPObject
ldapobject = LDAPObject('CN=johndoe,OU=People,DC=EXAMPLE,DC=COM')
ldapobject.data
ldapobject.description
ldapobject.get_attribute('mail')
```
Provides the foundation for manipulating ldap
taking a highly object oriented approach.
Use the provided object types, override them, or create your own.
Add the three following environmental variables:
- LDAP_CONNECTION_URI
- LDAP_CONNECTION_DN
- LDAP_CONNECTION_PASSWORD
Here is an example:
```python
import os
os.environ['LDAP_CONNECTION_URI'] = 'example.com'
os.environ['LDAP_CONNECTION_DN'] = 'CN=<username>,OU=People,DC=EXAMPLE,DC=COM'
os.environ['LDAP_CONNECTION_PASSWORD'] = '<password>'
from ooldap.foundation import LDAPObject
ldapobject = LDAPObject('CN=johndoe,OU=People,DC=EXAMPLE,DC=COM')
ldapobject.data
ldapobject.description
ldapobject.get_attribute('mail')
```
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: Apache License 2.0
- Author: John
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ooldap-0.1.1.tar.gz
.
File metadata
- Download URL: ooldap-0.1.1.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
45735963d26d44fc17945d26800a53f00b4d93cf8921d425d03be2ff895a25b0
|
|
MD5 |
15e6a47a448f79461fc0db0c04cee34c
|
|
BLAKE2b-256 |
05a0676f6a913df3314a45c5f8150643243361e91d0de6755472c3e80997fd6f
|
File details
Details for the file ooldap-0.1.1-py2.7.egg
.
File metadata
- Download URL: ooldap-0.1.1-py2.7.egg
- Upload date:
- Size: 5.5 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
9c4df7c9d48081cf32482abb98c77c5ba6e08aa4ab3034e351529745015be039
|
|
MD5 |
50c75d13a2f48b026f984d2ec43c4d53
|
|
BLAKE2b-256 |
a7b9fcc2bf91b565848b993dd0af8b7903b1b4424e7d06faf035e68640fdf2e5
|