1

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

2

Re: problems creating users create_mail_user_OpenLDAP.py

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