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')
```
Release files for ooldap 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ooldap-0.1.1.tar.gz | 2.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ooldap-0.1.1-py2.7.egg | Legacy Egg format | - | - | Details |
Total release size: 8.3 kB
Release files / ooldap-0.1.1.tar.gz
| Download URL | ooldap-0.1.1.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
45735963d26d44fc17945d26800a53f00b4d93cf8921d425d03be2ff895a25b0
|
|
BLAKE2b-256 checksum How to use checksums |
05a0676f6a913df3314a45c5f8150643243361e91d0de6755472c3e80997fd6f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / ooldap-0.1.1-py2.7.egg
| Download URL | ooldap-0.1.1-py2.7.egg |
|---|---|
| Size | 5.5 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
9c4df7c9d48081cf32482abb98c77c5ba6e08aa4ab3034e351529745015be039
|
|
BLAKE2b-256 checksum How to use checksums |
a7b9fcc2bf91b565848b993dd0af8b7903b1b4424e7d06faf035e68640fdf2e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |