From f5997e613d20da2ba5198311816fa90b4c409379 Mon Sep 17 00:00:00 2001 From: Quentin Duchemin <quentinduchemin@tuta.io> Date: Thu, 3 Sep 2020 17:31:52 +0200 Subject: [PATCH] [LDAP] Try to fix invalid LDIF entry --- pica-openldap/bootstrap/ldif/init.ldif | 12 ++++++------ pica-openldap/environment/pica.startup.yaml | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pica-openldap/bootstrap/ldif/init.ldif b/pica-openldap/bootstrap/ldif/init.ldif index 2cfe2971..c2893c6c 100644 --- a/pica-openldap/bootstrap/ldif/init.ldif +++ b/pica-openldap/bootstrap/ldif/init.ldif @@ -60,13 +60,13 @@ loginShell: /bin/bash uidNumber: -1 givenName: Prénom sn: Nom -uid: Identifiant unique (type login : qduchemi) +uid: example sshPublicKey: ssh-rsa [...] -homeDirectory: Arbitraire, comme par exemple /home/users/<login> -userPassword:: -authorizedService: Nom de service (e.g. wiki, ou cloud). Champ duplicable. -host: Nom de machine, ou * pour toutes les machines. Champ duplicable. -shadowExpire: Date d'expiration du compte, en nombre de jours depuis le 01/01/1970, ou -1 pour illimité. Voir https://www.epochconverter.com/seconds-days-since-y0 +homeDirectory: /home/users/example +userPassword:: XXXX +authorizedService: example +host: example +shadowExpire: -1 description: Ce type de compte est réservé aux utilisateurs physiques, pouvant avoir un accès aux machines. dn: cn=exemple,ou=Services,{{ LDAP_BASE_DN }} diff --git a/pica-openldap/environment/pica.startup.yaml b/pica-openldap/environment/pica.startup.yaml index 2cd40611..a5081d81 100644 --- a/pica-openldap/environment/pica.startup.yaml +++ b/pica-openldap/environment/pica.startup.yaml @@ -21,4 +21,4 @@ LDAP_TLS_CA_CRT_FILENAME: chain.pem LDAP_TLS_ENFORCE: true LDAP_TLS_VERIFY_CLIENT: never -HOSTNAME: ldaps.picasoft.net +HOSTNAME: ldap.picasoft.net -- GitLab