On Sat, 6 Sep 2008, Sean McGrath wrote:

>   The sfw project's bit has whats needed here, the libsunwrap.a src etc,
>   http://www.opensolaris.org/os/project/sfwnv/

Thanks for the pointer, I was able to pull out the libsunwrap.a source code
and use it to compile the bundled samba source from S10U5. Although a
couple of functions in vfs_zfsacl.c returned NTSTATUS instead of BOOL,
which initially caused a compilation error until I fixed it. I don't think
the source code shipped with Solaris is the same source code actually used
to make the binary packages :(.

For the benefit of anyone with a similar problem that finds this thread via
a search, it turns out the issue was actually with the nfs4acl module,
which vfs_zfsacl.c uses.

>From README.nfs4acls.txt:


mode = [simple|special]
- simple: don't use OWNER@ and GROUP@ special IDs in ACEs. - default
- special: use OWNER@ and GROUP@ special IDs in ACEs instead of simple
user&group ids.


The default for the NFS4 ACL mapper subsystem is to remove special ACEs
and replace them with specific user/group ACEs. Kind of seems like a dumb
default to me. If you add "nfs4: mode = special" to your smb.conf things
work as expected.

Thanks again for the help...


-- 
Paul B. Henson  |  (909) 979-6361  |  http://www.csupomona.edu/~henson/
Operating Systems and Network Analyst  |  [EMAIL PROTECTED]
California State Polytechnic University  |  Pomona CA 91768
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to