|
커피향이 나는 *NIX
커피닉스
시스템/네트웍/보안을 다루는 곳
|
|
|
|
| 이전 주제 보기 :: 다음 주제 보기 |
| 글쓴이 |
메시지 |
기둥 손님
|
올려짐: 2003.11.17 월, 9:50 am 주제: 삼바 설정에 대한 문의사항입니다. |
|
|
예전에 기둥이라는 닉네임으로 주인장을 괴롭히던 사람입니다.
오늘 또 왔네요... ^^
프린터 서버로 쓰던 리눅스 머신에 설정을 조금 손 보고 재부팅 했더니.
/proc 을 마운트 못하고..맛이 간 상태 부팅이 아니되서.
어쩔 수 없이 다시 깔았는데. (RH90)
지금 현재 윈도우 컴에서 이 머신으로 삼바를 통해서.
접근 할 수 없습니다.
프린터 서버이외에도..
다른 2대의 리눅스 머신에 삼바를 가동한 후 접근을 시도하는데.
되지를 않습니다.
3대 모두 보안 모드는 share로 했고.
encypt 패스워드 모두 주석 해제했습니다.
그 이외에는 프린터 서버의 프린터 공유를 위해서 수정한 거 제외하고는
수정하지 않았습니다.
네트워크 검색창에 3대 모두 보이기는 하는데.
클릭하고 들어 가려면, '엑서스할 수없습니다. 네트워크 경로를 찾을 수없습니다. '
이런 메세지를 보이는 군요.
윈도우 컴퓨터 2대가있는데 2대다 같은 현상을 보여 주고 있습니다.
그제 오전에 사고 정전이 있었는데. 그것때문인것인지 .
아니면. 삼바 설정이 잘못인것인지..
예전에도 삼바 설정 여러번 했는데.
이렇게 안된적이 없었는데. 갑갑하네요..
아래는 프린터 서버에서의 삼바 설정입니다.
======================= Global Settings =====================================
[global]
workgroup = acoustic
server string = samba server
; hosts allow = 192.168.1. 192.168.2. 127.
printcap name = cups
load printers = yes
printing = cups
; guest account = pcguest
log file = /var/log/samba/%m.log
max log size = 0
# password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]
# or to auto-locate the domain controller/s
# password server = *
; password server = <NT-Server-Name>
# Password Level allows matching of _n_ characters of the password for
# all combinations of upper and lower case.
; password level = 8
; username level = 8
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
# The following is needed to keep smbclient from spouting spurious errors
# when Samba is built with support for SSL.
; ssl CA certFile = /usr/share/ssl/certs/ca-bundle.crt
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
pam password change = yes
# Unix users can map to different SMB User names
; username map = /etc/samba/smbusers
# of the machine that is connecting
; include = /etc/samba/smb.conf.%m
obey pam restrictions = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
; interfaces = 192.168.12.2/24 192.168.13.2/24
; remote browse sync = 192.168.3.25 192.168.5.255
; remote announce = 192.168.1.255 192.168.2.44
; local master = no
; os level = 33
; domain master = yes
; preferred master = yes
; domain logons = yes
; logon script = %m.bat
; logon script = %U.bat
; logon path = \\%L\Profiles\%U
; wins support = yes
; wins server = w.x.y.z
; wins proxy = yes
security = SHARE
dns proxy = no
; preserve case = no
; short preserve case = no
; default case = lower
; case sensitive = no |
|
| 위로 |
|
 |
truefeel 카페 관리자
가입: 2003년 7월 24일 올린 글: 1277 위치: 대한민국
|
올려짐: 2003.11.17 월, 1:36 pm 주제: Re: 삼바 설정 |
|
|
smb.conf는 디폴트 설정을 따랐습니다.
security 만 share 로 바꾼 정도이고 접속하는데 문제될만한 것은 없어보입니다.
설정은 정상인데 안될 때 시간이 좀 지난 후 접속해보거나 윈도우즈 등을 부팅하고 다시하면 되는 경우도 있습니다.
방화벽쪽을 살펴보세요.
브라우징은 되는데 접근이 안되는 경우라 iptables 로 방화벽 설정에서
TCP 139(netbios-ssn)포트가 막혀있을 수 있습니다.
iptables -L -n 을 보고
위에서부터 룰셋을 확인해서 TCP 139포트, UDP 137~139 포트 정도(UDP는 열렸을 듯)가 열린 것인지
확인해보세요.
/etc/sysconfig/iptables 파일이 있다면 이 파일 설정 살펴보시구요. |
|
| 위로 |
|
 |
|
|
새로운 주제를 올릴 수 없습니다 답글을 올릴 수 없습니다 주제를 수정할 수 없습니다 올린 글을 삭제할 수 없습니다 투표를 할 수 없습니다
|
Powered by phpBB © 2001, 2005 phpBB Group
|