Difference between revisions of "SMB / Samba NAS Configurations"

From LinuxMCE
Jump to: navigation, search
(Added note about manual adding a file server.)
Line 1: Line 1:
<p>[[How to setup Samba with two workgroups?]]</p>
+
[[Category: Tutorials]]
<p>[[How to setup Samba to follow symbolic links?]]</p>
+
 
 +
[[How to setup Samba with two workgroups?]]
 +
[[How to setup Samba to follow symbolic links?]]
  
 
Problem: we have shares for each users. if I want to access it from Windows, I have to enter password. if I don't this on first access, windows won't ask my anymore to enter password and just denies access. How can I force windows, to reenter password for share ???
 
Problem: we have shares for each users. if I want to access it from Windows, I have to enter password. if I don't this on first access, windows won't ask my anymore to enter password and just denies access. How can I force windows, to reenter password for share ???
Line 8: Line 10:
 
where USER is your username. For instance to change john's password run sudo smbpasswd pluto_john
 
where USER is your username. For instance to change john's password run sudo smbpasswd pluto_john
  
 
+
== Adding fileserver on the external network ==
[[Category: Tutorials]]
+
The external network does not get scanned for Samba servers. You can easily add a new server by going into the web admin
 +
* Click Show Device Tree
 +
* Click CORE
 +
* On the right hand side, click Create Child Device
 +
* Click Pick Device Template
 +
* In the popup select File Server from the drop down box, it should be ID 1837
 +
* Now, it is important to fill out 2 fields
 +
** The IP address
 +
** '''and''' the MAC address
 +
* The username and password are only needed if the file server requires them.

Revision as of 17:36, 29 August 2008

How to setup Samba with two workgroups? How to setup Samba to follow symbolic links?

Problem: we have shares for each users. if I want to access it from Windows, I have to enter password. if I don't this on first access, windows won't ask my anymore to enter password and just denies access. How can I force windows, to reenter password for share ???

If your samba password doesn't work then run this on core to update your samba password:

sudo smbpasswd pluto_USER

where USER is your username. For instance to change john's password run sudo smbpasswd pluto_john

Adding fileserver on the external network

The external network does not get scanned for Samba servers. You can easily add a new server by going into the web admin

  • Click Show Device Tree
  • Click CORE
  • On the right hand side, click Create Child Device
  • Click Pick Device Template
  • In the popup select File Server from the drop down box, it should be ID 1837
  • Now, it is important to fill out 2 fields
    • The IP address
    • and the MAC address
  • The username and password are only needed if the file server requires them.