Skip to main content
Eric_Baldwin
New Member
Jan 16, 2017 2:45 PM UTC
Question

IPSec VPN with Active Directory Authentication

I have created a VPN tunnel with the Windows Dialup Template and used a group within the VPN setup to look to for authentication. I created a local firewall test user and placed in group to find that all works successfully. I am able to ping my local servers while connecting through a Verizon hotspot or remote network.

 

I created a user from active directory by going to firewall users and selecting LDAP user. After placing this user into the VPN group i am not able to authenticate. I've made sure my DC DNS servers are specified and tried different security options on the windows 7 side. Example PAP, CHAP, CHAP v2.

 

Any suggestions?

 

I have a FortiGate 100D on 5.4.3 build 1111

    5 replies

    brycemd
    New Member
    Jan 17, 2017 6:22 PM UTC

    Ensure you are using the correct username. By default for the LDAP server, IIRC, it is by 'cn' not 'sAMAccountName'. Which means the username would be the full name. Either try the full name or change the LDAP server Common Name Identifier from cn to sAMAccountName

    Heyro
    New Member
    Jan 17, 2017 8:45 PM UTC

    In our company we use firstname.lastname as credentials. When using "CN" in the Common Name Identifier field, the users authenticate with firstname lastname. Instead of the "." they have to use a space. Changing this to "sAMAccountName" in the Common Name Identifier field solved the problem.

    CodeTron
    Explorer II
    Apr 5, 2017 6:43 AM UTC

    Make sure that you have the followings in your LDAP connection string:

    Common name identifier : sAMAccountName

    and the user name should be in this format:

    CN=administrator,CN=Users,DC=domain,DC=com

     

    Note: replace domain with your domain name

    Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
    Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT