Skip to content

Instantly share code, notes, and snippets.

@me7
Created May 8, 2015 03:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save me7/cc81eeb3d1dea9863a41 to your computer and use it in GitHub Desktop.
Save me7/cc81eeb3d1dea9863a41 to your computer and use it in GitHub Desktop.
Samba setting
Show samba version
samba -V
Change samba password for current user
smbpasswd
Test samba.conf after edit
testparm
Test connect to samba share (Linux side)
smbclient -v \\\\198.10.10.71\\share -U sst
List current shares
net usershare info --long
Windows -- Remove all connection
net use * /del
Windows -- connect to share
net use t: \\198.10.10.71\share /user:username password
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment