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
LDAP search filter cannot be configured if too many OUs or filters are nested #4121
Comments
I would say this is more a bug fix than an enhancement as the short limit could prevent access to more deeply nested ou's when finding accounts etc. |
Too short search filter for Ldap - Cacti 1.2.2
Hi Guys @TheWitness & @netniV , today i have updated cacti to the last commits, but i have a problemi with the script for update the database: Do you have suggestions? The only way to fix it is to revert this commit: commit e5f7e5a thanks a lot. |
I recommend myself to get glasses. 😎 |
Okay, all fixed up. Just repull the 1.2.x branch and rerun. |
All is working now. thanks a lot. |
Feature Request
Is your feature request related to a problem? Please describe
There is too short db column (and variable limit) for ldap filter. Currently is 128 characters in table user_domains_ldap, column search_filter. It would be better to make bigger, if we want restrict user by group, its too short.
I expanded column to 512 characters, but it could be bigger. It looks I have to change max_length of search filter in file user_domains.php to 'max_length' => '4096'
Please consider to make search filter bigger.
Thank you
Radek
The text was updated successfully, but these errors were encountered: