Views 14955 Votes 0 Comment 0
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print
주의사항 : 수많은 문서에 현혹되지 말아야 한다
(내용이 자세하고 많다고 해결책을 주지 않음 - 삼바 부문에선)

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

?

List of Articles
No. Category Subject Author Date Views
74 System/OS [web] 웹서비스 취약점 자료.. (논문첨부) file hooni 2003.04.23 18062
73 System/OS [linux] man 명령어 뽀개기.. hooni 2003.04.23 8779
72 System/OS [linux] root도 삭제하지 못하는 파일 속성 hooni 2003.04.23 12461
71 System/OS [linux] 터미널에서 문자 깨질 때 설정 ㅋㅋ hooni 2003.04.23 13967
70 System/OS [dos] 노트북 백업 스크립트 xcopy 명령 예제 hooni 2003.04.23 40875
69 System/OS [sql] alter table 쿼리 예제 hooni 2003.04.23 12523
68 System/OS [sql] 내 방명록 답글 찾는 쿼리문.. (JOIN 구문) hooni 2003.04.23 12931
67 System/OS [linux] Proftpd 설치 가이드 hooni 2003.04.23 13084
66 System/OS [linux] 기존 환경설정 저장하면서 커널 컴파일.. hooni 2003.04.23 13535
65 System/OS [linux] 스케쥴링 순서(nice) 변경하기 hooni 2003.04.23 12607
64 System/OS [linux] 셀 스크립트 if, for, case in.. hooni 2003.04.23 13760
63 System/OS [linux] 종료와 종료코드 확인(환경변수에서) hooni 2003.04.23 15623
62 System/OS [linux] 프로세스 상태확인(ps) hooni 2003.04.23 12774
61 System/OS [linux] 메타(기호)문자의 의미와 사용 hooni 2003.04.23 16475
60 System/OS [linux] 특수문자 환경 설정(stty) hooni 2003.04.23 15350
59 System/OS [linux] Oracle8.1.6, Mysql+PHP+Zend Optimizer+APACHE+Tomcat(jsp,servlet)+IMAP+gd hooni 2003.04.23 32530
Board Pagination Prev 1 ... 7 8 9 10 11 13 Next
/ 13