Article 58PB0 Ubuntu 20.04.01 Squid ldap ERR: Missing username

Ubuntu 20.04.01 Squid ldap ERR: Missing username

by
s0ap
from LinuxQuestions.org on (#58PB0)
Hello... i'm new to Linux and as of now, I will need to deploy a squid running on ubuntu 20.04.01. Basically, the rest of the configuration works but when i try to do the ldap, it has an error.

/usr/lib/squid/basic_ldap_auth -R -b dc=domain,dc=com" -D cn=Administrator,cn=Users,dc=domain,dc=com" -w password" -f sAMAccountName=%s -h 192.168.1.75
ERR message="Missing username"

but if i echo using the below commands, it is okay
echo "user password" | /usr/lib/squid/basic_ldap_auth -R -b dc=domain,dc=com" -D cn=Administrator,cn=Users,dc=domain,dc=com" -w password" -f sAMAccountName=%s -h 192.168.1.75
ERR message="Missing username"
OK

Can someone please tell me where is my mistake? i tried google but i don't know where is the issue. Please kindly assist me and thank youlatest?d=yIl2AUoC8zA latest?i=s--M29ZB3ng:nwUt2hPaIUg:F7zBnMy latest?i=s--M29ZB3ng:nwUt2hPaIUg:V_sGLiP latest?d=qj6IDK7rITs latest?i=s--M29ZB3ng:nwUt2hPaIUg:gIN9vFws--M29ZB3ng
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments