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.