질문좀.. 삼바클라이언트에 관한..

DAMASCUS의 이미지

안녕하세요.
리눅스 시작한지 얼마 되지 않은 초보 리눅서 입니다.

삼바에 대한 질문인데요;;
사용중인 리눅스는 레드햇 9.0 입니다.
설치할때 같이 있는 삼바를 설치해서 사용중이구요.

옆에 윈도우 2003 pc 가 있습니다.
삼바를 설치 후

윈도우 2003에서 리눅스의 공유 파일들을 사용 할수 있게 되었습니다.
그런데;; 반대로 리눅스에서 삼바클라이언트를 통해서 윈도우2003에 접속하려고 하니..

[root@net root]# smbclient -L windows -U administartor
added interface ip=172.16.175.25 bcast=172.16.255.255 nmask=255.255.0.0
Got a positive name query response from 172.16.175.22 ( 172.16.175.22 )
Password:
session setup failed: NT_STATUS_LOGON_FAILURE
[root@net root]#

[root@net root]# smbclient //windows/kid -U administrator
added interface ip=172.16.175.25 bcast=172.16.255.255 nmask=255.255.0.0
Got a positive name query response from 172.16.175.22 ( 172.16.175.22 )
Password:
Domain=[CMC] OS=[Windows Server 2003 3790] Server=[Windows Server 2003 5.2]
tree connect failed: NT_STATUS_ACCESS_DENIED

이런식으로 되어버리는군요 ..
뒤에 유저 로그인 형식도 붙였는데... ;;
어떻게 해야;; 접속이 가능할까요?

소리의 이미지

윈도끼리 파일 공유할 때도 ACCESS_DENIED 에러가 나는 경우가 잦더군요.
그럴 때 공유 드라이브를 만들어 주면 접속이 되던데.

삼바로 사용할 때도 마운트로 해 보시면 어떨까요? 전 이렇게 사용합니다.

mount -t smbfs -o username=유저네임,password=비번 //192.168.x.x/공유폴더 /mnt/마운트명

비밀번호가 설정되어있지 않은 경우엔 username 항목은 없애버리시고 ,password=, 이렇게만 적어주시면 됩니다.

그리고, 접속할 컴퓨터의 주소를 ip로 적어주지 않을 경우 접속이 안 되는 경우도 있다고 합니다. (...정확히 제 경우가 그렇습니다.)

DAMASCUS의 이미지

아이피 주소를 넣어도 않되는듯 ;;

-L 해서 리스트를 보는 경우도 않되는 군요 ;; 엑세스 에러라니..;

DAMASCUS의 이미지

그냥
mount -t smbfs //172.xx.xxx.xx/폴더이름 /mnt/samb

라고 하면 않되나요.
끝에 samb는 만든 폴더구요
이렇게 해도 어쨋든;; 삼바로 윈도우 접속은 않됨

DAMASCUS의 이미지

어쩌다보니..

smbclient //172.xx.xxx.xx/kid -U administartor

라고 치니까

passwd 입력이 나오더군요 입력하면 접근 실패 되는데..

smbclient //172.xx.xxx.xx/kid -U administartor+

다른건 없고 맨뒤에 +붙이니깐 갑자기 됨;; 암호 않넣고 그냥 엔터쳐도 되고 어쨌듯.. 해결을 했습니다.

댓글 달기

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
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.