1. Ok, at first, open the /etc/rc.config file an look for the entry START_SMB, and set it to "yes" (START_SMB="yes")
2. Then open the file /etc/samba/smb.conf and replace it with my example:
;
; /etc/samba/smb.conf
;
; Copyright (c) 1999 SuSE GmbH Nuernberg, Germany.
;
[global]
workgroup = example_wg ;replace it with your wg name
guest account = nobody
keep alive = 30
os level = 2
kernel oplocks = false
security = user
read size = 16384
; character set = ISO08859-1
client code page = 850
read raw = yes
socket options = IPTOS_LOWDELAY TCP_NODELAY
netbios name = example ;replace it with your netbios name
name resolve order = bcast
min password length = 0
; Uncomment the following, if you want to use an existing
; NT-Server to authenticate users, but don't forget that
; you also have to create them locally!!!
; security = server
; password server = 192.168.1.10
encrypt passwords = yes
printing = bsd
printcap name = /etc/printcap
load printers = yes
socket options = TCP_NODELAY
map to guest = Bad User
; Uncomment this, if you want to integrate your server
; into an existing net e.g. with NT-WS to prevent nettraffic
; local master = no
local master = yes
; Please uncomment the following entry and replace the
; ip number and netmask with the correct numbers for
; your ethernet interface.
interfaces = eth0 192.168.1.1/255.255.255.0
; If you want Samba to act as a wins server, please set
; 'wins support = yes'
; wins support = yes
; If you want Samba to use an existing wins server,
; please uncomment the following line and replace
; the dummy with the wins server's ip number.
; wins server = 192.168.1.1
; Do you wan't samba to act as a logon-server for
; your windows 95/98 clients, so uncomment the
; following:
; logon script =%U.bat
; domain logons = yes
; domain master = yes
; [netlogon]
; path = /netlogon
; allow to log in into your homedirs
[homes]
comment = Heimatverzeichnis
browseable = no
read only = no
create mode = 0750
; my cdrom dir
[cdrom]
comment = CD-ROM
path = /cdrom
read only = yes
locking = no
[tmp]
comment = Temporary Path
path = /tmp
read only = no
;[misc]
; guest ok = yes
; path=/home/%S
3. Now you have to create encrypted passwords for the users who are allowed to access theirs homedirs (you have to be logged in as root).
To add a new user to the passwordfile /etc/samba/smbpasswd you have to execute (replace "username" and "password" with your data)
smbpasswd -a username password
You can also change passwords with this command.
4. Now you have to restart the saba service
Do this with
/etc/init.d/smb restart
I hope this was a help for you -> good luck (for more questions write to
elri@gmx.at)