The creating of user accounts in ldap is working. I still need to add some code to make things a bit more configurable.
Added extra configuration options.