unicode & ldap

Stefan (metze) Metzmacher metze at metzemix.de
Thu May 15 12:24:42 GMT 2003


At 15:59 15.05.2003 +0400, Alex Deiter wrote:
>I'm running samba-3a24 and see errors on change 'displayName' attribute:
>
># pdbedit -u aaa -f 'english'
>...
>Full Name:            english
>...
># pdbedit -u aaa -f 'ÓÕÓÓËÉÊ'
>...
>Full Name:            ÓÕÓÓËÉÊ
>...
># pdbedit -u aaa -f 'new'
>failed to modify user dn= uid=aaa,ou=users,dc=komi,dc=mts,dc=ru with: No
>such attribute
>         modify/delete: displayName: no such value
>failed to modify user with uid = aaa, error: modify/delete: displayName: no
>such value (Success)
>Unable to modify entry!

This is maybe because the attributes we fill are ASCII strings.

Jerry: we should move some attributes in the new LDAP schema to
directory strings (utf-8)

and in pdb_ldap we should take care of which fields we can fill with utf-8 
and which not...



directoryString 1.3.6.1.4.1.1466.115.121.1.15   UTF-8 string
IA5String               1.3.6.1.4.1.1466.115.121.1.26   ASCII string




metze
-----------------------------------------------------------------------------
Stefan "metze" Metzmacher <metze at metzemix.de> 




More information about the samba-technical mailing list