Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The config sol.kerberos.login.conf seems to be no effect in solace_source.properties #65

Open
pape2016 opened this issue Jul 20, 2023 · 1 comment

Comments

@pape2016
Copy link

I want to use connector to connect to solace service with kerberos authentication. so I uncomment kerberos configuration options and set values:

sol.authentication_scheme=AUTHENTICATION_SCHEME_GSS_KRB
sol.kerberos.login.conf=/connectors/login.conf
sol.kerberos.krb5.conf=/connectors/krb5.conf

Then I start the connetor but failed with exception [No LoginModules configured for SolaceGSS]

It looks like connector doesn't find login.conf, as after I comment the configuration of login.conf, connector starts with the same error.
Then, I modify the shell script of Kafka: bin/kafka-run-class.sh
add below arg in java execution path at the end of the shell script file:
-Djava.security.auth.login.config=/connectors/login.conf
like this:

exec "$JAVA" #KAFKA_HEAP_OPTS -Djava.security.auth.login.config=/connectors/login.conf $KAFKA_JVM_PERFORMANCE_OPTS ......

Then, the connector start success.!

I confuse why the login.conf can not be found if it is configured in solace_source.properties, and can be found if I put it in java execution path directly.

@pape2016
Copy link
Author

pape2016 commented Jul 20, 2023

Besides, sol.kerberos.krb5.conf is ok to get it from solace_source.properties, so it is a little weird why sol.kerberos.login.conf is not working.

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

No branches or pull requests

1 participant