You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I am not really familiar with ldap so not sure if I can implement it. I want to get oauth support working right now but I could try to add ldap support in the future. Thank you for your suggestion!
Alright after some though I decided this is a bit out of scope for the project. Adding ldap would make things way too complicated for a simple login screen. I will close this for now.
suggestion: maybe you can have LDAP as a plugin that users tick a checkbox to enable/download thereby not increasing the size of TinyAuth and keeping the code clean
docker guacamole has a similar setup, they have an environment variable that loads it if users want it (also pingvin but loads it by default) https://hub.docker.com/r/guacamole/guacamole
Thank you for the wonderful work. You might need to update the documentation,
Documentation: LDAP Config
For a Windows LDAP server, the search variable should be as below (you might want to ask others to check too)
LDAP_SEARCH_FILTER = (&(sAMAccountName=%s))
I used the uid as it's what being used by LLDAP which the guide uses. I can add a note but I think people setting up Tinyauth with windows LDAP will already know what they are doing. What do you think?
Activity
steveiliop56 commentedon Jan 20, 2025
Hello, I am not really familiar with ldap so not sure if I can implement it. I want to get oauth support working right now but I could try to add ldap support in the future. Thank you for your suggestion!
steveiliop56 commentedon Feb 1, 2025
Alright after some though I decided this is a bit out of scope for the project. Adding ldap would make things way too complicated for a simple login screen. I will close this for now.
joel72265 commentedon Jul 4, 2025
Thank you for a wonderful application.
suggestion: maybe you can have LDAP as a plugin that users tick a checkbox to enable/download thereby not increasing the size of TinyAuth and keeping the code clean
steveiliop56 commentedon Jul 4, 2025
You made me revisit the topic and...#232. It's simpler than I thought and diving deeper into LDAP I am starting to like it a lot.
joel72265 commentedon Jul 5, 2025
docker guacamole has a similar setup, they have an environment variable that loads it if users want it (also pingvin but loads it by default)
https://hub.docker.com/r/guacamole/guacamole
steveiliop56 commentedon Jul 5, 2025
Implemented in #232
joel72265 commentedon Aug 9, 2025
Thank you for the wonderful work. You might need to update the documentation,
Documentation: LDAP Config
For a Windows LDAP server, the search variable should be as below (you might want to ask others to check too)
LDAP_SEARCH_FILTER = (&(sAMAccountName=%s))
steveiliop56 commentedon Aug 9, 2025
I used the
uidas it's what being used by LLDAP which the guide uses. I can add a note but I think people setting up Tinyauth with windows LDAP will already know what they are doing. What do you think?joel72265 commentedon Aug 9, 2025
I think a note would suffice.
Reason being, I had to try a few different configurations to get it to work
steveiliop56 commentedon Aug 9, 2025
Alright I will add it in the documentation. Would you like to add it to appear as a contributor?
joel72265 commentedon Aug 9, 2025
I even tried to add it myself before posting but I don't know how to do it, I need to fork it or something
steveiliop56 commentedon Aug 9, 2025
Alright, I will do it myself no worries.
steveiliop56 commentedon Aug 9, 2025
Added a note in the configuration page.