사용자 도구

사이트 도구


linux:ubuntu:samba

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
linux:ubuntu:samba [2022/04/13 16:02]
kwon37xi [mouting smbfs]
linux:ubuntu:samba [2022/07/21 22:49] (현재)
kwon37xi [Windows 10 Share 에 접속하지 못하는 현상]
줄 79: 줄 79:
   * 명령행 Mount   * 명령행 Mount
 <code sh> <code sh>
-sudo mount -t cifs -o rw,vers=3.0,credentials=</path/to/.smbcredential> //<share-pc-ip>/<share-dir> /mnt/share+sudo mount -t cifs -o rw,vers=3.0,credentials=</path/to/.smbcredential>
 + //<share-pc-ip>/<share-dir> /mnt/share
 </code> </code>
   * ''/etc/fstab'' 자동 mount   * ''/etc/fstab'' 자동 mount
줄 86: 줄 87:
  
 # username/password 직접지정 # username/password 직접지정
-//<share-pc-ip>/<share-dir>  /mnt/share cifs user=<user on VPSA>,pass=<passwd on VPSA> 0 0+//<share-pc-ip>/<share-dir>  /mnt/share cifs vers=3.0,user=<user on VPSA>,pass=<passwd on VPSA> 0 0
 </code> </code>
  
 ===== smbclient ===== ===== smbclient =====
 +==== 일반접속 ====
 +<code sh>
 +smbclient //<host>/<share> -U "username"%"password"
 +# %"password" 생략하면 비밀번호 질문
 +</code>
 +
 ==== 공유 폴더 목록보기 ==== ==== 공유 폴더 목록보기 ====
 <code sh> <code sh>
줄 115: 줄 122:
 client max protocol = SMB3 client max protocol = SMB3
 </code> </code>
-  * 재시작<code sh>+  * 재시작 
 +<code sh>
 sudo service smbd restart sudo service smbd restart
 </code> </code>
linux/ubuntu/samba.1649833335.txt.gz · 마지막으로 수정됨: 2022/04/13 16:02 저자 kwon37xi