Troubleshooting LDAP over TLS integration with SonicWall
12/20/2019 64 19131
The following error messages are addressed in this article.
- Problem contacting LDAP server.
- Credentials not valid at LDAP server. or Credentials not valid at LDAP server - 80090308: LdapErr: DSID-0C090334, comment: AcceptSecurityContext error, data 525, vece-
- LDAP Authentication failed.
- Bad LDAP server certificate - TLS fatal: unknown CA
NOTE: More error messages and solutions related to LDAP integration can be found at the below link: http://support.microsoft.com/kb/823659.
Problem contacting LDAP server
Cause of the error
This error may appear if the DNS settings are not configured properly and the SonicWall is unable to access the LDAP server. We need to make sure that the DNS name resolution works correctly on the SonicWall.
- In the SonicWall, specify the IP address of the local DNS server as the DNS server 1.
- Navigate to Network | DNS, click Specify DNS manually and specify the IP address of the local DNS server as the DNS server 1 and the public DNS as DNS server 2.
- Click Apply on the top of the web page.
NOTE:Your local DNS server should also forward the DNS requests to the Internet DNS servers. Check the forwarders settings in your local DNS server.
- Try to ping the domain name of your LDAP server.
- Navigate to System | Diagnostics | Ping | enter the domain name, click Go button. If the response is domain name is alive then it is confirmed that the DNS name resolution is working on the SonicWall.
- If there is no reply from the domain name, then ensure the pphysical connectivity /IP address / Subnet mask of the LDAP server is correct. Try to ping the IP address of the LDAP server.
- If you can ping the LDAP server, but are unable to connect to the LDAP server thru the LDAP configuration page then navigate to User Settings | Select ‘LDAP + Local Users’ and click Configure button.
- Verify the parameters on the Settings tab.
IP Address of the LDAP server
Login User Name / Password
Use TLS (SSL) is enabled.
- We need to verify the configuration on the LDAP server side.
- Check the following security settings on the Domain Controller Security Settings in the Active Directory.
Domain Member: Digitally encrypt secure channel data (when possible): Enabled
Domain Member: Digitally sign secure channel data (when possible): Enabled
Network Security: LDAP client signing requirement: Negotiate signing
Domain Controller: LDAP Server signing requirement: None
- After making the above changes (if any), update the group policy by running gpupdate / force command.
Credentials not valid at LDAP server.’ Or ‘Credentials not valid at LDAP server - 80090308: LdapErr: DSID-0C090334, comment: AcceptSecurityContext error, data 525, vece’
Cause of the error:
This error means that the LDAP process is failing on the initial bind.
- Check the login credentials on the Settings tab.
- The Login user name must be the full name, and not the alias.
EXAMPLE: Mustufa Kamaal Afghan and not mkafghan
- Make sure that the user object for the Login user name is in the container/OU specified as User tree for login to server on the directory tab.
EXAMPLE: The Login user name Jane Doe is a user object in the AD tree ad.local/Users.
TIP: Make sure there are no special characters in the password for the Login user name (especially a ! at the end).
LDAP Authentication failed
Cause of the error
This issue may appear if the proper user name is not supplied for authentication
- Make sure that you supply the user logon name that is configured in the Active Directory (LDAP server).
BAD LDAP server certificate TLS error unknown CA