Hello, I got this problem: I want to mount a directory without providing a login/password [indicaf$]. I thought that "guest ok = yes" would be sufficient. But it not works. What option is the right one to open a share to everyone without a login box in windows ? Thanks. This is my smb.conf (samab v3.0.7): tccwebcom# more smb.conf # Samba config file created using SWAT # from 146.11.3.28 (146.11.3.28) # Date: 2006/05/15 18:36:54 # Global parameters [global] workgroup = FLEUVE server string = Samba %v on host %h interfaces = 2.210.11.1/8 security = DOMAIN password server = madeira ienissei orenoque guest account = www username map = /usr/local/samba/private/usersmap log file = /usr/local/samba/var/log.%m max log size = 50 announce version = 3.0 dns proxy = No wins server = 146.17.1.1, 146.14.1.1 [indicaf$] comment = Fichier template XLA path = /data01/www/websphere/5.0/webapps/IndicAffaire.ear/IndicAffaire.war/excel guest only = Yes guest ok = Yes follow symlinks = No Fabien LIOU (THALES SERVICES) THALES COMMUNICATIONS (LAND & JOINT SYSTEMS) TS/IOS/IMS/HO 160 Boulevard de Valmy 92700 COLOMBES *T?l.:01 41 30 41 65 * email:fabien.liou@fr.thalesgroup.com
I've only been able to get no authentication on a share to work in security = share mode. If anyone knows how to make it work with security = user, please speak up. :) Fabien.LIOU@fr.thalesgroup.com wrote:> Hello, > > > I got this problem: > > I want to mount a directory without providing a login/password [indicaf$]. > > I thought that "guest ok = yes" would be sufficient. > But it not works. > > What option is the right one to open a share to everyone without a login box in windows ? > > > Thanks. > > > > This is my smb.conf (samab v3.0.7): > > tccwebcom# more smb.conf > # Samba config file created using SWAT > # from 146.11.3.28 (146.11.3.28) > # Date: 2006/05/15 18:36:54 > > # Global parameters > [global] > workgroup = FLEUVE > server string = Samba %v on host %h > interfaces = 2.210.11.1/8 > security = DOMAIN > password server = madeira ienissei orenoque > guest account = www > username map = /usr/local/samba/private/usersmap > log file = /usr/local/samba/var/log.%m > max log size = 50 > announce version = 3.0 > dns proxy = No > wins server = 146.17.1.1, 146.14.1.1 > > [indicaf$] > comment = Fichier template XLA > path = /data01/www/websphere/5.0/webapps/IndicAffaire.ear/IndicAffaire.war/excel > guest only = Yes > guest ok = Yes > follow symlinks = No > > > > > > > > > > > > > > > > Fabien LIOU (THALES SERVICES) > THALES COMMUNICATIONS (LAND & JOINT SYSTEMS) > TS/IOS/IMS/HO > 160 Boulevard de Valmy > 92700 COLOMBES > *T?l.:01 41 30 41 65 > * email:fabien.liou@fr.thalesgroup.com > > >
map to guest is a global option greez Adam Williams wrote:> In my [global] I have guest account = nobody and security = user, and in > my share [wpkg] I have: > > [wpkg] > comment = Windows Packager > path = /samba/wpkg > read only = yes > browseable = no > guest ok = Yes > guest only = no > # valid users = guest nobody > map to guest = Bad User > > still asks me for a username and password. if i set security = share it > works, but then I have other problems with my windows xp computers > authenticating. > > Michael Gasch wrote: >> you could play with "map to guest = bad xxx" >> that?s how i did it in security=domain (i think it works with user, >> too) and one share. all other shares have "guest ok = no" >> >> greez >> >> > >-- Michael Gasch Max Planck Institute for Evolutionary Anthropology Department of Human Evolution (IT Staff) Deutscher Platz 6 D-04103 Leipzig Germany Phone: 49 (0)341 - 3550 137 49 (0)341 - 3550 374 Fax: 49 (0)341 - 3550 399
Hi, I tested it this morning. It works for me with security=domain. I think "map to guest" is not valid outside [global] section. Best Regards -----Message d'origine----- De : Adam Williams [mailto:awilliam@mdah.state.ms.us] Envoy? : dimanche 21 mai 2006 16:38 ? : samba@lists.samba.org Objet : Re: [Samba] share with no authentication In my [global] I have guest account = nobody and security = user, and in my share [wpkg] I have: [wpkg] comment = Windows Packager path = /samba/wpkg read only = yes browseable = no guest ok = Yes guest only = no # valid users = guest nobody map to guest = Bad User still asks me for a username and password. if i set security = share it works, but then I have other problems with my windows xp computers authenticating. Michael Gasch wrote:> you could play with "map to guest = bad xxx" > that?s how i did it in security=domain (i think it works with user, > too) and one share. all other shares have "guest ok = no" > > greez > >