I'm trying to read from a file and add to LDAP

Hi all
I'm trying to write a script that reads from a file and then insert the record by a command line tool into LDAP. here is the file format

FirstName LastName uid password

and here is the script that I wrot:

#!/bin/sh
INPUT='/export/home/user/input'

while read fname lname uid pass
do
imadmin user create -D ServiceAdmin -w **** -n domain.com -d sub.domain.com -F [${fname}] -L [${lname}] -l [${uid}] -W [${pass}] -H mail.domain.com
done < "${INPUT}"

the problem that I faced is that I got this messege:

stty: : Inappropriate ioctl for device

but the record was sccessfully enterd

What does the message mean? what did I do wrong ?

Regards