setcifsacl errors out, package missing idmap-plugin symlink
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cifs-utils (Debian) |
Fix Released
|
Unknown
|
|||
cifs-utils (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
# lsb_release -rd
Description: Ubuntu 14.04 LTS
Release: 14.04
# apt-cache policy cifs-utils
cifs-utils:
Installed: 2:6.0-1ubuntu2
Candidate: 2:6.0-1ubuntu2
The cifs-utils package is missing a symlink to the idmap plugin; attempting to run setcifsacl errors out like so:
# setcifsacl -a "ACL:S-
ERROR: unable to initialize idmapping plugin: /etc/cifs-
The plugin is available, it's just a symlink needed to fix it even though idmap isn't being used (no winbind):
# mkdir /etc/cifs-utils
# ln -s /usr/lib/
# setcifsacl -a "ACL:S-
# getcifsacl /data/test-file
REVISION:0x1
CONTROL:0x8004
OWNER:S-
GROUP:S-
ACL:S-1-
ACL:S-1-
ACL:S-1-
ACL:S-1-
ACL:S-1-
Reference: https:/
Changed in cifs-utils (Debian): | |
status: | Unknown → Fix Released |
Looks like this missing plugin behaviour was fixed in release 6.2 of cifs-utils:
https:/ /wiki.samba. org/index. php/LinuxCIFS_ utils
October 4, 2013: Release 6.2
setcifsacl can now work without a plugin ask-password is found using $PATH now /lists. samba.org/ archive/ samba-technical /2013-October/ 095287. html
systemd-
cifs.upcall now works with KEYRING: credcaches
https:/