[PATCH] LDAP_EXOP charset fix

Andrew Bartlett abartlet at samba.org
Wed Sep 17 22:21:30 GMT 2003

On Thu, 2003-09-18 at 02:12, Dariush Forouher wrote:
> Samba gives the password to ldap_extended_operation in unicode, while it
> should be saved in local charset (e.g. ISO-8859-15) instead. The current
> behaviour causes problems with other ldap clients like pam_ldap, because
> they don't transcode the password to unicode. Attached patch should fix
> this.

No, this is a bug in pam_ldap then.  We should never send data to LDAP
that is not utf8.  What makes the 'unix charset' of *this* machine
special anyway?  Nobody is saying that it is the same as the charset of
any other machine, nor that 'unix charset' is the localle charset.

Andrew Bartlett

Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20030917/066fe430/attachment.bin

More information about the samba-technical mailing list