Skip to content

Commit

Permalink
Add mkhome support for hyphen in usernames
Browse files Browse the repository at this point in the history
  • Loading branch information
cmd-ntrf committed Sep 27, 2024
1 parent 17e0b96 commit ef3e870
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/profile/templates/accounts/mkhome.sh.epp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if [[ ! -p ${MKHOME_MODPROJECT_PIPE} ]]; then
fi

(
tail -F /var/log/dirsrv/slapd-*/access | grep --line-buffered -oP 'ADD dn=\"uid=\K([a-z0-9A-Z_]*)(?=,cn=users)' &
tail -F /var/log/dirsrv/slapd-*/access | grep --line-buffered -oP 'ADD dn=\"uid=\K([a-z0-9A-Z-_]*)(?=,cn=users)' &
tail -F ${MKHOME_RETRY_PIPE}
) |
while read USERNAME; do
Expand Down

0 comments on commit ef3e870

Please sign in to comment.