patch Bad char conversion Illegal multibyte prozeduranzahl

Volker Lendecke Volker.Lendecke at SerNet.DE
Thu Apr 8 14:44:13 MDT 2010


On Thu, Apr 08, 2010 at 09:47:01PM +0200, Heiko L. wrote:
> 
> Hallo,
> 
> > Is it possible that the encoding of "Fröhlich" does not
> > match what you have set in "unix charset"? For example, you
> > might have the ö in Fröhlich encoded as ISO8859-1, and Samba
> > possibly implicitly assumes UTF-8, or vice versa. Have you
> > tried to play with the unix charset setting?
> 
> You suggestion are possible...
> The account data are exported from IDM. (smbpasswd, not ldap)
> We have the problem since the update redhat (3.0.10)  -> centos (3.3.12)
> 
> 
> - System old
>   - windomainlogon:     o.k.
>   - smbclient:          o.k.
> 
>   $ cat /etc/redhat-release
>   Red Hat Enterprise Linux AS release 4 (Nahant Update 2)
> 
>   # grep "smbd version" log.smbd
>   smbd version 3.0.10-1.4E.2 started.
> 
>   # grep "char" /etc/samba/smb.conf
>   #
> 
> - System new
>   - windomainlogon:     err: "Die Prozeduranzahl liegt ausserhalb des
> erlaubten Bereichs"
>   - smbclient:          o.k.
> 
> 
>   # cat /etc/redhat-release
>   CentOS release 5.4 (Final)
> 
>   # grep "smbd version" log.smbd
>   smbd version 3.3.12 started.
> 
>   # echo $LANG
>   de_DE.UTF-8
> 
>   # grep "char" /etc/samba/smb.conf
>   #
> 
>   # grep $BENUTZER /etc/passwd| cut -d : -f 5 | hexdump -C
>   00000000  74 65 73 74 20 6a f6 72  62 72 61 6d 0a           |test
> j.rbram.|

74 65 73 74 20 6a f6 72  62 72 61 6d 0a

is "test jörbram" in iso8859-1. Your encoding is not UTF-8.

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20100408/cbf287d5/attachment.pgp>


More information about the samba-technical mailing list