Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
en:guides:samba [2013/04/28 21:11] emgi [How does it work?] |
en:guides:samba [2013/04/28 21:33] emgi [How does it work?] |
||
---|---|---|---|
Line 45: | Line 45: | ||
smb: \> | smb: \> | ||
</code> | </code> | ||
- | At the prompt you can issue ftp-style commands to browse the file system and read/write files. Typing help gives a summary of the options: | + | At the prompt you can issue ftp-style commands to browse the file system and read/write files. Typing **help** gives you a summary of the options: |
<code> | <code> | ||
smb: \> help | smb: \> help | ||
Line 63: | Line 63: | ||
volume vuid wdel logon listconnect | volume vuid wdel logon listconnect | ||
showconnect .. ! | showconnect .. ! | ||
- | smb: \> | + | smb: \> quit |
+ | # | ||
</code> | </code> | ||
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 -a |
+ | <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** |