삼바에 리눅스로 접근할때 한글 사용

lacovnk의 이미지

samba에서

dos charset = cp949
unix charset = euc-kr

로 되어있고, 보시다 시피 삼바 서버에서는 euc-kr를 사용하고 있습니다. (display charset은 안 쓰는 것 같아 굳이 설정하지 않았습니다; )

Quote:
display charset (G)
Specifies the charset that samba will use to print messages to stdout and stderr and SWAT
will use. Should generally be the same as the unix charset.
Default: display charset = ASCII
Example: display charset = UTF8
unix charset (G)
Specifies the charset the unix machine Samba runs on uses. Samba needs to know this in
order to be able to convert text to the charsets other SMB clients use.
This is also the charset Samba will use when specifying arguments to scripts that it
invokes.
Default: unix charset = UTF8
Example: unix charset = ASCII
dos charset (G)
DOS SMB clients assume the server has the same charset as they do. This option specifies
which charset Samba should talk to DOS clients.
The default depends on which charsets you have installed. Samba tries to use charset 850
but falls back to ASCII in case it is not available. Run testparm(1) to check the default
on your system.
No default

저렇게 해 놓으면 윈도우 머신에서 접근해서 아무런 문제가 없는데, utf8을 사용하고 있는 리눅스 머신에서 접근할때 한글 문제를 해결하지 못하고 있습니다.

smbmount 에서 iocharset=utf8,codepage=cp949 를 줬는데도 그러는 군요..

Quote:
iocharset=<arg>
sets the charset used by the Linux side for codepage to charset translations (NLS). Argu‐
ment should be the name of a charset, like iso8859-1. (Note: only kernel 2.4.0 or later)
codepage=<arg>
sets the codepage the server uses. See the iocharset option. Example value cp850. (Note:
only kernel 2.4.0 or later)

마운트 해서, utf8 머신에서 작성한 한글파일명은 삼바서버에서 ____로 보이고, 삼바서버에서 만든 한글파일명은 ??????으로 뜹니다;

또 설정해 줄 것이 어디 있나요? 으으..

덧. 마운트 옵션 에러의 로그는 어디에 저장되나요? /var/log/에 안남는군요.. 서버쪽의 /var/log/samba/를 뒤져봐도 없고..

lacovnk의 이미지

데스크탑 리눅스(utf8)로 부팅해서 마운트된 윈도우 파티션(euc-kr)에 복사합니다. (이건 호환 잘 되니까..)

윈도우로 부팅해서, 삼바머신(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
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.