diff --git a/src/ninenote-1.0/src/Command/SynchroUsersCommand.php b/src/ninenote-1.0/src/Command/SynchroUsersCommand.php index bfedf56..7c2f2d2 100644 --- a/src/ninenote-1.0/src/Command/SynchroUsersCommand.php +++ b/src/ninenote-1.0/src/Command/SynchroUsersCommand.php @@ -166,7 +166,7 @@ class SynchroUsersCommand extends Command $cn=$result["cn"]; $ldapfilter="(&(type=Classe)(cn=$cn))"; - $label="ELEVES DE LA CLASSE - ".$result["cn"]; + $label="ELEVES - ".$result["cn"]; $this->writeln(" - $label"); if(!$simulate) $this->addmodGroup($label,$ldapfilter,false); } @@ -179,7 +179,7 @@ class SynchroUsersCommand extends Command $cn=$result["cn"]; $ldapfilter="(|(&(type=Equipe)(cn=profs-$cn))(&(ENTPersonProfils=Administratif)(divcod=$cn)))"; - $label="PROFESSEURS DE LA CLASSE - ".$result["cn"]; + $label="PROFESSEURS - ".$result["cn"]; $this->writeln(" - $label"); if(!$simulate) $this->addmodGroup($label,$ldapfilter,false); } diff --git a/tmpl/ninenote-env.local b/tmpl/ninenote-env.local index 6010638..e98bbbb 100755 --- a/tmpl/ninenote-env.local +++ b/tmpl/ninenote-env.local @@ -76,8 +76,8 @@ LDAP_USERNAME=uid LDAP_FIRSTNAME=givenname LDAP_LASTNAME=sn LDAP_EMAIL=mail -LDAP_FILTERGROUP=(&(ObjectClass=posixGroup)(cn=*)) -LDAP_FILTERUSER=(&(ObjectClass=person)(uid=*)) +LDAP_FILTERGROUP='(&(ObjectClass=posixGroup)(cn=*))' +LDAP_FILTERUSER='(&(ObjectClass=person)(uid=*))' %else LDAP_USERNAME=%%ninenote_ldapuid LDAP_FIRSTNAME=%%ninenote_ldapfirstname