Authentication with LDAP server failed because received empty DN for user

Showing results for 
Show  only  | Search instead for 
Did you mean: 

Authentication with LDAP server failed because received empty DN for user

L3 Networker

Hello community,


I have an issue and maybe you know the reason. Here the situation:

Trying to create an authentication profile to authenticate with active directory but it´s not working.

When testing the profile with "test authentication ... " command I get the following error:

Authentication to LDAP server at X.Y.Z.E for user "......"
Egress: X.X.X.X
Type of authentication: GSSAPI
Starting LDAPS connection...
Succeeded to create a session with LDAP server
Received empty DN for user "my_user"
Authentication failed against LDAP server at X.X.X.X:636 for user "my_user"


Do you have any idea why it´s receiving empty DN?

For example, LDAP works as the groups can be customised in the 'allow-list'


Thank you in advance,




Cyber Elite
Cyber Elite

Ok, best to ask some questions first.


Is this a new implementation/install/configuration with LDAP authentication?


Has your LDAP server profile (along with domain name, distinguished name (service account), etc., work, for authenticating a test administrator account, vs testing for authentication policies?


DN to me could ne DOMAIN Name or Distiguished Name.  When you wrote back "empty DN", do you think it mean Domain or Distinguished (just curious... not really a troubleshooting step)


Does your authentication profile include the Login Attribute filled out to be samAccountName? (again, just a confirmation, not so much for troubleshooting)


Test with an admin, whose authentication requires LDAP, before testing your authentication policy.


Let me know the answers, and we can proceed from there.

Help the community: Like helpful comments and mark solutions
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!