Hello, our samba server runs in security = user mode. Now I need a share people can connect to, even if they are not in the domain. I tried this configuration [open] comment = Fuer Scripte die via Mcafee gestartet werden guest only = yes #security = share path = /san/san-lacie/abteilungen/allgemein/mcafee read only = no writable = no printable = no Browseable = No but it does not work. Windows pops up the the logon window or , when I try to start a script from the console it tells me ( translated from german ) " unkonwn user or worng passowrd " smbclient asks for a pwd too, but accepts a empty one. What is wrong in my configuration ? Thanks Andreas
Andreas, This is the place to start: http://wiki.samba.org/index.php/Frequently_Asked_Questions#guest_access Dale On 05/02/2013 7:37 AM, Andreas Moroder wrote:> Hello, > > our samba server runs in security = user mode. > Now I need a share people can connect to, even if they are not in the domain. > > I tried this configuration > > [open] > comment = Fuer Scripte die via Mcafee gestartet werden > guest only = yes > #security = share > path = /san/san-lacie/abteilungen/allgemein/mcafee > read only = no > writable = no > printable = no > Browseable = No > > but it does not work. Windows pops up the the logon window or , when I try > to start a script from the console it tells me ( translated from german ) " > unkonwn user or worng passowrd " > > smbclient asks for a pwd too, but accepts a empty one. > > What is wrong in my configuration ? > > Thanks > Andreas
> Andreas, > > This is the place to start: > http://wiki.samba.org/index.php/Frequently_Asked_Questions#guest_access > > DaleHello, I does not work for me. Maybe I have something wrong in the config I overlook. My smbusers file: nobody = guest part of my smb.conf security = user map to guest = Bad User username map = /etc/samba/smbusers [openshare] guest ok = yes path = /san/san-lacie/ read only = no writable = no printable = no Browseable = No I tested with smbclient //server/public -Unot_a_user%foo and it works. It does not work from windows because the user/pwd dialog appears when I try to access the share from the explorer respectively gives a error when I try from the console. It is important that it works without the need to enter a password, because I have to access this share from a program that is called by a service that runs as NT-AUTORITY\SYSTEM. Thanks Andreas
Hi On 2 May 2013 14:37, Andreas Moroder <andreas.moroder at sb-brixen.it> wrote:> Hello, > > our samba server runs in security = user mode. > Now I need a share people can connect to, even if they are not in the domain. > > I tried this configuration > > [open] > comment = Fuer Scripte die via Mcafee gestartet werden > guest only = yes > #security = share > path = /san/san-lacie/abteilungen/allgemein/mcafee > read only = no > writable = noSorry, I don't know the answer to your question, but I noticed the above two lines. "read only = no" is the opposite of "writable = no". It makes no sense to have both specified. Maybe the "map to guest" option will help you solve your problem? -- Michael Wood <esiotrot at gmail.com>