-
Notifications
You must be signed in to change notification settings - Fork 117
Modifying gitolite usernames to not be redmine_username_int_int #13
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
Comments
Actually I don't understand your configuration. |
Nginx does the validation of the credentials and lets gitolite deal with the validation. Since there was a mention of smart http I assumed this would just work. How would smart http work otherwise in regards to serving and validating credentials? I have made an adjustment to the file which generates the gitolite conf and adds in the account username (and the key if set) but its a bit hackish I guess... |
Why not let Redmine deals with LDAP authentication? |
Because redmine is either a fcgi process or one running under something like puma as in my case. Nicolas [email protected]:
|
You mean you don't have Redmine LDAP authentication system? |
I do, but there is no link between gitolite and red mine? Nicolas [email protected]:
|
Of course there is a link! through this plugin ^^ Actually this plugin manages repos, ssh users keys, and users rights on repo. Everything is handled. |
My setup is:
This plugin has been installed and configured. Repo's are being generated properly and I'm very close to getting this to work as it should.
The webserver authentication (trough pam => LDAP) works and the username is properly forwarded to gitolite. However, because the permissions in the gitolite configuration are "redmine_username_integer_integer" and not "username" the user does not have permission to do anything with it. I manually updated the
gitolite.conf-compiled.pm
file and the access list when requesting it via the browser shows all repo's.Why is it using this format and can it be changed somehow? I don't see why stuff needs explicit redmine_.... tagged to it.
The text was updated successfully, but these errors were encountered: