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)
Metadata
Release files for ldaphelper 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ldaphelper-0.2.0.tar.gz | 5.3 kB | Details |
Release files / ldaphelper-0.2.0.tar.gz
| Download URL | ldaphelper-0.2.0.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a7924c1b89c0b2a8e54cf4954975732a6365770478a3933034f20426af9cd5e4
|
|
BLAKE2b-256 checksum How to use checksums |
5a7fc884e3f8a3cb32856937c405230c9ff979ad6fc2a440ace57538107a75bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|