Samba: Difference between revisions

From Halfface
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
  display charset = iso8859-1
  display charset = iso8859-1
  unix charset = iso8859-1
  unix charset = iso8859-1
=create user=
smbpasswd -a john
New SMB password:
Retype new SMB password:
=list users=
=list users=
  pdbedit -L -v
  pdbedit -L -v
Line 7: Line 12:
  smbclient -L <windows-box> -U <username>
  smbclient -L <windows-box> -U <username>
=mount share=
=mount share=
  mount -t cifs //www.halfface.se/C\$ -o username=username,password=password /mnt/disk/
  mount -t cifs //www.halfface.se/Users -o username=username,password=password,domain=halfface /mnt/disk/
[[Category:Applications]]
[[Category:Applications]]
[[Category:Unix]]
[[Category:Unix]]
[[Category:Storage]]
[[Category:Storage]]

Latest revision as of 19:16, 20 February 2019

Swedish stupis letters in filename.

display charset = iso8859-1
unix charset = iso8859-1

create user

smbpasswd -a john
New SMB password:
Retype new SMB password:

list users

pdbedit -L -v

list shares

smbclient -L <windows-box> -U <username>

mount share

mount -t cifs //www.halfface.se/Users -o username=username,password=password,domain=halfface /mnt/disk/