Samba

Roger Grosswiler roger at gwch.net
Tue Apr 4 12:17:45 UTC 2006


> 2006/4/4, Anne Wilson <cannewilson at tiscali.co.uk>:
>> O
>> >
>> In both cases, it looks like an authentication problem.  SELinux or any
>> firewall in the system could be the problem, but I'm betting on samba
>> authentication.
>>
>> First of all, make sure that you have added yourself and your password
>> to
>> smbpasswd.  Then, one or two comments about samba.conf
>>
>> > This is my samba.conf file.Any comment??
>> >
>> > # Samba config file created using SWAT
>> > # from 127.0.0.1 (127.0.0.1)
>> > # Date: 2005/03/22 08:49:21
>> >
>> > # Global parameters
>> > [global]
>> >       dns proxy = No
>> >       log file = /var/log/samba/%m.log
>> >       server string = PC Antonio
>> >       socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
>> >       guest ok = Yes
>> >       os level = 255
>> >       null passwords = Yes
>> >       username map = /etc/samba/user.map
>> >       preferred master = no
>> >       max log size = 50
>> >       wins support = true
>> >
>> I don't see any workgroup= line, but since you say you can see the
>> shares,
>> that's probably not the cause of the current problems.  The username
>> map=
>> should be deleted unless you need to map names and passwords that don't
>> match
>> the ones on your samba server.  You probably don't need the wins support
>> line
>> either.  If in doubt, comment them out so that they are easily added
>> back.
>>
>> Null passwords is not a good idea.  Use security = user in the global
>> section,
>> which will prompt for user passwords.  Then add a line as below for the
>> public directory.
>>
>> > [homes]
>> >       comment = Home Directories
>> >       read only = No
>> >
>> > [printers]
>> >       comment = All Printers
>> >       path = /var/spool/samba
>> >       printable = Yes
>> >       browseable = No
>> >
>> >
>> > [Progetto]
>> >       path = /home/public
>> >       read only = No
>>         public = yes
>> >
>> HTH
>>
>> Anne
>>
>>
>> --
>> fedora-list mailing list
>> fedora-list at redhat.com
>> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>>
>>
>>
>
> Tnx Anne but it didn't work....
> This is the updated samba.conf file:
>
>
> # Samba config file created using SWAT
> # from 127.0.0.1 (127.0.0.1)
> # Date: 2005/03/22 08:49:21
>
> # Global parameters
> [global]
> 	dns proxy = No
> 	log file = /var/log/samba/%m.log
> 	server string = PC Antonio
> 	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
> 	workgroup = workgroup
> 	guest ok = Yes
> 	os level = 255
> 	null passwords = Yes
> 	security = shares
> 	preferred master = no
> 	max log size = 50
>
> [homes]
> 	comment = Home Directories
> 	read only = No
>
> [printers]
> 	comment = All Printers
> 	path = /var/spool/samba
> 	printable = Yes
> 	browseable = No
>
>
> [Progetto]
> 	path = /home/public
> 	read only = No
>         public = yes
>
>
>
> Any idea???
>
> --
try adding this in the [homes] section:

browseable=yes
writable=yes

...and don't forget to service samba restart

btw. easiest way to configure samba: system-config-samba

HTH
Roger




More information about the fedora-list mailing list