I've used this module to install an LDAP server for testing here at Puppet Labs, but whenever I try to specify a uid or mail field ldapadd fails with an error:
ldap_add: Object class violation (65)
additional info: attribute 'uid' not allowed
I can see that you have the uid index set in the domain_template.erb:
index uid,memberUid eq,pres,sub
Maybe, my unfamiliarity with LDAP has betrayed me. I've added the following to the base.ldif.erb to have a test user:
dn: cn=Jillian Ada Burrows,<%= basedn %>
cn: Jillian Ada Burrows
cn: Jill Burrows
objectClass: person
sn: Burrows
uid: jill
userPassword: testing
Is there anything I need to change from your base configuration to make this work? Also, is there any built-in capability for creating more users other than editing the templates?
I've used this module to install an LDAP server for testing here at Puppet Labs, but whenever I try to specify a
uidormailfield ldapadd fails with an error:I can see that you have the uid index set in the
domain_template.erb:Maybe, my unfamiliarity with LDAP has betrayed me. I've added the following to the
base.ldif.erbto have a test user:Is there anything I need to change from your base configuration to make this work? Also, is there any built-in capability for creating more users other than editing the templates?