A strictly RFC 4510 conforming LDAP V3 pure Python client library
81
{
"context": "Evaluates how the solution uses ldap3 to configure server descriptors and preload schema/DSA metadata for offline-friendly LDAP profiling. Scoring rewards correct use of ldap3's Server construction, offline templates, and JSON definition helpers to fetch naming contexts and object classes without manual reimplementation.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Server setup",
"description": "Creates the server descriptor via ldap3.Server using the provided host, port, and security flag (use_ssl/tls/Tls) rather than custom socket handling.",
"max_score": 20
},
{
"name": "Info preload",
"description": "Preloads directory metadata with ldap3's get_info options (e.g., ALL, SCHEMA, DSA) so vendor, naming contexts, and schema are available directly on server.info/server.schema.",
"max_score": 20
},
{
"name": "Offline templates",
"description": "Resolves offline profile keys to ldap3's bundled OFFLINE_* constants or equivalent and instantiates Server with them so schema/info are populated without network traffic.",
"max_score": 20
},
{
"name": "Definition import",
"description": "Uses ldap3.Server.from_definition with server_info/schema JSON produced by ldap3 (e.g., server.info.to_json() and server.schema.to_json() round-tripped through json loads) instead of rebuilding dictionaries manually.",
"max_score": 20
},
{
"name": "Metadata extraction",
"description": "Derives naming contexts and object class names from ldap3 objects (server.info.naming_contexts, server.schema.object_classes/keys()) rather than reconstructing values manually.",
"max_score": 20
}
]
}Install with Tessl CLI
npx tessl i tessl/pypi-ldap3evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10