Bug 2437 - convert_string_allocate: Conversion error: Incomplete multibyte sequence()
convert_string_allocate: Conversion error: Incomplete multibyte sequence()
Status: NEW
Product: Samba 3.0
Classification: Unclassified
Component: smbclient
3.0.11
Sparc Solaris
: P3 major
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-03-09 20:42 UTC by Jeff Martin
Modified: 2005-03-16 21:06 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Martin 2005-03-09 20:42:45 UTC
Solaris 9 04/04 on sunblade100 with Sun recommended patchset from Sept 2004.
followed std build instructions: 
./configure --with-acl-support; make; make install
gcc 3.4.2
SMCncurs 5.4
SMCreadl 5.0
SMCpopt 1.7

pdbedit -L gives the following (snipped for brevity)
convert_string_internal: Conversion error: Incomplete multibyte sequence()
root:0:Super-User

When connecting, I see the following error in /var/log/samba.{machinename}

[2005/03/09 19:18:25, 3] auth/auth.c:check_ntlm_password(222)
  check_ntlm_password:  mapped user is: [AHT]\[]@[VAIO]
[2005/03/09 19:18:25, 3] lib/charcnv.c:convert_string_allocate(576)
  convert_string_allocate: Conversion error: Incomplete multibyte sequence()



smbclient -L \\AHTPDC -U%
Domain=[AHT] OS=[Unix] Server=[Samba 3.0.11]

        Sharename       Type      Comment
        ---------       ----      -------
        profiles        Disk
        Public          Disk      Privately Accessible Data
        Private         Disk      Publicly Accessible Data
        Peachtree       Disk      Peachtree Accounting
        TimeinaBox      Disk      Time In A Box
        tmp             Disk      Temporary file space
        ISOimages       Disk      AHT Software Library
        PrivateDump     Disk      Private Archive File Repository
        PublicDump      Disk      Public Archive File Repository
        IPC$            IPC       IPC Service (Samba 3.0.11)
        ADMIN$          IPC       IPC Service (Samba 3.0.11)
Domain=[AHT] OS=[Unix] Server=[Samba 3.0.11]

        Server               Comment
        ---------            -------
        AHTPDC               Samba 3.0.11

        Workgroup            Master
        ---------            -------
        AHT                  AHTPDC

Please let me know if you need any other information, I'll be happy to provide
it to you, thanks!

Jeff

smb.conf

[global]
        unix charset = CP850
        display charset = CP850
        username map = /etc/samba/smbusers
        interfaces = eri0 127.0.0.1/24
        bind interfaces only = yes
        time server = yes
        passdb backend = tdbsam
        show add printer wizard = No
        socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_SNDBUF=16384
        read raw = yes
        write raw = yes
        getwd cache = yes
        workgroup = AHT
        netbios name = AHTPDC
        log level = 3
        log file = /var/log/samba.%m
        os level = 128
        remote announce = 192.168.0.0/AHT
        domain master = Yes
        wins support = Yes
        security = user
        encrypt passwords = yes
        ldap ssl = no
        domain logons = yes
        logon drive = H:
#
# use the 2 below for roaming profiles
#
#       logon path = \\%N\profiles\%u
#       logon home = \\ahtinc\%u\winprofile
        add user script = useradd -d /dev/null -g 100 -s /bin/false %u

[netlogon]
        path = /opt/samba/netlogon
        admin users = @ntadmins
        browseable = no
        guest ok = yes
        read only = yes
        write list = @ntadmins

[profiles]
        path = /opt/samba/profiles
        read only = no
        create mask = 0600
        directory mask = 0700

[Public]
        comment = Privately Accessible Data
        path = /export/public
        valid users = @ntadmins @staff
        write list = @ntadmins @staff

[Private]
        comment = Publicly Accessible Data
        path = /export/private
        read only = no
        write list = @ntadmins
        valid users = @ntadmins

[homes]
        comment = Home Directories
        path = /home/%u
        valid users = %u
        browseable = no
        read only = no
        create mode = 0750

[Peachtree]
        comment = Peachtree Accounting
        path = /export/apps/peachw
        valid users = @ntadmins
        write list = @ntadmins
        fake oplocks = NO
        level 2 oplocks = NO

[TimeinaBox]
        comment = Time In A Box
        path = /export/apps/tib
        valid users = @ntadmins
        write list = @ntadmins

[tmp]
        comment = Temporary file space
        path = /tmp
        read only = no
        public = yes

[ISOimages]
        comment = AHT Software Library
        path = /export/isoimages
        read only = yes
        write list = @ntadmins
        public = yes
        browseable = yes

[PrivateDump]
        comment = Private Archive File Repository
        path = /export/private/Archive
        write list = @ntadmins
        browseable = yes

[PublicDump]
        comment = Public Archive File Repository
        path = /export/public/Archive
        write list = @ntadmins
        browseable = yes
Comment 1 Jeff Martin 2005-03-09 22:37:21 UTC
adding this as I just saw it, I've been unable to login to SWAT and just checked
/usr/local/samba/var/swat.log and there are many thousand lines of the following:

[2005/03/09 20:45:26, 3] lib/charcnv.c:convert_string_internal(235)
  convert_string_internal: Conversion error: Incomplete multibyte sequence()
[2005/03/09 20:45:26, 3] lib/charcnv.c:convert_string_internal(235)
  convert_string_internal: Conversion error: Incomplete multibyte sequence()
[2005/03/09 20:45:26, 3] lib/charcnv.c:convert_string_internal(235)
  convert_string_internal: Conversion error: Incomplete multibyte sequence()

So it is affecting SWAT as well.
Comment 2 Jeff Martin 2005-03-16 21:06:14 UTC
Just an FYI, installed libiconv 1.9 and recompiled 3.0.12pre1 and I still 
receive the same errors. This seems like a big issue to me, but maybe not... 
would really like some feedback on it if possible. Thanks.