Skip to main content

Wanna make ldap handling a little easier

Project description

ldaphelper

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" : "john.doe@ldaphelper.org",
    "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.

Files for ldaphelper, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size ldaphelper-0.2.0.tar.gz (5.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page