원격지 삼바서버 설정파일(smb.conf)의 정상여부 점검하기
작성자 정보
- 구돌 작성
- 작성일
컨텐츠 정보
- 2,554 조회
- 0 추천
- 목록
본문
원격지 삼바서버 설정파일(smb.conf)의 정상여부 점검하기
앞의 예에서는 로컬서버에 설치되어 있는 삼바의 설정파일(smb.conf)의 이상유무를 점검하는 예를 보았습니다.
이번에는 원격서버에 설치된 삼바의 설정파일(smb.conf)을 점검하는 예입니다.
즉, 아래는 원격지 192.168.0.100서버에 설치되어 있는 삼바서버의 설정파일(smb.conf)의 이상유무를 점검하는 예입니다.
[root@command root]# testparm -L 192.168.0.100 Load smb config files from /etc/samba/smb.conf Processing section "[homes]" Processing section "[printers]" Loaded services file OK. Press enter to see a dump of your service definitions [ENTER]
# Global parameters [global] coding system = client code page = 850 code page directory = /usr/share/samba/codepages workgroup = MYGROUP netbios name = netbios aliases = netbios scope = server string = Samba Server interfaces = bind interfaces only = No ..... |
앞의 예와 마찬가지로 위의 결과에서 “Press enter to see a dump of your service definitions”가 출력되었을 때 일단 화면은 멈추게 됩니다.
여기까지의 점검내용에 이상이 없기 때문에 “OK”를 출력한 후에 원격서버의 삼바 개별서비스 정의부분을 덤프출력하려면 ENTER키를 입력하라는 의미입니다.
여기서 ENTER키를 입력하면 개별 서비스 설정을 출력하게 됩니다.
관련자료
-
이전
-
다음