当我试图在OpenLDAP 2.4.32上添加一个用户时,我会得到一个ldap语法错误。
ldapmodify.exe" -a -x -H ldap://localhost -D %LDAP_ROOT% -w %LDAP_SECRET%
dn:uid=aöich,ou=Users,dc=cricbox,dc=in
changetype: add
objectClass:person
objectClass:inetOrgPerson
objectClass:organizationalPerson
uid:aöich
cn:aöich
sn:aöich
ldap_add: Invalid DN syntax (34)
additional info: invalid DN如何在OpenLDAP服务器上添加德语mmlaut字符的用户?
发布于 2013-11-29 08:43:48
检查数据库架构是否支持Unicode。在这里查看LDAP文档:
attributeType ( 2.5.4.41 NAME 'name'
DESC 'name(s) associated with the object'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32768} )
attributeType ( 2.5.4.3 NAME ( 'cn' 'commonName' )
DESC 'common name(s) assciated with the object'
SUP name )您的属性应该包含:
directoryString 1.3.6.1.4.1.1466.115.121.1.15 Unicode (UTF-8) stringhttps://stackoverflow.com/questions/20281019
复制相似问题