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

Improvements to auto-generated glauth config #18

Closed
wants to merge 2 commits into from

Conversation

sharatbala
Copy link

The original version generated config files that would not return valid results for ldapsearch or Authelia. The reasons were the use of the deprecated "unixid" field as well as the missing behavior attribute. This change sets up default behavior to allow all users to search. Ideally the UI would be updated with a checkbox or something like that per user which would then add a [behaviour] section for each user

- Using new uidnumber and gidnumber instead of "unixid"
- added IgnoreCapabilities=true behaviour so that service users can do LDAP search
@sonicnkt
Copy link
Owner

Thanks for the contribution..
There is allreadz a PR for the changes that need to be implemented for supporting glauth 2.x (see #17 )
I have merged that PR into a new branch, but i havent fully figured out yet how to migrate the existing databases.

@sonicnkt
Copy link
Owner

Okay im still having issues with the db migration if i also rename the columns in the db itself. i will go with your more simple approach first (only change the names in the ui and generated config file)

I will merge this by hand tho because of some conflicts but thanks for the contribution! Im really out of touch with git after not using it for some time. but i really want to get this going again with the up to date version of glauth

@sonicnkt sonicnkt closed this Jan 13, 2022
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.

None yet

2 participants