On 18 Feb 2002, James Pifer wrote:

> I'm trying to setup a share on one of  my RH7.2 pcs that lets anyone on
> my network see it. I have this in the smb.conf:
> 
> [downloads]
>       path = /disk2/downloads
>       allow hosts = 192.168.1. 127.0.0.
>       public = yes
> 
> When I try to connect to it from a windows machine it wants a password.
> If I just try top browse in network Neighborhood it wants the good old
> IPC$ password. 
> 
> When I try to from a linux machine with the command:
> mount -t smbfs //192.168.1.20/downloads //shares/downloads
> 
> It asks for a password. 
> 
> What am I missing?
> 

The answer is found in the man page for smb.conf:


...shares are defined in Sections in smb.conf
..."Sections may be designated guest services, in which case
no password is required to access them.  A specified UNIX 
guest account is used to define access privilieges in this case."

"Sections other than guest services will require a password
to access them."

There is a sample guest section in the default smb.conf, I believe.




-- 
***************************************************************************
Jerry Winegarden        OIT/Technical Support           Duke University
[EMAIL PROTECTED]            http://www-jerry.oit.duke.edu
***************************************************************************



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to