diff --git a/Makefile b/Makefile index e5fa8125d49..4f2b551942a 100644 --- a/Makefile +++ b/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) diff --git a/htdocs/admin/ldap.php b/htdocs/admin/ldap.php index 36e46e32027..7243fdf23d2 100644 --- a/htdocs/admin/ldap.php +++ b/htdocs/admin/ldap.php @@ -73,8 +73,8 @@ print "\n"; print 'Serveur LDAP'.LDAP_SERVER_HOST.''; print 'DN'.LDAP_SERVER_DN.''; -print 'DN'.LDAP_SERVER_LOGIN.''; -print 'DN'.LDAP_SERVER_PASS.''; +print 'Login'.LDAP_SERVER_LOGIN.''; +print 'Pass'.LDAP_SERVER_PASS.''; print ''; @@ -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
";