-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
SASL support #27
Comments
Hi @kazeno. Thanks for the report. Currently, I don't have any instance with SASL to test this situation. But you can debug Those arrays are created in this section |
I made a Here's my var_dump of
In any case thanks for the help so far, and if you're ever interested in testing SASL, it's super easy with the bitnami/memcached Docker image: you just set the |
Is your feature request related to a problem?
Currently it's not possible to connect to a SASL enabled server.
Describe the solution you'd like
Being able to set SASL user and password, preferably per server or cluster, but could be globally.
Describe alternatives you've considered
I actually built an image on top of this that adds the following code to Library_Command_Memcached::__construct():
and runs the following inside its Dockerfile:
and setting the env variables MEMCACHED_SASL_USER and MEMCACHED_SASL_PASS, and configuring the GUI to use PECL Memcached for each function did get me connected to the SASL authenticated server. However all the stat graphs are broken, showing instead
Warning: A non-numeric value encountered in /var/www/html/Library/Data/Analysis.php on line 56
However, the table near the bottom with the NAME, SIZE, %MEM (etc.) columns does work, so there's probably some incompatibility in the PECL Memcached code pathway.
Additional context
Screenshot of my hack in action, just for reference
The text was updated successfully, but these errors were encountered: