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 hashes)