19 lines
380 B
Python
19 lines
380 B
Python
#!/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()
|
|
|