Cannot retrieve NFSv4 ACLs when using Ubuntu 10.04

Asked by AdrianW

All,

I'm running Ubuntu 10.04 latest updates with the following extra packages installed:
krb5-user, libpam-krb5, nfs-common, nfs-kernel-server, nfs4-acl-tools, Winbind and Samba packages

I've successfully added my Ubuntu system to our Windows 2003 Active Directory which also acts as our Kerberos Distribution Centre.

I can also obtain a Kerberos ticket for my user account from the AD KDC.

From the Ubuntu client, I'm mounting to a remote file system exported only using NFS v4. The remote NFS v4 file system has permissions assigned to its files/folders using user and group objects from our Active Directory.

Permissions are enforced correctly over the NFS v4 mount when connecting from Ubuntu.

However, when I try to list the NFS v4 ACLs on files/folders on the mount using the nfs4_getfacl command within Ubuntu, I get the following error:
Failed getxattr operation: Input/output error

I've tried doing an strace against the command, but am unable to identify the probem.

Any assistance appreciated.

Many thanks,
Adrian.
<email address hidden>

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu samba Edit question
Assignee:
No assignee Edit question
Solved by:
AdrianW
Solved:
Last query:
Last reply:
Revision history for this message
AdrianW (adrianwheway) said :
#1

There is a bug in Ubuntu 10.04 that stops the NFSv4 ACLs tools from working.

To resolve the issue, you need to patch the Linux kernel to a later ‘beta’ version in order to make this work.

I followed the advice from this article: https://wiki.ubuntu.com/Kernel/MainlineBuilds?action=show&redirect=KernelMainlineBuilds#Mainline%20Kernels%20Archive

And downloaded the header and image file from here:
http://kernel.ubuntu.com/~kernel-ppa/mainline.orig/v2.6.35-rc1-lucid/

I can now see and amend NFSv4 ACLs in Ubuntu.

Thanks,
Adrian.