Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Squid and LDAP on 2.0

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    2 Posts 1 Posters 1.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      tung.tman
      last edited by

      When upgrade to BETA4, I can't get Squid LDAP authentication working (Transparent and Local Database Authentication worked).

      Does someone have similar issue with Squid LDAP Authentication

      1 Reply Last reply Reply Quote 0
      • T
        tung.tman
        last edited by

        Found a temporary solution for authenticate LDAP - AD:

        Modify /usr/local/pkg/squid.inc

        Around line 1021:

        To```
        $conf .= "auth_param basic program /usr/local/libexec/squid/squid_ldap_auth -v {$settings['ldap_version']} -R -b
        {$settings['ldap_basedomain']} -D {$settings['ldap_user']} $password -f "{$settings['ldap_filter']}" -P {$settings['auth_server']}$port\n";

        
        Difference: Remove -u uid parameter and add -R to work.
        
        Hope this help others and tks for great firewall.
        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.