Ldap authentication problem with WebUI

This syntax is correct. Try debug or debug verbose option to debug :
./scripts/auth_test.php -u testuser -d
./scripts/auth_test.php -u testuser -d -v