Find the answer to your Linux question:
Results 1 to 2 of 2
Hello everyone. This is my first post, so please be kind. I am trying to setup squid with authenttication trhough LDAP. Before testing thought SQUID and web, we should test ...
  1. #1
    Just Joined!
    Join Date
    Aug 2010
    Posts
    0

    Squid with LDAP problem

    Hello everyone.

    This is my first post, so please be kind.

    I am trying to setup squid with authenttication trhough LDAP.
    Before testing thought SQUID and web, we should test LDAP helper and make sure it can query my windows 2003 AD.

    It seems, that no additional config is required. I shoud "normally" test by the following line:
    /usr/lib/squid/ldap_auth -R -b "OU=Users,OU=Pixelweb,DC=pixelweb,DC=net" -D "CN=administrator,OU=Users,OU=Pixelweb,DC=pixelweb ,DC=net" -w "123456" -f "sAMAccountName=%u" -h IpOfDomainController

    user password

    The problem is I get the following message:
    ERR Success

    Anybody has an idea of how to troubleshoot this problem?

    =========================================
    Additional info:
    Ubuntu 10.4 (clean fresh install)
    Squid 3
    All packages update
    =========================================

  2. #2
    Just Joined!
    Join Date
    Aug 2010
    Posts
    0

    "squid_ldap_auth: Could not Activate TLS connection"

    Hello people!

    I have finnaly been able to use LDAP with squid: Alleluia!
    I can now use the following line to confirm that LDAP fro msquid is working:
    ###################
    #1 Enter parameter of my ldap query
    ###################
    /usr/lib/squid/ldap_auth -R -b "OU=Users,OU=Pixelweb,DC=pixelweb,DC=net" -D "CN=Administrator,OU=Users,OU=Pixelweb,DC=pixelweb ,DC=net" -w "123456" -f "sAMAccountName=%s" -h host.pixelweb.net

    ###################
    #Test the ldap query with a user and pass
    #######################
    userTest passwordOfUserTest
    OK

    Now my new problem is he security (TLS).
    There is an option -Z for TLS connection.
    The problem is, if I use this parameter I am getting this error:
    "squid_ldap_auth: Could not Activate TLS connection"

    I want to have to have a connection as secure as possible. But I read that LDAPV3 include TLS and if I use LDAP V3 with -Z, it is would be encrypted two times witch is sure to fail...

    Is there someone that can confirm or contest this ?
    Is LDAPV3 already encrypted?
    Thanks in advance!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •