On 17/10/14 11:26, Justin Cooper-Marsh wrote:> We are running Arch Linux as a new sever and only has samba4 available
officially
> I am trying to migrate my samba 3 config to work with samba 4
>
>
> I currently use samba to authenticate windows users to use our Linux
shares. Then using the Unix groups setup in NIS to validate the users access to
a particular share.
>
> Here is the problem.
>
> I can see the shares using samba 4 but it uses the "Domain users"
group to read and write to the shares and not any of the Unix groups.
>
> Any Suggestions?
>
>
> My samba 4 config
>
>
>
> [Global]
> netbios name = newvsbuild
> workgroup = mydomain
> realm = mydomain.local
> server string = %h ArchLinux Host
> security = ads
> encrypt passwords = yes
> #password server = dc1.cambridgebroadband.com
>
> idmap config * : backend = rid
> idmap config * : range = 10000-20000
>
> winbind use default domain = Yes
> winbind enum users = Yes
> winbind enum groups = Yes
> winbind nested groups = Yes
> winbind separator = @
> winbind refresh tickets = yes
>
> template shell = /bin/bash
> template homedir = /home/%D/%U
>
> preferred master = no
> dns proxy = no
> wins server = cb-dc1.cambridgebroadband.com
> wins proxy = no
>
> inherit acls = Yes
> map acl inherit = Yes
> acl group control = yes
>
> # load printers = no
> debug level = 3
> use sendfile = no
>
>
> [share]
> comment = Scratch folders
> path = /scratch
> valid users = @development @cvs
> browseable = yes
> writable = yes
> locking = yes
> create mode = 0770
> directory mode = 0770
>
>
>
> Justin Cooper-Marsh
> Systems Administrator
> T +44 1223 703037
> M +44 7715 849007
>
> www.cbnl.com<http://www.cbnl.com/>
>
> CBNL
> Next generation thinking
>
>
> Cambridge Broadband Networks Limited (CBNL) is registered in England and
Wales at Byron House, Cambridge Business Park, Cowley Road, Cambridge CB4 0WZ
under company registration number 3879840. CBNL is the market leader in
carrier-class multipoint microwave backhaul and access solutions, serving
customers in over 40 countries across the globe.
>
> This e-mail and any attachments to it are confidential. If you are not the
intended recipient, please send an e-mail to the sender stating that it has been
received in error and then delete all copies of it immediately. Any views
expressed may not be the views of CBNL. Please only print this email if
necessary.
Hi, any chance that you can post your samba3 smb.conf ?
Rowland