Advertisement
Guest User

Untitled

a guest
May 30th, 2016
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. % smbclient -U remoteUser -L //AppleTimeCapsule
  2. Enter remoteUser's password:
  3. Domain=[WORKGROUP] OS=[Apple Base Station] Server=[CIFS 4.32]
  4. Sharename Type Comment
  5. --------- ---- -------
  6. remoteUser Disk
  7. IPC$ IPC
  8. otherShare Disk
  9. Domain=[WORKGROUP] OS=[Apple Base Station] Server=[CIFS 4.32]
  10. Server Comment
  11. --------- -------
  12. Workgroup Master
  13. --------- -------
  14.  
  15. % cat ~/.nsmbrc
  16. [APPLETIMECAPSULE:REMOTEUSER]
  17. password=myPassword
  18. % mkdir /mnt/atc
  19. % mount_smbfs -I AppleTimeCapsule //remoteUser@AppleTimeCapsule/remoteUser /mnt/atc
  20. % mount | grep 'AppleTimeCapsule'
  21. //REMOTEUSER@APPLETIMECAPSULE/REMOTEUSER on /mnt/atc (smbfs)
  22. % ls /mnt/atc
  23. ./ ../
  24. % echo 1 > /mnt/atc/newFile
  25. /mnt/atc/newFile: No such file or directory.
  26.  
  27. # mount -t cifs //AppleTimeMachine/remoteUser -o uid=1001,gid=1004,sec=ntlm,username=remoteUser,password=myPassword /mnt/atc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement