More fixes and an init script to openldap