gislab-npo / gislab

GIS.lab - total reduction of deployment and maintenance costs for complete free and open source geospatial infrastructure
http://gislab-npo.github.io/gislab/
GNU General Public License v3.0
40 stars 14 forks source link

gislab-deluser: replace usage of 'id' command with ldapsearch #470

Closed imincik closed 9 years ago

imincik commented 9 years ago
GISLAB_USER_GROUPS=$(id -nG $GISLAB_USER \
    | grep '[[:space:]]' \
    | sed -r -e 's/^[^ ]* //' -e 's/[[:space:]]+/,/g')