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

    Trying AD authentication group based on Squid

    Scheduled Pinned Locked Moved Cache/Proxy
    3 Posts 3 Posters 1.6k 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.
    • M
      mark81
      last edited by

      Hi,

      I'm trying to get AD authentication work on group level in Squid.
      I am succesfully able to login with domain users to PFSense itself, so my AD setup is working, and PFSense has access to LDAP, DNS etc.

      I configured LDAP:

      • authentication server: domain controller IP
      • authentication port: 389
      • LDAP Server user DN: CN=serviceaccount,OU=service,OU=Accounts,OU=domainname,dc=domainname,dc=local
      • Base Domain: dc=domainname,dc=local
      • Search filter: memberOf=CN=gg-Internet-Access,OU=Groups,OU=domainname,DC=domainname,DC=local

      The user get's the authentication prompt, but I'm not able to authenticate. I'm sure I'm doing something wrong, just not sure what.

      Thanks,

      Mark

      1 Reply Last reply Reply Quote 0
      • F
        fpires
        last edited by

        Hi Mark….

        Whats username and password you use to authenticate user in active directory ?

        Please check all information bellow:

        User gg is member domain admins ?
        User gg have special caracter in password? example "@" ?

        Dansguardian cannot pass authenthication in Active Directory if user used contain special caracter in password.

        God Luck! and sorry my english !

        1 Reply Last reply Reply Quote 0
        • R
          rol801
          last edited by

          Hello,

          As per experience during implementation. There are 2 problems in pFSense Squid.

          1. Base domain can't use "DC=Domain,DC=local", you must use something like OU=something,DC=domain,DC=local . And OU needs to be the same one using in "Search Filter"
          2. The AD user needs exists in that OU, user accounts located from other OU, Container or anywhere. Even these accounts in Search filter group". Authentication remains fail
          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.