Skip to content

Issue with uid: and mail: attributes when creating users #3

Description

@adaburrows

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions