Hello all:
We have, in the past, used the e-smith-adduser.sh script as presented at
http://myezserver.com/docs/mitel/addusers-howto.html. It has worked fine for us. However, yesterday we tried to add a batch of students to our SME5 server, and got the following error:
[root@smenu /root]# . e-smith-adduser.sh
: command not found
: command not found
bash: e-smith-adduser.sh: line 22: syntax error near unexpected token fi'
bash: e-smith-adduser.sh: line 22: fi'
[root@smenu /root]#
Does anyone have any suggestions for us? Or has anyone experienced similar problems with this script?
We have tried the following:
Installed SME5 on a fresh machine, ran the script, had the same error.
Ran the script on an e-smith 4.1.2 server and had the same error.
Cheers,
Mike