Various fixes

See the commit https://github.com/sathieu/puppet-openldap/commit/83db4d4a6d8caffe1c717369f7b44857f770e8d2 which has the proper description.