Submitted by michal@trustica.cz on Mon, 01/06/2014 - 03:29
Hello,
when i add new email user to server and type special characters (such as ľščťžý) in the "Real name" column, i get this error:
Failed to save mailbox : Failed to add user to LDAP database : cn: value #0 invalid per syntax
It creates the homedir, so when I try again without special characters, virtualmin says:
Failed to save mailbox : Home directory /home/customer/homes/test already exists
Could you please help?
Thank you
Michal
Status:
Active
Comments
Submitted by JamieCameron on Mon, 01/06/2014 - 11:32 Comment #1
Looks like your LDAP server is rejecting the real name - you may want to check the server configuration and schema.
Submitted by michal@trustica.cz on Wed, 01/08/2014 - 01:04 Comment #2
Any hint how?
Submitted by andreychek on Wed, 01/08/2014 - 09:30 Comment #3
Out of curiosity, does the directory "/home/customer/homes/test" already exist? You can determine that by running this command:
ls -ld /home/customer/homes/test
Submitted by michal@trustica.cz on Wed, 01/08/2014 - 13:39 Comment #4
Thanks for helping with such trivial thing :) The directory does not exist before error, but does after the error.
So it does not save new user but creates the homedir.
I need help how to diagnose / change settings of LDAP to get Real name working with special chars.
Submitted by JamieCameron on Wed, 01/08/2014 - 15:22 Comment #5
I don't know how to configure OpenLDAP to accept non-ascii characters unfortunately .. and a google search didn't turn anything up.
Are you using only "european" language characters (from iso-8859-1) , or are you using characters from a double-byte language like Chinese, Japanese or Russian?