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