Hello,
What is the needed configuration to be able to run the whole LDAP test suite?
It connects with "cn=Manager,dc=my-domain,dc=com" but then tries to create "dc=my-domain,dc=com".
How can "cn=Manager,dc=my-domain,dc=com" exist if "dc=my-domain,dc=com" does not?
Is there any information about a known configuration to be able to pass all LDAP tests?
Côme
PS: Also, is there a way to launch only ldap tests with PHP Makefile?
On 15 June 2015 at 14:02, Côme BERNIGAUD come.bernigaud@opensides.be
wrote:
Hello,
What is the needed configuration to be able to run the whole LDAP test
suite?
It connects with "cn=Manager,dc=my-domain,dc=com" but then tries to create
"dc=my-domain,dc=com".
How can "cn=Manager,dc=my-domain,dc=com" exist if "dc=my-domain,dc=com"
does not?Is there any information about a known configuration to be able to pass
all LDAP tests?Côme
PS: Also, is there a way to launch only ldap tests with PHP Makefile?
You can't do it with "make test" afaik, but you can manually invoke
run-tests.php and pass it a path, e.g. php run-tests.php ext/ldap/
On 15 June 2015 at 14:02, Côme BERNIGAUD come.bernigaud@opensides.be
wrote:Hello,
What is the needed configuration to be able to run the whole LDAP test
suite?
It connects with "cn=Manager,dc=my-domain,dc=com" but then tries to create
"dc=my-domain,dc=com".
How can "cn=Manager,dc=my-domain,dc=com" exist if "dc=my-domain,dc=com"
does not?Is there any information about a known configuration to be able to pass
all LDAP tests?
Check out ext/ldap/tests/connect.inc; you can pass various parameters
from the environment.
Côme
PS: Also, is there a way to launch only ldap tests with PHP Makefile?
You can't do it with "make test" afaik, but you can manually invoke
run-tests.php and pass it a path, e.g. php run-tests.php ext/ldap/
You can run make test TESTS=path/to/ext/ldap
.
--
Regards,
Mike
Check out ext/ldap/tests/connect.inc; you can pass various parameters
from the environment.
I know that, but we can’t select the base, and it does not change anything to the fact that it tries to add the base, which have to already exists for the admin user account to exists.
Can I try and fix this? (Add an env var for the base, remove base creation.)
My original question was if someone managed to pass all ldap tests as is. And how he did that (which admin/base situation he used for both connection and base creation to work)
You can run
make test TESTS=path/to/ext/ldap
.
Awesome, thank you!