Repository navigation
Repeated mod_auth_gssapi chmod warnings on private IPAAPI-owned delegated caches #331
juniper275
started this conversation in
General
Replies: 1 comment 1 reply
|
If GssapiDelegCcachePerms does not work as desired it can be unset. Ccache files in the directory can also be managed via default ACLs on the directory to provide access to the required parties. From the POV of mod_auth_gssapi this is not a bug but merely a configuration choice |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Environment
Observed behavior
During successful Web UI/API use, Apache logs repeatedly:
For all 436 observed warnings, the PID still maps to an apache worker and the
referenced existing cache is owned by ipaapi:ipaapi with mode 0600. Application
requests can still return SUCCESS. No credential-cache content was read.
In mod_auth_gssapi src/environ.c, mag_set_ccname_envvar compares the current
protection with the configured protection and calls apr_file_perms_set even
when the worker does not own the cache. The warning prints the requested APR
mask, not the returned error status.
Isolated reproduction
On the same system, use empty temporary files outside the live cache directory:
apr_file_perms_set(path, 0x0660).
The alternative path matters: an apache:ipaapi file at 0600 is unreadable to
ipaapi, while the same file at 0660 is readable. Therefore globally changing
GssapiDelegCcachePerms to 0600 is not established as a safe general workaround.
All temporary fixtures were removed and production configuration hashes were
unchanged. No ptrace on production workers, no personal credentials involved.
Requested clarification/fix
Please clarify the supported ownership/permissions behavior for IPAAPI-created
versus Apache-created delegated caches. Can the existing-private-cache path
avoid the unnecessary permission change and warning without regressing the
Apache-created cache path or obscuring genuine permission failures?
Any proposed change should be tested with password login, SPNEGO/Kerberos,
session reuse, logout, and expiry. No custom module or workaround is deployed.
Primary references
All reactions