Multidomain support for this project #462
richycrazy
started this conversation in
Ideas
Replies: 2 comments
-
Hello @richycrazy thanks for this suggestion. We implemented the multi-domain support by allowing to pick a configuration depending on an HTTP header sent to SSP. See https://self-service-password.readthedocs.io/en/latest/config_general.html#multi-tenancy It is different from your proposition but could maybe fit your needs. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yes i think it maybe does. I have to figure it out how to automatically
generate a config file every time i add a domain. Thanks
…On Thu, Jan 28, 2021, 4:54 AM coudot ***@***.***> wrote:
Hello @richycrazy <https://github.com/richycrazy>
thanks for this suggestion.
We implemented the multi-domain support by allowing to pick a
configuration depending on an HTTP header sent to SSP. See
https://self-service-password.readthedocs.io/en/latest/config_general.html#multi-tenancy
It is different from your proposition but could maybe fit your needs.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#462 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEVXSKNZR6W7JPN3Z4USZKLS4EX5BANCNFSM4WWMWYIA>
.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
First Sorry but a im not a native english
I have made some small adjustment to get this project work whit multiple domains in one single ldap server
two common methods to have a multidomain ldap are generally to use root-suffixes in the form of dc=example,dc=com and in the form o=example.com
I add another config var named $ldap_base_dn_mode = "dc"; (supported values are "dc" and "o" )
and then rewrite all the actions files in the project not all the file of course. I just replace the line where the $login variable is defined in a way that allows the users to login in the form of user@domain and the Base DN is dynamically get from the user login.
my lines of code looks like this:
It will be nice you guys to support multidomain for this web.
Beta Was this translation helpful? Give feedback.
All reactions