tags 845532 +upstream thanks On Thu, Nov 24, 2016 at 11:46:49AM +0100, Alessandro Larcher wrote: > getcifsacl (and setcifsacl) can't map SID to users/groups due to a missing > symlink > > ~ cd ~/mnt/cifs > ~ getcifsacl . > WARNING: unable to initialize idmapping plugin: > /etc/cifs-utils/idmap-plugin: cannot open shared object file: No such file > or directory > REVISION:0x1 > CONTROL:0x8004 > OWNER:S-1-5-32-544 > GROUP:S-1-5-18 > ACL:S-1-5-18:ALLOWED/0x0/FULL > ACL:S-1-5-32-544:ALLOWED/0x0/FULL > su > Password: > # mkdir /etc/cifs-utils/ > # ln -s /usr/lib/i386-linux-gnu/cifs-utils/idmapwb.so > /etc/cifs-utils/idmap-plugin > # exit > ~ getcifsacl . > REVISION:0x1 > CONTROL:0x8004 > OWNER:BUILTIN\Administrators > GROUP:NT AUTHORITY\SYSTEM > ACL:NT AUTHORITY\SYSTEM:ALLOWED/0x0/FULL > ACL:BUILTIN\Administrators:ALLOWED/0x0/FULL > > See https://brainpan.io/wiki/CIFS_Client_Setup#Packaging_Bugs
These kinds of files really don't belong in /etc/. The original location for them in /usr/lib seems more appropriate.

