mirror of
https://github.com/YunoHost-Apps/spip_ynh.git
synced 2024-09-03 20:25:59 +02:00
7 lines
444 B
PHP
7 lines
444 B
PHP
<?php
|
|
if (!defined("_ECRIRE_INC_VERSION")) return;
|
|
$GLOBALS['ldap_base'] = 'dc=yunohost, dc=org';
|
|
$GLOBALS['ldap_link'] = @ldap_connect('localhost','389');
|
|
@ldap_set_option($GLOBALS['ldap_link'],LDAP_OPT_PROTOCOL_VERSION,'3');
|
|
@ldap_bind($GLOBALS['ldap_link'],'dc=yunohost,dc=org','');
|
|
$GLOBALS['ldap_champs'] = array('login' => array('sAMAccountName','uid','login','userid','cn','sn'),'nom' => 'cn','email' => 'mail','bio' => 'description',);
|