-
|
Hi! I am using the latest mod_auth_gssapi with apache 2.4.46 on debian 10.8 and can't get gss_localname() to work. Kerberos Environment:
Authentication with GssApiLocalName off is working well, but the application is not able to handle Realms. krb5.conf: .htaccess of the affected website: The following errors are logged: I already tried to find something with strace as "No such file or directory" seems more related to a missing library or something like this, but I do not see any stat/open relating to the issue. Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 10 replies
-
|
ENOENT is returned when a user is not found. |
Beta Was this translation helpful? Give feedback.
-
|
Perfect, thanks for the pointer! I just found two similar cases during my reasearch - probably it would be a good idea to add the behaviour to the documentation :-) |
Beta Was this translation helpful? Give feedback.
-
|
Hi @simo5 I configured LDAP via NSS and was able to call getpwnam() via perl successfully and run nslcd in debug mode, but still get ENOENT from mod_auth_gssapi. I do not see any calls initiated by mod_auth_gssapi against nss at all (but do see my perl getpwnam() calls). Do you have any idea how to debug this further? The following code is working: output: Thanks, |
Beta Was this translation helpful? Give feedback.
-
|
Short Update:
I tried to build a small c++ console app to call gss_localname() to better understand the issue and get detailed error codes, but having difficulties during build: Code (wip): Installed packages: |
Beta Was this translation helpful? Give feedback.
-
|
Thank you, I had to specify it manually with the compiler: |
Beta Was this translation helpful? Give feedback.
-
|
Doh, I just read the kerberos mailing list, I should have thought about the config issue. |
Beta Was this translation helpful? Give feedback.
-
|
for the record this was Greg Hudson's reply:
|
Beta Was this translation helpful? Give feedback.
for the record this was Greg Hudson's reply: