ldapsdk icon indicating copy to clipboard operation
ldapsdk copied to clipboard

Add refreshKrb5Config to GSSAPIBindRequestProperties

Open swongu opened this issue 10 years ago • 4 comments

Currently it doesn't seem possible to specify refreshKrb5Config to force a refresh of the Kerberos configuration, via GSSAPIBindRequest and its associated properties class. I tried to extend GSSAPIBindRequest but writeSunJAASConfig() doesn't really allow for it. Is it possible to add a way to extend or support refreshKrb5Config directly?

Thanks.

swongu avatar Nov 30 '15 18:11 swongu

It should be a fairly straightforward change to add this into the next release of the LDAP SDK. I'll try to get that in soon.

As a workaround, you should be able to provide your own JAAS configuration file instead of using one that is automatically generated by the LDAP SDK.

dirmgr avatar Nov 30 '15 20:11 dirmgr

I've just committed a change that updates the LDAP SDK to add the ability to include the refreshKrb5Config property in the dynamically-generated JAAS configuration file. I've also added support for the useKeyTab and keyTab properties.

dirmgr avatar Dec 01 '15 00:12 dirmgr

Thanks, that was fast! When are you expecting 3.0.1 to drop?

swongu avatar Dec 01 '15 01:12 swongu

I don't have a specific date, but it will be within the next three weeks. Probably sometime during the week of December 14th.

dirmgr avatar Dec 01 '15 05:12 dirmgr