...
I do realise I could implement checks within the updateUser API command to disable the updating of passwords within the Cloudstack database when LDAP is enabled however I feel this is imposing on the codebase too much.
For testing I have included an embedded LDAP server. This can be launched by running:
Code Block | ||||
---|---|---|---|---|
| ||||
mvn -pl :cloud-plugin-user-authenticator-ldap ldap:run
|
Once this is up integration tests can be launched with:
Code Block | ||||
---|---|---|---|---|
| ||||
nosetests --with-marvin --marvin-config=setup/dev/local.cfg test/integration/component/test_ldap.py --load |
If you wish to use this LDAP server for development purposes you can. Just add a host on the LDAP Configuration page with hostname: localhost port: 10389
Progress on UI features is slow. At the moment I have a list of LDAP users coming up when you click add account. You can pick an user and then fill in the optional informationLook at UI features.