sonicnkt / glauth-ui

Glauth management ui created with python/flask
MIT License
85 stars 19 forks source link

Missing options in glauth settings tab #12

Closed dl1ch closed 2 years ago

dl1ch commented 3 years ago

The Glauth settings tab is missing two values (nameformat and groupformat) under the "backend" section:

[backend] datastore = "config" baseDN = "dc=glauth,dc=com" nameformat = "uid" groupformat = "cn"

Please add those two options to the Glauth settings page.

Thanks!

sonicnkt commented 3 years ago

I plan to test and merge some other stuff by @traverseda tomorrow and will add this afterwards. Itts easily implemented and i only havent added those options since i didnt need them until now :)

sonicnkt commented 3 years ago

So with my last commit i added the missing backend options to the app (nameformat, groupformat and sshkeyattr). If you are not running this using docker you have to migrate your current db with the migrations script (flask db upgrade) otherwise this should be done automatically.