Bug 2621 - smbstatus/utmp, etc show underscores instead of characters for the hostname when a client with a unicode hostname is connected to us
smbstatus/utmp, etc show underscores instead of characters for the hostname w...
Status: NEW
Product: Samba 3.0
Classification: Unclassified
Component: File Services
3.0.10
All All
: P3 normal
: none
Assigned To: Jeremy Allison
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-04-15 17:32 UTC by Marc Kaplan
Modified: 2005-04-15 17:32 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 Marc Kaplan 2005-04-15 17:32:17 UTC
The code that gets the client name from sessionsetup must be assuming that the
hostname is ASCII, and if not converting the chars to underscores. For example,
I have a Cyrilic hostname, and what it's connected via Samba, smbstatus shows
the following:

[root@ThunderBird tests]# smbstatus

Samba version 3.0.10
PID     Username      Group         Machine
-------------------------------------------------------------------
 1081   mkaplan       mkaplan       ___________  (192.168.93.206)

Service      pid     machine       Connected at
-------------------------------------------------------
public        1081   ___________   Fri Apr 15 12:36:53 2005

Note that my smb.conf has unix charset = utf-8