Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.

Plans for the future.

Testing

For testing I have included an embedded LDAP server. This can be launched by running:

Code Block
languagebash
themeMidnight
mvn -pl :cloud-plugin-user-authenticator-ldap ldap:run

Once this is up integration tests can be launched with:

Code Block
languagebash
themeMidnight
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

UI Additions

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.