삼바를 이용하여 두곳의 두개의 C클래스에 있는 PC 에서
파일을 공유할수 있는 서버 구축하였습니다.
처음 설정하였을 시에는 두곳의 서브넷 모두 잘 작동한것을 확인했지만
지금은 삼바서버가 속해있는 서브넷에 속한 PC들은 접근이 가능한데
삼바서버와 다른 서브넷에 속한 PC들은 접근이 불가능합니다.
무슨 이유에서 그런지 알고 십습니다.
삼바 rpm으로 설치하였고 버전은 다음과 같습니다.
samba-2.2.0-2
samba-common-2.2.0-2
samba-swat-2.2.0-2
smb.conf파일을 첨부 합니다.
#============== Global Settings ====================
[global]
workgroup = domain
server string = 파일공유서버
hosts allow = 210.103.xxx. 203.239.yyy. 210.103.xxx.250
guest account = samba
log file = /var/log/samba/%m.log
max log size = 50
security = share
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
null passwords = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = no
#================= Share Definitions ===================
[Data_Folder]
comment =
create mode = 0750
path = /home/samba
printable = no
read only = no
public = yes
참 그리구 wins Server 도 설정 해밨는데 안되더군요.
이렇게 하는거 맞나요... --.--;;;
자료를 못찾겠내요. 책사러 가야겠습니다.
/etc/samba/lmhosts 내용입니다.
-----------------------------
127.0.0.1 localhost
203.239.28.184 kookhee
-------------------------
/etc/samba/smb.conf
#============== Global Settings ====================
[global]
workgroup = domain
server string = 파일공유서버
hosts allow = 210.103.xxx. 203.239.yyy. 210.103.xxx.250
guest account = samba
log file = /var/log/samba/%m.log
max log size = 50
security = share
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
null passwords = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = no
wins support = yes
#================= Share Definitions ===================
[Data_Folder]
comment =
create mode = 0750
path = /home/samba
printable = no
read only = no
public = yes