Skip to content

Conversation

@frasertweedale
Copy link
Contributor

In some cases (e.g. if you want to convey the ccname over AJP) the
request environment variable name "KRB5CCNAME" is not appropriate.
Add the GssapiDelegCcacheEnvVar option that allows the env var name
to be changed.

Fixes: https://github.com/modauthgssapi/mod_auth_gssapi/issues/123

Copy link
Contributor

@simo5 simo5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am ok with the PR, just change the one detail I mentioned.

src/environ.c Outdated
"KRB5CCNAME file (%s) lookup failed!", path);
}

char *name = cfg->ccname_envvar != NULL
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please set the default env var in ccname_envar when the cgf is allocated and avoid this if/else ?

@frasertweedale
Copy link
Contributor Author

frasertweedale commented Feb 4, 2017 via email

In some cases (e.g. if you want to convey the ccname over AJP) the
request environment variable name "KRB5CCNAME" is not appropriate.
Add the GssapiDelegCcacheEnvVar option that allows the env var name
to be changed.

Fixes: https://github.com/modauthgssapi/mod_auth_gssapi/issues/123
@frasertweedale
Copy link
Contributor Author

@Simo are you happy with this patch now?

@simo5
Copy link
Contributor

simo5 commented Feb 8, 2017

Yes, I'll fix a style issue as I push it, it'd be nice to have a test to make sure we do not regress here, and the proper variable is populated, you can open a spearate PR for that though

@simo5 simo5 closed this in eb8ed98 Feb 8, 2017
@frasertweedale frasertweedale deleted the feature/ccname-env-var branch February 21, 2017 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants