changer le champ FILE= pour indiquer dolibarr-1.2.0-cvs
changer dans l'affichage du serveur ldap les trois DN par les noms correspondants Login, Pass
This commit is contained in:
parent
cd0fe6fe76
commit
7ff23daa54
2
Makefile
2
Makefile
@ -20,7 +20,7 @@
|
||||
# General Makefile
|
||||
#
|
||||
|
||||
FILE=dolibarr-1.1.0
|
||||
FILE=dolibarr-1.2.0-cvs
|
||||
|
||||
tar:
|
||||
rm -fr dolibarr-*.tar.gz* $(FILE)
|
||||
|
||||
@ -73,8 +73,8 @@ print "</tr>\n";
|
||||
print '<tr><td>Serveur LDAP</td><td>'.LDAP_SERVER_HOST.'</td></tr>';
|
||||
|
||||
print '<tr><td>DN</td><td>'.LDAP_SERVER_DN.'</td></tr>';
|
||||
print '<tr><td>DN</td><td>'.LDAP_SERVER_LOGIN.'</td></tr>';
|
||||
print '<tr><td>DN</td><td>'.LDAP_SERVER_PASS.'</td></tr>';
|
||||
print '<tr><td>Login</td><td>'.LDAP_SERVER_LOGIN.'</td></tr>';
|
||||
print '<tr><td>Pass</td><td>'.LDAP_SERVER_PASS.'</td></tr>';
|
||||
|
||||
print '</table>';
|
||||
|
||||
@ -119,6 +119,7 @@ if (defined("LDAP_SERVER_HOST") && LDAP_SERVER_HOST && $_GET["action"] == 'test'
|
||||
//ldap_set_option($ds, LDAP_OPT_PROTOCOL_VERSION, 3);
|
||||
|
||||
$ldapbind = dolibarr_ldap_bind($ds);
|
||||
|
||||
if ($ldapbind)
|
||||
{
|
||||
print "bind ok<br>";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user