Dear All,
I have upgrade and migrated the data to zimbra 8.5 from 7 x quite sometime back with no issues and its working fine
there is a need to create about 100 users so i have a simple script which i used before a couple of times and it worked fine but yesterday when i tried to create users it gives me the below error.
--------------------
Email: s1524375@kilaw.edu.kw,51575,Hamad
Password: Khalid,Abdulaziz,Abohaimad,50000000
Display:
First:
Last:
Quota:
ERROR: account.NO_SUCH_DOMAIN (no such domain: kilaw.edu.kw,51575,hamad)
Email: s1524377@kilaw.edu.kw,98577,abdullah
Password: khaled,saleh,alojaiman,50000000
Display:
First:
Last:
Quota:
ERROR: account.NO_SUCH_DOMAIN (no such domain: kilaw.edu.kw,98577,abdullah)
--------------------
below is the script and the csv file sample.
-------------------
FS=","
while read email password display firstname lastname quota
do
echo Email: $email
echo Password: $password
echo Display: $display
echo First: $firstname
echo Last: $lastname
echo Quota: $quota
zmprov ca "$email" "$password" displayName "$display" givenName "$firstname" sn
"$lastname" zimbraMailQuota "$quota"
done </opt/tmp/newstudents.csv
---------------------
sample csv file
-------------------
s1524375@kilaw.edu.kw,51575,Hamad Khalid,Abdulaziz,Abohaimad,50000000
s1524377@kilaw.edu.kw,98577,abdullah khaled,saleh,alojaiman,50000000
s1524375@kilaw.edu.kw,51575,Hamad Khalid,Abdulaziz,Abohaimad,50000000
s1524377@kilaw.edu.kw,98577,abdullah khaled,saleh,alojaiman,50000000
s1524379@kilaw.edu.kw,47879,Amera abdulaziz,ali,alaradah,50000000
s1524381@kilaw.edu.kw,78581,mohammad jehad,ebrahim,alyagout,50000000
s1524383@kilaw.edu.kw,11183,abdulaziz zaid,abdulaziz,alhouti,50000000
---------------
if I create the user in admin gui there is no issue. also the domain name as seen in admin panel is correct
appreciate your help and advice
regards
simon