10 lines
248 B
Python
10 lines
248 B
Python
# -*- coding: utf-8 -*-
|
|
#
|
|
# Connexion à la base ldap (pour requêtes diverses)
|
|
|
|
import sys
|
|
if '/usr/scripts' not in sys.path:
|
|
sys.path.append('/usr/scripts')
|
|
import lc_ldap.shortcuts
|
|
|
|
ldap_conn=lc_ldap.shortcuts.lc_ldap_readonly(user="bcfg2")
|