Groups | Search | Server Info | Login | Register


Groups > linux.samba > #60536

Re: [Samba] Public share ask for a password

From amit kumar via samba <samba@lists.samba.org>
Newsgroups linux.samba
Subject Re: [Samba] Public share ask for a password
Date 2017-03-21 15:00 +0100
Message-ID <tnsum-43V-27@gated-at.bofh.it> (permalink)
References <tnrHY-3KN-13@gated-at.bofh.it> <tnrRD-3PG-7@gated-at.bofh.it> <tns1k-3SO-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Dear Christian,

Yes this is working config on samba server.

Hope mount line in /etc/fstab is not a problem.

#  mkdir  /share     //Just for try create a local directory on server.
# setenforce 0        //Disable selinux
//Change smb.conf
# testparm
# iptables -F;    iptables -F -t nat;         iptables -F -t mangle   
//Flush IP Tables
# /usr/sbin/smb -F -S  //Running in foreground                       
        <====Provide this o/p

//Try to access shares...

Thanks

On 03/21/2017 06:52 PM, c.buhtz--- via samba wrote:
> Dear Amit,
>
> thanks for your fast reply. I am a bit surprised that you answer in
> HTML and doing TOFU despite that you come from a readhat.com mailbox. ;)
>
> On 2017-03-21 18:42 amit kumar <amitkuma@redhat.com> wrote:
>> Try this config
> I can not see a relevant difference between your config and mine. Can
> you explain which part of it would do the job?
>
>>     workgroup = WORKGROUP
> set
>
>>     security = user
> set
>
>>     map to guest = Bad User
> set
>
>>     passdb backend = tdbsam
> no need for it. set by default
>
>>     read only = no
> set by "writeble = yes"
>
>>     create mask = 0755
> not set. default is 0744. But don't see that this would affect my
> problem.
>
> If this was your working config than I would suggest that there is
> something wrong on my client site.
>
> kind
> Christian
>

-- 
Thanks
Amit Kumar
There are three ways to get something done:
  (1) Do it yourself.
  (2) Hire someone to do it for you.
  (3) Forbid your kids to do it.

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Back to linux.samba | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

[Samba] Public share ask for a password "c.buhtz--- via samba" <samba@lists.samba.org> - 2017-03-21 14:10 +0100
  Re: [Samba] Public share ask for a password amit kumar via samba <samba@lists.samba.org> - 2017-03-21 14:20 +0100
    Re: [Samba] Public share ask for a password "c.buhtz--- via samba" <samba@lists.samba.org> - 2017-03-21 14:30 +0100
      Re: [Samba] Public share ask for a password amit kumar via samba <samba@lists.samba.org> - 2017-03-21 15:00 +0100
  Re: [Samba] Public share ask for a password "c.buhtz--- via samba" <samba@lists.samba.org> - 2017-03-21 15:20 +0100
    Re: [Samba] Public share ask for a password "L.P.H. van Belle via samba" <samba@lists.samba.org> - 2017-03-21 16:30 +0100
      Re: [Samba] Public share ask for a password Rowland Penny via samba <samba@lists.samba.org> - 2017-03-21 16:50 +0100
        Re: [Samba] Public share ask for a password "L.P.H. van Belle via samba" <samba@lists.samba.org> - 2017-03-21 17:30 +0100
          Re: [Samba] Public share ask for a password Rowland Penny via samba <samba@lists.samba.org> - 2017-03-21 17:50 +0100

csiph-web