-
Notifications
You must be signed in to change notification settings - Fork 4
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
Authentication using LDAP: granting operator and token permissions #2
Comments
Thats normal: if you're using galene-ldap, you're delegating permission management to galene-ldap: the permissions are decided by galene-ldap, and Galene fully obeys the permissions that are contained in the token. https://github.com/jech/galene-ldap/blob/master/token.go#L107 If you wish to allow users authenticated through galene-ldap to be able to create tokens, you'll need to modify galene-ldap so it provides the token permission. This could either be done when the user has a specific LDAP permission, or we could modify Galene so it informs the authentication server (galene-ldap) when the Which of the above would solve your use case? Or perhaps you have other ideas? |
Modify Galene so it informs the authentication server (galene-ldap) when the unrestrictedTokens option has been set – ideal option. Thank you for a wonderful product! |
I have modified token.go in galene-ldap. Everything works as expected! Thank you for the tip, this solution is enough for me. |
One more question. How can I inform Galene from galene-ldap about who should be the group operator? From json, Galene only determines who the operator is for the built-in authorization mechanism. |
It's encoded in the permissions, using permission "op". In order to implement it, you'd need to replace https://github.com/jech/galene-ldap/blob/master/token.go#L107 with something like
It's not currently implemented, since I'm not sure how the |
It will be enough if the parameters are taken from galene-ldap.json in the following format:
|
@ericgaspar @erdnaxe Opinions? |
I have implemented this format in my fork. For me this question is no longer relevant, I think we can close the issue. Also, it would be more correct of me to open it in the galene-ldap repository. |
When using LDAP integration for the Galene videoconferencing server, the authenticated user does not consider the "unrestricted-tokens" parameter. The user joins with "Presenter" privileges, but cannot invite users.
The text was updated successfully, but these errors were encountered: