How to get setcifsacl to work on Slackware
by mfoley from LinuxQuestions.org on (#5GYDV)
I have Slackware 14.2 with cifs-utils 6.4 installed. I'm trying to set an ACE as follows:
Code:# setcifsacl -a '"ACL:ohprs:DENIED/NI/D"' 'Pension Files'
WARNING: unable to initialize idmapping plugin. Only "raw" SID strings will be accepted: /etc/cifs-utils/idmap-plugin: cannot open shared object file: No such file or directory
build_cmdline_aces: Invalid SID (ohprs): SID string does not start with "S-"Let me state up-front that I have no idea what I'm doing. This is my first shot at trying setcifsacl and the command used above was given to me by another poster in LQ. I've read the man page and researched other web resources. So far, stumped.
First off, despite supposedly having cifs-utils installed, I have no /etc/cifs-utils directory as the error message and man page indicate I should. How do I get past this basic issue?


Code:# setcifsacl -a '"ACL:ohprs:DENIED/NI/D"' 'Pension Files'
WARNING: unable to initialize idmapping plugin. Only "raw" SID strings will be accepted: /etc/cifs-utils/idmap-plugin: cannot open shared object file: No such file or directory
build_cmdline_aces: Invalid SID (ohprs): SID string does not start with "S-"Let me state up-front that I have no idea what I'm doing. This is my first shot at trying setcifsacl and the command used above was given to me by another poster in LQ. I've read the man page and researched other web resources. So far, stumped.
First off, despite supposedly having cifs-utils installed, I have no /etc/cifs-utils directory as the error message and man page indicate I should. How do I get past this basic issue?