Première version

This commit is contained in:
2025-07-31 16:03:18 +02:00
commit 1893f8375e
6 changed files with 161 additions and 0 deletions

18
explore_ldap.py Normal file
View File

@ -0,0 +1,18 @@
#!/usr/bin/env python3
from scribe.enseignants import LdapEnseignant
from scribe.eoleldap import Ldap
from scribe.storage import init_store
from scribe.importation import config
from scribe.storage import Enseigant
storage = init_store(config.DB_STORE)
connexion = Ldap()
connexion.connect()
user = LdapEnseignant()
user.ldap_admin = connexion
user.ldap_admin._search_one()