Read and write list ordering

Justin Maggard jmaggard10 at
Fri Jul 15 23:46:12 UTC 2016

I'd like to get other people's opinions on this.

Currently, objects in the write list always override the same objects
in the read list.

This includes cases where you have an individual user account in the
read list, and a group he belongs to in the write list.  This seems
unintuitive, as most of us are used to user account settings taking
precedence over group account settings.

The attached patch keeps track of the object type, and gives
preference to user account objects if they exist.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-s3-Prefer-user-accounts-in-read-and-write-lists.patch
Type: text/x-patch
Size: 5385 bytes
Desc: not available
URL: <>

More information about the samba-technical mailing list