[Samba] Read ONLY shares on Samba 4.6.4 in AIX 6.1

Rowland Penny rpenny at samba.org
Mon Sep 11 20:56:52 UTC 2017


On Mon, 11 Sep 2017 17:33:16 -0300
Andres Tarallo via samba <samba at lists.samba.org> wrote:

> >
> > Hi !!!
> >
> > I've managed to make Samba 4.6.4 run on AIX 6.1. Packages from
> > OSS4AIX. I have two shares both are read write, but I'm not allowed
> > to write on them.
> >
> > This is my [GLOBAL]:
> >
> > [global]
> >         bind interfaces only = Yes
> >         interfaces = 127.0.0.1 en0
> >         netbios name = P7-AIXTEST
> >         realm = MYCOMPANY.LOCAL
> >         server string = %h - Servidor AIX TESTING
> >         workgroup = MYCOMPANY
> >         os level = 65
> >         log file = /var/log/samba/%m.log
> >         usershare allow guests = Yes
> >         printcap name = cups
> >         kerberos method = secrets and keytab
> >         map to guest = Bad User
> >         security = ADS
> >         winbind refresh tickets = Yes
> >         idmap config * : backend = tdb
> >         printing = cups
> >
> > This are my shares:
> > [ATARALLO]
> >         comment = HOME A. Tarallo
> >         path = /home2/atarallo
> >         admin users = atarallo
> >         force group = staff
> >         force user = atarallo
> >         read list = @staff root
> >         write list = root atarallo
> >
> >         [FUENTES]
> >         comment = Directorio FUENTES
> >         path = /STAR/FUENTES
> >         force group = staff
> >         force user = root
> >         guest ok = Yes
> >
> > Both /home2/atarallo and /STAR/FUENTES have 2777 permisions. Your
> > help is appreciated to solve this problem.
> >
> > Andrés
> >

You could try setting up smb.conf correctly, see here:

https://wiki.samba.org/index.php/Setting_up_Samba_as_a_Domain_Member

At the moment, winbind has no idea who your users are.

Rowland



More information about the samba mailing list