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

    LDAP Auth - 'Username Alterations' don't work if 'User naming attribute' is…

    General pfSense Questions
    1
    1
    732
    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
      mkent
      last edited by

      I've run into an issue withe the LDAP server, and I'd like someone to test and confirm if possible.

      I have an AD LDAP server set up, which pfsense quite happily queries.  I've changed the samAccountName to userPrincipalName (as I'm creating new users for VPN logins & can't use the same samAccountName for two different users)

      User Example: samAccountname=test, upn=test@test.com

      If I test the authentication using the samAccountName, with the User Naming attribute unchecked it works. (sam=test)
      If I test the authentication using the userPrincipalName, with the User Naming attribute checked it works. (upn=test@test.com)

      If I test the authentication using the userPrincipalName, with the User Naming attribute unchecked it fails. (upn=test or upn=test@test.com)

      Could someone test this, or am I doing something wrong?

      Thanks,
      Matthew

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