openldap: Add ldap backend. Import upstream fixes for startup scripts.
Merge pull request #771 from pyhalov/openldap

openldap: Add ldap backend. Import upstream fixes for startup scripts.