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

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

Scheduled Pinned Locked Moved General pfSense Questions
1 Posts 1 Posters 735 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
    mkent
    last edited by Apr 20, 2015, 8:53 AM

    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
    1 out of 1
    • First post
      1/1
      Last post
    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
      This community forum collects and processes your personal information.
      consent.not_received