SliTaz GNU/Linux official and community documentation wiki.
.png

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:guides:samba [2013/04/28 21:12]
emgi [How does it work?]
en:guides:samba [2013/04/30 22:12] (current)
linea
Line 63: Line 63:
 volume ​        ​vuid ​          ​wdel ​          ​logon ​         listconnect ​   ​ volume ​        ​vuid ​          ​wdel ​          ​logon ​         listconnect ​   ​
 showconnect ​   ..             ​! ​             ​ showconnect ​   ..             ​! ​             ​
-smb: \> +smb: \> quit 
 +#
 </​code>​ </​code>​
  
Line 85: Line 86:
 # #
 </​code>​ </​code>​
-If there is no access-denied-message in reply to the password, it means the share is mounted and can be accesssed ​from your box. That's basically it! +If there is no access-denied-message in reply to the password, it means the share is mounted and can be accessed ​from your box. That's basically it! 
 <note tip>The password must be the admin password for your storage device. This may not work when you have enabled user-based security. In some cases the mount may be read-only. </​note>​ <note tip>The password must be the admin password for your storage device. This may not work when you have enabled user-based security. In some cases the mount may be read-only. </​note>​
 Many of the problems with Samba are caused by a lack of understanding the Windows security mechanism. In its basic version, which is still used most of the time, this is user-based security so you will need a **valid windows user account** to access the file share. When in trouble, verify the access is working from a windows machine and use the same credentials under Linux. ​ Many of the problems with Samba are caused by a lack of understanding the Windows security mechanism. In its basic version, which is still used most of the time, this is user-based security so you will need a **valid windows user account** to access the file share. When in trouble, verify the access is working from a windows machine and use the same credentials under Linux. ​
Line 99: Line 100:
  
 The procedure to add a user to your samba server: The procedure to add a user to your samba server:
-<​code>​ 
-[a] First add Linux user using the adduser command. 
  
-[b] Then add the same user name to Samba using: ​smbpasswd -a+First add Linux user using the adduser command. 
 +<​code>#​ adduser smbuser01 
 +Changing password for smbuser01 
 +New password:  
 +Retype password 
 +Password for smbuser01 changed by root 
 +</​code>​
  
-Use: smbpasswd --help to view the options+Then add the same user name to Samba using: smbpasswd -
 +<​code>​ 
 +# smbpasswd ​-a smbuser01 
 +New SMB password: 
 +Retype new SMB password: 
 +Added user smbuser01. 
 +
 </​code>​ </​code>​
 +Use: smbpasswd -h to view the options. ​
  
 The file shares and printers you want to allow your Windows clients access to can be defined in the Samba configuration file which is: **/​etc/​samba/​smb.conf** The file shares and printers you want to allow your Windows clients access to can be defined in the Samba configuration file which is: **/​etc/​samba/​smb.conf**
 
en/guides/samba.1367176350.txt.gz · Last modified: 2013/04/28 21:12 by emgi