<div dir="ltr">Thank you so much! That did the trick. You made my day :-D<br></div><br><div class="gmail_quote"><div dir="ltr">Amos Jeffries <<a href="mailto:squid3@treenet.co.nz">squid3@treenet.co.nz</a>> schrieb am Mi., 29. März 2017 um 03:08 Uhr:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 29/03/2017 2:54 a.m., Max Giesbert wrote:<br class="gmail_msg">
> Hi everyone,<br class="gmail_msg">
><br class="gmail_msg">
> I am running Squid from the repos on Ubuntu 16.04. I can login to Squid<br class="gmail_msg">
> using basic_nsca_auth without problems. When I replace the according line<br class="gmail_msg">
> using basic_ldap_auth I am unable to login. The browser keeps requesting<br class="gmail_msg">
> the user credentials over and over again.<br class="gmail_msg">
><br class="gmail_msg">
> If I run the command in a shell it works as expected. I type:<br class="gmail_msg">
><br class="gmail_msg">
> /usr/lib/squid/basic_ldap_auth -v 3 -b ou="MYOU",dc=DOMAINNAME,dc=TLD -D<br class="gmail_msg">
> ldap_squid@MYDOMAIN -w "THEPASSWORD" -f sAMAccountName=%s -h MYHOST<br class="gmail_msg">
><br class="gmail_msg">
> Then I type username and password separated by a space and it gives "OK" or<br class="gmail_msg">
> ERR if wrong credentials are provided.<br class="gmail_msg">
><br class="gmail_msg">
> Any hints what could be wrong? How can I debug further what actually is<br class="gmail_msg">
> happened behind the scenes?<br class="gmail_msg">
><br class="gmail_msg">
<br class="gmail_msg">
Why do you have quotes around the MYOU ?<br class="gmail_msg">
If that includes spaces or special characters you need quotes around<br class="gmail_msg">
the whole "ou=...dc=TLD" parameter for Squid to pass it to the helper as<br class="gmail_msg">
a single command line option.<br class="gmail_msg">
<br class="gmail_msg">
Amos<br class="gmail_msg">
<br class="gmail_msg">
_______________________________________________<br class="gmail_msg">
squid-users mailing list<br class="gmail_msg">
<a href="mailto:squid-users@lists.squid-cache.org" class="gmail_msg" target="_blank">squid-users@lists.squid-cache.org</a><br class="gmail_msg">
<a href="http://lists.squid-cache.org/listinfo/squid-users" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.squid-cache.org/listinfo/squid-users</a><br class="gmail_msg">
</blockquote></div><div dir="ltr">-- <br></div><div data-smartmail="gmail_signature"><div dir="ltr"><div><span>Dipl. Inf. (FH) Max Giesbert<br>Geschäftsführer<br><br>exactt technology GmbH<br> <br><span>Mobil: +49 17 75 07 53 44<br></span></span></div><div><span>Festnetz: +49 89 38 15 64 42 1
<br></span></div><div><span>Fax: +49 89 38 15 64 42 5
<br>Web: <a href="http://exactt.de">http://exactt.de</a>
<br><br></span></div><span></span><span>Fäustlestraße 3
</span><br><span></span><div><span>80339 München
<br>Germany<br><br><span>Fernwartung: <br></span></span><div class="inbox-inbox-table-cell inbox-inbox-middle"><a href="https://get.teamviewer.com/y5kz3vc">https://get.teamviewer.com/y5kz3vc</a>
</div><div><span><br></span></div><span>Sitz der Gesellschaft: München
<br>Registergericht: Amtsgericht München, HRB 213444
<br>Geschäftsführer: Max Giesbert, Roman Weiss</span></div></div></div>