[해결]삼바문제가 절 계속 잡네요.....

ngh1262의 이미지

수세 11.3에 삼바 3.6.3을 설치하여 이것저것 실험을 하고있는 유저입니다

지금 버츄어박스로 돌리면서 하고있는데 어느새부턴가 삼바서버에 접속을 못하고있습니다.

간단히 요약하자면

1.버츄어박스로 실행해서 푸티로 들어가면 접속이 잘됨

2.윈도우에서 네트워크를 확인하면 잘 뜸

3.폴더설정한 것도 잘 뜨고있지만 폴더에 들어가려고하면 엑세스 할 수 없다고 뜸

4.리눅스에서 폴더설정을 777로 풀었음

대략 이런 상황입니다...

혹여나 해서 smb.conf파일에 대한 설정을 올려봅니다

[global]
6
7 workgroup = DWAS
8 passdb backend = tdbsam
9 printing = cups
10 printcap name = cups
11 printcap cache time = 750
12 cups options = raw
13 map to guest = Bad User
14 include = /etc/samba/dhcp.conf
15 logon path = \\%L\profiles\.msprofile
16 logon home = \\%L\%U\.9xprofile
17 logon drive = P:
18 logon file = /var/log/samba/%m.log
19 max log size = 2048
20 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
21 domain logons = no
22 domain master = no
23 wins support = yes
24 remote browse sync = 192.168.1.255
25 remote announce = 192.168.1.255
26 ldap suffix =
27 dos charset = cp949
28 unix charset = UTF-8
29 display charset = cp949
30 dns proxy = no
31 server string = share
32 hosts allow = 192.168.1.
33 security = share
34 guest ok = yes
35 encrypt passwords = yes
36 smb passwd file = /etc/samba/smbpasswd
37 unix password sync = yes
38 map to guest = nobody
39
40 usershare allow guests = Yes
41
42
43
44
45
46
47
48###################디렉토리에 대한 설정입니다. 디렉토리권한은 777 , 소유권한은 그룹이나 소유자 모두 nobody
49 [test]
50
51 comment = test
52 path = /shell/test
53 writeable = yes
54 create mask = 0777
55 force create mode = 0777
56 force directory mode = 0777
57 unix extensions = no

아 요번에도 해결못하면 저번에 하던 방법처럼 리눅스 다시밀어버리는 수 밖에 없어서 좀 절박합니다...ㅠ

아시는분들은 조그마한 소스라도 주시면 감사하겠습니다 ㅠㅠ

-------------------------------------------------------------------------------

혹시나 해서 security = user 요고만 바꾸고 centos에서 돌렸는데 아무문제없이 접속도 잘되고 파일형성도 잘되네요....;;;

뭐가 문제인지 전혀 파악도 못하겠숩니다...ㅜㅜ

academic의 이미지

설정도 제대로 한 것 같고, 디렉토리도 보이는데 제대로 삼바가 되지 않는다면

selinux 때문일 수 있습니다.

sestatus 명령으로 selinux가 활성화되었는지 확인해보시죠.

SELinux status가 enabled, Current mode가 enforcing이라고 나오면 SELinux가 활성화된 것입니다.

그런 경우엔 selinux 삼바 관련 설정을 해주시면 해결됩니다.

----
academic은 제 고등학교 때 동아리 이름입니다.
academic, 아주 가끔은 저도 이랬으면 좋겠습니다.

ngh1262의 이미지

수세에서는 selinux가 없지만 그거랑 비슷한 AppArmor 라고 있는데 그게 켜져있었네요 ㅎㅎ

아 요고때문에 한참 해멧다가 겨우찾았습니다.

해결의 실마리 찾아주셔서 감사합니다 ㅎ

academic의 이미지

수세엔 selinux가 없나요? 한번도 써본 적이 없는 배포판이라...

해결되셨다니 다행입니다.

----
academic은 제 고등학교 때 동아리 이름입니다.
academic, 아주 가끔은 저도 이랬으면 좋겠습니다.

ngh1262의 이미지

이 망할 수세리눅스가 슬렉웨어 기반으로 나오고 selinux 대신 Appamor 인지 뭔지 그게 selinux대신 하는거라고 하더라고요 ㅡㅡ;;;

워메 미쳐버리겠어요 ㅠㅠ

댓글 달기

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