Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

# pydhcp-ldap-schema

## By example:

import ldap import pydhcp_ldap_schema as schema

con = ldap.initialize(’ldap://localhost’) con.bind_s(‘user’, ‘pass’)

results = con.search_s(‘dc=domain,dc=com’, ldap.SCOPE_ONELEVEL, ‘(objectClass=dhcpService)’) service = schema.DHCPService.build_from_resultset(results[0])

service.attributes[‘dhcpPrimaryDN’] = [‘cn=New CN,dc=example,dc=com’] dn, old_entry = results[0] modlist = service.getModifyModlist(old_entry)

con.modify_s(dn, modlist) con.unbind_s()

Metadata

Release files for pydhcp-ldap-schema 0.1alpha

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pydhcp-ldap-schema 0.1alpha
File Size Uploaded
pydhcp-ldap-schema-0.1alpha.tar.gz 6.2 kB Details

Release files / pydhcp-ldap-schema-0.1alpha.tar.gz

Download URL pydhcp-ldap-schema-0.1alpha.tar.gz
Size 6.2 kB
Tags Source
SHA-256 checksum
How to use checksums
225e5ab221c16fe56d56c260f292102d27587724cf143e0447b149117d183d96
BLAKE2b-256 checksum
How to use checksums
c9f23b20f25f50c75f4dc82c63ff9347230f9a01555bb4c84569d2290fcc0320
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1alpha This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page