jp-gouin / helm-openldap

Helm chart of Openldap in High availability with multi-master replication and PhpLdapAdmin and Ltb-Passwd
Apache License 2.0
199 stars 118 forks source link

Can't create custom user with custom ldif files. #103

Closed core3750x closed 1 year ago

core3750x commented 1 year ago

Describe the bug Im trying to create users with custom ldif.

To Reproduce Steps to reproduce the behavior: Create something like:

03-default-user.ldif: |-
    dn: cn=Jhon Red,cn=users,dc=dwh,dc=runit,dc=cc
    cn: Jhon Red
    gidnumber: 502
    givenname: Jhon
    homedirectory: /home/users/rjhon
    loginshell: /bin/bash
    objectclass: inetOrgPerson
    objectclass: posixAccount
    objectclass: top
    sn: Petrov
    uid: rjhon
    uidnumber: 1001
    userpassword: {MD5}Password

Expected behavior Users are created after helm upgrade and are shown in phpldapadmin