Skip to main content

Wanna make ldap handling a little easier

Project description


Build Status codecov

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" : "",
    "givenName" : "John",
    "sn" : "Doe"

added_user = ldp_user.add_user(user)

Project details

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)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page