[Samba] Samba newbie question

Torsten Geile zuhause at tippex.net
Wed Jun 28 15:27:48 GMT 2006


Erik Hertzel schrieb:
> Here is the rest, sorry...
>
> [homes]
>        comment = Home Directories
>        valid users = %S
>        read only = No
> "smb.conf" 38L, 893C
>
>        create mask = 0664
>        directory mask = 0775
>        browseable = Yes
>
I have never tried this without giving a path like

path =  /home/

> [printers]
>        comment = All Printers
>        path = /var/spool/samba
>        printable = Yes
>        browseable = No
>
> [net-progs]
>        path = /hdb
This is not going to work. You cannot use a physical disk as path.

What is the mount pint of /dev/hdb ? Use it instead

>        read only = No
>        guest ok = Yes
>        hosts allow = 192.168.1. 192.168.0.

You might want to add

browseable = yes

here.

"seeing" the server in the network neighborhood could take a few 
minutes. Try to setup samba as a domain master browser and wins server.

Put this in your global section

[global]
.....

domain master = yes
local master = yes
preferred master = yes
os level = 65

wins support  = yes

Then setup your clients to use it as a wins server.

Hth

Torsten

btw.

dont use swat. use a text editor of your choice to make these changes.





More information about the samba mailing list