unicode & ldap
Gerald (Jerry) Carter
jerry at samba.org
Wed May 21 13:41:35 GMT 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thu, 15 May 2003, Stefan (metze) Metzmacher wrote:
> 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.
I think this is a different bug. What was the initial LDIF version of the
user (assuming the posixAccount entry already existed).
> 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...
Agreed. I've just updated the schema for
sambaLogonScript
sambaProfilePath
sambaUserWorkstations
sambaHomePath
sambaDomainName
The rest can stay as IA5Strings i think. We'll have to work on
pdb_ldap.c some.
cheers, jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/
iD8DBQE+y4IPIR7qMdg1EfYRAjseAJ9Xr5msvI98b/4PMkpQzGMrZ6ugyQCePJUX
x+GQs2lBZkGgsaqRXqEwkfA=
=gPWy
-----END PGP SIGNATURE-----
More information about the samba-technical
mailing list