Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Aug 1, 2025
1 parent b77d67e commit 845d801
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions local-app/bin/check-users.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ cleanup()
}
trap cleanup EXIT

VERSION="1.2.0"
VERSION="1.2.1"
THIS=$(basename $0)
export TMPDIR=$(/bin/mktemp -d /tmp/check-users.XXXXXXXX) || (echo "#* error making TMPDIR" && exit 1)
#OUTFILE="$(basename $THIS .sh).$(date +%s).txt"
Expand All @@ -36,7 +36,7 @@ c=0
no_mail_count=0
separated_count=0
admin_leave_count=0
for f in $(awk -F, 'NR>1 {print $1}' users.csv)
for f in $(awk -F, 'NR>1 {print $1}' $FILE)
do
c=$(( c + 1 ))
/apps/terraform/bin/ldapsearch cn=$f dn employeeType mail loginDisabled groupMembership > $OUTFILE
Expand Down

0 comments on commit 845d801

Please sign in to comment.