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

comment ldap var #224

Closed
wants to merge 3 commits into from
Closed

comment ldap var #224

wants to merge 3 commits into from

Conversation

jeanmi151
Copy link
Contributor

@jeanmi151 jeanmi151 commented Sep 1, 2023

There is a mix of var for the LDAP container
because from other container it is good
but from the container ldap it should be localhost

@fvanderbiest
Copy link
Member

fvanderbiest commented Sep 1, 2023

Sounds really weird to me.

Asking for a review from @pmauduit and/or @edevosc2c
Thanks !

@edevosc2c
Copy link
Member

Isn't that the case for likely a lot of other environments variables?

I mean why not the comment but in this case it should be written on a lot of other environments variables.

@jeanmi151
Copy link
Contributor Author

I also added the env var for ldap password policy bootstrap, SLAPD_PASSWORD_MGT_POLICY
Yes it could be a problem for others container but we didn't remark any problem on other, only for ldap was creating a real problem (don't start at all)

@fvanderbiest
Copy link
Member

I mean why not the comment but in this case it should be written on a lot of other environments variables.

My concern was about having a variable which "should not be changed" - it does not make sense to me...
Where is this var used, is it really useful ?

@jeanmi151
Copy link
Contributor Author

if removed, we need to delete if from the envs-ldap file, but it could be moved into hosted, I will test it !

@jeanmi151
Copy link
Contributor Author

hum can't make working cas ... not sure it is coming from my config,

@jeanmi151
Copy link
Contributor Author

I am getting the error from cas :

Caused by: 
org.springframework.boot.context.properties.ConfigurationPropertiesBindException: Error creating bean with name 'cas-org.apereo.cas.configuration.CasConfigurationProperties': Could not bind properties to 'CasConfigurationProperties' : prefix=cas, ignoreInvalidFields=false, ignoreUnknownFields=true; nested exception is org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'cas.host' to org.apereo.cas.configuration.model.core.HostProperties

Caused by: 
org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'cas.host' to org.apereo.cas.configuration.model.core.HostProperties

Caused by: 
org.springframework.core.convert.ConverterNotFoundException: No converter found capable of converting from type [java.lang.String] to type [@org.springframework.boot.context.properties.NestedConfigurationProperty org.apereo.cas.configuration.model.core.HostProperties]

@jeanmi151 jeanmi151 marked this pull request as draft September 5, 2023 07:03
@jeanmi151
Copy link
Contributor Author

still couldn't make cas working, don't know why

@fvanderbiest
Copy link
Member

The PR misses a description of which problem it tackles, how it solves it, and why it is needed.
Considering closing it.

@jeanmi151
Copy link
Contributor Author

I guess we can close this PR, did not see again the problem

@edevosc2c edevosc2c deleted the update_ldap_comment branch November 4, 2024 17:01
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.

3 participants