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

    PfSense CP + MS-AD

    Scheduled Pinned Locked Moved Captive Portal
    4 Posts 2 Posters 1.2k 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.
    • F
      fbifido
      last edited by

      Hi,

      How do I get Microsoft AD users to log into the Captive Portal ?

      Thanks.

      1 Reply Last reply Reply Quote 0
      • M
        muswellhillbilly
        last edited by

        To the best of my knowledge, you have to use a Radius server as a broker between the AD domain and the captive portal. You can either set up an MS Radius server tied to your Windows environment or possibly set up a FreeRadius server to handle authentication requests on behalf of the domain.

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

          Thanks.

          pfsense.org, Why did you put an LDAP for Microsoft Active Directory, and enable us to select OU's and not enable us to use it for Captive Portal, THAT IS JUST NOT FAIR.

          (PLEASE fix the Captive Portal to use AD-Groups and/or OU for logins)

          Thanks.

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

            One other thing:

            pfSense 2.3.1 i386

            my CP custom login page no longer works unless I remove, the information that you said is needed -
            $PORTAL_ACTION$
            $PORTAL_REDIRURL$
            $PORTAL_ZONE$

            none of the above variables work.

            eg:

            
             <title>C-NAME Wireless Internet Access Point</title>
            
            ![](captiveportal-test.jpg)
            
            ## C-NAME Wireless Internet Access Point
            
            Welcome! Please supply **Either** your Username & Passowrd **Or** your Voucher Number below.
            
            <form method="post" action="$PORTAL_ACTION$">
            
            | **Username:** |  |
            | **Password:** |  |
            | **Voucher Number:** |  |
            |   |
            | 
            
                  |
            
            </form>
            
            

            this is the code that works:

            
            <title>C-NAME Wireless Internet Access Point</title>
            
            ![](captiveportal-test.jpg)
            
            ## C-NAME Wireless Internet Access Point
            
            Welcome! Please supply **Either** your Username & Passowrd **Or** your Voucher Number below.
            
            <form method="post" action="http://10.10.1.1:8002/index.php?zone=C-NAME">
            
            | **Username:** |  |
            | **Password:** |  |
            | **Voucher Number:** |  |
            |   |
            | 
            
                  |
            
            </form>
            
            

            Please fix this problem.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.