Alternc  3.2
Alternc logiel libre pour l'h├ębergement
 All Data Structures Namespaces Files Functions Variables Pages
0.9.1_migrationldap.php File Reference

Go to the source code of this file.

Variables

if(!($ds=ldap_connect($L_LDAP_HOST)))
if(!(ldap_bind($ds,
$L_LDAP_ROOT, $L_LDAP_ROOTPWD)))
if(!mysql_connect($L_MYSQL_HOST,
$L_MYSQL_LOGIN, $L_MYSQL_PWD))
if(!mysql_select_db($L_MYSQL_DATABASE)) 
$sr = ldap_search($ds,"dc=domains,".$L_LDAP_POSTFIX,"(type=mail)",array("mail","uid","account","pop"))
 $info = ldap_get_entries($ds, $sr)
 if ($info["count"]==0)
 for ($i=0;$i<$info["count"];$i++)

Variable Documentation

$info = ldap_get_entries($ds, $sr)

Definition at line 35 of file 0.9.1_migrationldap.php.

Referenced by m_mysql\php_myadmin_connect(), and DB_Sql\table_names().

$sr = ldap_search($ds,"dc=domains,".$L_LDAP_POSTFIX,"(type=mail)",array("mail","uid","account","pop"))

Definition at line 34 of file 0.9.1_migrationldap.php.

for($i=0;$i<$info["count"];$i++)

Definition at line 41 of file 0.9.1_migrationldap.php.

if($info["count"]==0)

Definition at line 36 of file 0.9.1_migrationldap.php.