Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Debian GNU/Linux Reference Guide
Prev Home Next

3.5 Samba configuration

References:

Setting up Samba with "share" mode is much easier since this creates WfW-type share drives. But it is preferable to set it up with "user" mode.

Samba can be configured through debconf or vi:

     # dpkg-reconfigure --priority=low samba # in Woody
     # vi /etc/samba/smb.conf

See my example scripts for details.

Adding a new user to the smbpasswd file can be done via smbpasswd:

     $ su -c "smbpasswd -a username"

Make sure to use encrypted passwords for optimum compatibility.

Set os level according to the following system equivalences (the larger the number, the higher the priority as server):

     0:      Samba with a loose attitude (will never become a master browser)
     1:      WfW 3.1, Win95, Win98, Win/Me?
     16:     Win NT WS 3.51
     17:     Win NT WS 4.0
     32:     Win NT SVR 3.51
     33:     Win NT SVR 4.0
     255:    Samba with mighty power

Make sure that users are members of the group owning the directory that gives shared access and that the directory path has its execution bit set to access.


Debian GNU/Linux Reference Guide
Prev Home Next

 
 
  Published under the terms of the GNU General Public License Design by Interspire