Topic: problems creating users create_mail_user_OpenLDAP.py

hi I'm trying to create users with this script create_mail_user_OpenLDAP.py the csv file with excel, I created the bug that is giving me the following
python create_mail_user_OpenLDAP.py ultimo.csv
<INFO> Remove exist file: ultimo.csv.ldif
Traceback (most recent call last):
   File "create_mail_user_OpenLDAP.py", line 212, in <module>
     dn, data = ldif_mailuser (domain, username, passwd, cn, quota, groups)
   File "create_mail_user_OpenLDAP.py", line 155, in ldif_mailuser
     username [0],
IndexError: string index out of range

any idea about it


Get fast and professional support from iRedMail developers:


Re: problems creating users create_mail_user_OpenLDAP.py

If seems there's an empty line in your csv file.


Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee