Wanna make ldap handling a little easier
Project description
ldaphelper
Wanna try to make it a little easier
from ldaphelper import LdapConnection(), User
user = 'cn=directory manager'
password = 'amazingpassword'
con = LdapConnection(user,password)
ldp_user = User(con)
user = {
"uuid" : "johndoe",
"password" : "strongpassword,
"mail" : "john.doe@ldaphelper.org",
"givenName" : "John",
"sn" : "Doe"
}
added_user = ldp_user.add_user(user)
Project details
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
ldaphelper-0.2.0.tar.gz
(5.3 kB
view details)
File details
Details for the file ldaphelper-0.2.0.tar.gz
.
File metadata
- Download URL: ldaphelper-0.2.0.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7924c1b89c0b2a8e54cf4954975732a6365770478a3933034f20426af9cd5e4 |
|
MD5 | b79e8f55bfde14fe631ca271da33a4e0 |
|
BLAKE2b-256 | 5a7fc884e3f8a3cb32856937c405230c9ff979ad6fc2a440ace57538107a75bc |