System/OS
2003.04.23 10:29
[linux] 이기종간의 파일 공유(Samba)
조회 수 14955 댓글 0
주의사항 : 수많은 문서에 현혹되지 말아야 한다
(내용이 자세하고 많다고 해결책을 주지 않음 - 삼바 부문에선)
1. 표준 메뉴얼 http://www.kies.co.kr/~jhpark/Samba/samba/samba.html
표준 Q & A http://bbs.korea.co.kr/
삼바내의 설정 메뉴얼 $ SAMBA_HOME/docs/textdocs/DIAGNSIS.txt
2. 환경 설정
# 이대로 일단 해보고 기능을 추가하는 것이 좋다
$ vi /etc/smb.conf
Samba config file created using SWAT
workgroup = SERVERGROUP
security = SHARE
log file = /var/log/samba/log.%m
dns proxy = No
client code page = 949
[homes]
comment = Home Directories
read only = No
browseable = No
[tmp]
comment = Temporary File space
path = /tmp
guest ok = Yes
[public]
comment = Share File space
path = /home/public
writable = Yes # 'read only = No' not
guest ok = Yes
[oracle]
comment = Oracle8i Linux Database
path = /oracle
read only = Yes
guest ok = Yes
: wq!
$ vi /etc/hosts
# 127.0.0.1 localhost.localdomain localhost your.domain # 이부분은 지우고
# 210.xxx.xxx.xxx localhost.localdomain # 이부분은 변경한다
210.xxx.xxx.xxx host.your.domain
:wq!
$ /etc/rc.d/init.d/smb restart
$ smbclient -L localhost
3. 윈도우 운영체제 95/98/NT/2000에서 패스워드 에러가 날 때
# win95/98인 경우
C:>regedit
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesVxDVNETSUP
등록 -> DWORD값 -> 이름: EnablePlainTextPassword
값 : 1
# win2000인 경우
C:>regedit
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesRdrParameters
"EnablePlainTextPassword"=dword:00000001
# winNT servicepack3+인 경우
C:>regedit4
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLanmanWorkStationParameters
"EnablePlainTextPassword"=dword:00000001
4. 웹을 통한 삼바 설정(웹로직 SWAT)
$ vi /etc/services
swat 901/tcp
$ vi /etc/inetd.conf
swat stream tcp nowait.400 root /usr/local/samba/bin/swat swat
$ kill -1 PID
$ netscape http://192.168.1.121:901
login: root passwd: toconet
5. Q & A
- IPC 패스워드 문제 : security = user -> security = share
번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|---|
46 | System/OS | [router] 시스코 라우터 명령어 모드.. | hooni | 2013.04.23 | 13009 |
45 | System/OS | [sql] alter table 쿼리 예제 | hooni | 2003.04.23 | 12523 |
44 | System/OS | [sql] insert into select 사용하기 | hooni | 2013.04.23 | 27640 |
43 | System/OS | [sql] 내 방명록 답글 찾는 쿼리문.. (JOIN 구문) | hooni | 2003.04.23 | 12931 |
42 | System/OS | [sql] 조회구문(select)에서 중복 데이터를 한 번만 출력 (distinct) 1 | hooni | 2013.04.23 | 34066 |
41 | System/OS | [sql] 중복데이터 삭제 쿼리 | hooni | 2013.04.23 | 14813 |
40 | System/OS | [svn] Can't convert string from native encoding to 'UTF-8' 메시지가 나오는 경우 | hooni | 2014.12.18 | 1163 |
39 | System/OS | [svn] SVN trunk 변경사항 되돌리기 (SVN Rollback) | hooni | 2014.11.27 | 1714 |
38 | System/OS | [svn] 하나의 SVN에서 멀티 저장소 (One svnserve, multiple repositories) | hooni | 2015.01.02 | 1794 |
37 | System/OS | [switch] 시스코 스위치 관리자 암호 초기화 방법 | hooni | 2013.04.23 | 17290 |
36 | System/OS | [switch] 시스코 카탈리스트(Cisco Catalyst) 기본 설정 | hooni | 2013.04.23 | 17575 |
35 | System/OS | [unix] AIX쉘 초기 파일 (.cshrc) | hooni | 2013.04.23 | 10357 |