From ea5357e001a195854e1e0cf989bf425741ff776a Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Thu, 17 Nov 2016 23:51:37 +0100 Subject: [PATCH] add eduPersonAffiliation and eduPersonPrimaryAffiliation to export-ldap2psl --- export-ldap2psl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/export-ldap2psl b/export-ldap2psl index 34bce75..abeee98 100755 --- a/export-ldap2psl +++ b/export-ldap2psl @@ -9,7 +9,7 @@ LOG=`tempfile` trap "rm $TMP $LOG" EXIT if ldapsearch -L -E pr=2147483647/noprompt $CREDENTIALS -s base -b dc=curie,dc=fr '' objectClass dc supannEtablissement o >$TMP 2>$LOG && \ ldapsearch -L -E pr=2147483647/noprompt $CREDENTIALS -s base -b ou=people,dc=curie,dc=fr '' objectClass ou >>$TMP 2>$LOG && \ - ldapsearch -L -E pr=2147483647/noprompt $CREDENTIALS -s one -b ou=people,dc=curie,dc=fr '' objectClass cn uid sn givenName supannEtablissement mail telephoneNumber supannListRouge >>$TMP 2>$LOG; then + ldapsearch -L -E pr=2147483647/noprompt $CREDENTIALS -s one -b ou=people,dc=curie,dc=fr '' objectClass cn uid sn givenName supannEtablissement mail telephoneNumber supannListRouge eduPersonAffiliation eduPersonPrimaryAffiliation >>$TMP 2>$LOG; then echo 'version: 1' cat $TMP | sed '/^version: 1/d' | sed '/^objectClass: icPerson/d' exit 0