Web lists-archives.com

Re: [Samba] Share access problem




On Thu, 17 Aug 2017 15:53:59 -0400
<Sebastien.Boulianne@xxxxxx> wrote:

> Hi Rowland,
> 
> Thanks AGAIN for your answer.
> I followed what you advise me to do...
> If you tell me something and I didn't change it, I forget it.
> 
> I give you more infos this time:
> 
> Please look at my full smb.conf
> https://pastebin.com/WR2CY9SW
> 
> Now, please check my testparm result
> https://pastebin.com/2jMDtWs2
> 
> Can you explain that sir ?
> 

Yes




OH sorry, you want me to tell you why you have got this in the testparm
result.

        idmap config cpu : range = 10000-20000
        idmap config cpu : backend = rid
        idmap config * : range = 10000-20000
        idmap config * : backend = tdb

I already have!!!!

If I remove all the default settings (and the ones that shouldn't be
there) from your smb.conf, I get this:

[global] 
   netbios name = FILESRV
   domain master = no
   local master = no
   preferred master = no
   workgroup = DOMAIN
   realm = DOMAIN.QC.CA
   security = ADS
   username map = /usr/local/samba/etc/user.map
 
   interfaces = eth0
   log file = /var/log/samba/log.%m
   log level = 3 passdb:5 auth:5
   max log size = 1000
   panic action = /usr/share/samba/panic-action %d
   server role = member server
   idmap config * : backend = tdb
   idmap config * : range = 3000-7999
   idmap config domain : backend = rid
   idmap config domain : range = 10000-20000
   winbind use default domain = yes
   winbind refresh tickets = yes
   winbind offline logon = true
   template shell = /bin/bash
   template homedir = /home/%D
   client ntlmv2 auth = yes
   vfs objects = acl_xattr
   map acl inherit = yes
   store dos attributes = yes
   usershare max shares = 100
   printcap name = /etc/printcap
   load printers = no

[homes]
   comment = Home Directories
   browseable = no
   writable = yes
 
[FTPFiles]
   comment = Files
   path = /glftpd/site
   read only = yes
   create mask = 0777
   directory mask = 0777
   valid users = %S

[printers]
   comment = All Printers
   browseable = no
   path = /var/spool/samba
   printable = yes
   create mask = 0700

[print$]
   comment = Printer Drivers
   path = /var/lib/samba/printers


You will notice that I have removed 'winbind gid = 10000-20000' and
look, the range you are getting from testparm is '10000-20000' (hint,
hint)

Rowland
 

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