Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.11.1 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

setup.sh, rechercher un groupe dans ldap

Bonjour, dans le script d'installation setup.sh dans le cas où le groupe avec lequel tourne apache est dans un annuaire ldap donc la commande de la ligne 429

if [ `cat /etc/group | grep $APACHE_GROUP | wc -l` -eq 0 ]

Ne renvoie rien car $APACHE_GROUP n'est pas présent dans le /etc/group

J'ai modifié la ligne :

if [ "`id --group --name $APACHE_GROUP`" != "$APACHE_GROUP" ]

in OCS Inventory NG server for Unix by (230 points)

3 Answers

0 votes
Bonjour

Merci de déclarer un bug sur https://bugs.launchpad.net/ocsinventory-server/+filebug afin de pouvoir intégrer cette correction.

Cordialement

Frankb
by (88.5k points)
0 votes
by (230 points)
0 votes
Bonsoir,

Merci pour la déclaration.
by (88.5k points)
 
Powered by Question2Answer
...