Samba smbclient 한글이 ___ 로..

kwon37xi의 이미지

Redhat 7.3 에서 Samba(삼바) 2.2.x (기본 RPM)을 사용하고 있습니다.
제 Linux의 한글코드는 EUC-KR 입니다.

smbmount 도 잘 되고.. 다 잘 되는데, smbclient 를 실행하면 한글 파일/디렉토리명이 모두 ___로 나와버립니다.

smb 마운트시에는 멀쩡하게 한글 잘됩니다.
헌데 smbmount -L 로 공유된 디렉토리 목록을 볼 때는 한글 잘만 나옵니다.

이찌해야 쓰까요?? ㅜ.ㅜ

아래는 제 /etc/samba/smb.conf 의 일부입니다.

        workgroup=WORKGROUP
        server string = 내이름
        encrypt passwords = Yes
        obey pam restrictions = Yes
        pam password change = Yes
        passwd program = /usr/bin/passwd %u
        passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
        unix password sync = Yes
        log file = /var/log/samba/%m.log
        max log size = 0
        socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        dns proxy = No
        printing = lprng

        #coding system = KS8
        client code page = 949
        mangle case = no
        preserve case = yes
        short preserve case = yes

coding system 의 경우에는 하나 안하나 똑같더군요.

아래는 한글 파일이 보이는 모양입니다..

  __.bmp                              A    16730  Mon Jan 10 21:00:00 2000
  __.bmp                              A    17336  Mon Jan 10 21:00:00 2000
  ____ __.bmp                         A    65954  Mon Jan 10 21:00:00 2000
  __.bmp                              A    26680  Mon Jan 10 21:00:00 2000
  __ _.bmp                            A    17362  Mon Jan 10 21:00:00 2000
  __ __.bmp                           A     9522  Mon Jan 10 21:00:00 2000
  __ __.bmp                           A    65832  Mon Jan 10 21:00:00 2000
  __ __.bmp                           A    65978  Mon Jan 10 21:00:00 2000
  __ _.bmp                            A    17062  Mon Jan 10 21:00:00 2000
  __ ___ 16.bmp                       A     1272  Mon Jan 10 21:00:00 2000
  __.bmp                              A    26582  Mon Jan 10 21:00:00 2000
chronon의 이미지

터미널 폰트 문제일 것 같은데 영문 전용 폰트 쓰시는 것 아닌가요?

kwon37xi의 이미지

chronon wrote:
터미널 폰트 문제일 것 같은데 영문 전용 폰트 쓰시는 것 아닌가요?

아뇨..
한텀을 사용합니다.
한글 잘 나오구요..
smbclient -L servername 으로 볼때 공유 디렉토리 목록은 한글이 잘 나옵니다... ㅜ.ㅜ
파도의 이미지

EUC-KR과 UTF-8간의 문제는 아닐까요?

--------Signature--------
시스니쳐 생각 중..

kwon37xi의 이미지

파도 wrote:
EUC-KR과 UTF-8간의 문제는 아닐까요?

제 리눅스 박스는 euc-kr입니다.
접속하는 윈도우는 대부분 윈도우 2000 프로입니다. 대부분이 아니라.. 전부다...
hiandy의 이미지

gmail 계정 필요하시면 언제든지 메일주세요
damoa.biz골뱅이gmail.com
http://album.damoa.biz

kwon37xi의 이미지


감사합니다만, 이미 링크에 적힌대로 다 되어 있는 상태입니다.
제 삼바의 버전은 2.2.7 입니다.
윤용식의 이미지

제건 3.0.2a 인데
charset관련 설정은 3곳이더군요

dos charset = cp850
unix charset = EUC-KR
display charset = EUC-KR

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.