[AUTH-9234] reversed username and uid

This commit is contained in:
Michael Boelen 2016-10-27 09:40:13 +02:00
parent 43d3088a04
commit e4cc0b1b9b
1 changed files with 1 additions and 1 deletions

View File

@ -310,7 +310,7 @@
if [ ! -z "${FIND_USERS}" ]; then
for FUSERNAME in ${FIND_USERS}; do
FDETAILS=$(dscacheutil -q user -a name ${FUSERNAME} | ${GREPBINARY} "^uid: " | ${AWKBINARY} '{print $2}')
FIND="${FDETAILS},${FUSERNAME} ${FIND}"
FIND="${FUSERNAME},${FDETAILS} ${FIND}"
done
else
FIND=""