2008 server and sonicwall ldap queries

I am setting up a sonicwall to query ldap on a 2008 server for vpn users, I have set the dns on the sonicwall to the 2008 server and the correct username and password. I used softerra ldap administration tool to verify connectivity and all looks good but I keep getting error credentials not valid at ldap server. see screen dumps thanks ldap config ldap error
LVL 6
Sid_FAsked:
Who is Participating?
 
digitapCommented:
under the third tab, directory tab, make sure you have the domain/OU where the user is located that you are trying to authenticate. for instance, if your domain is domain.int and you're trying to use a domain administrator account, then you'd want the two fields on the directory page to look like this:

Primary Domain: domain.int
User tree for login to server: domain.int/users

then, type the username and password under the first tab with ONLY the username in the username field and the password. i would, for now, disregard trying LDAP with TLS. when you get LDAP to work, add TLS later if you want.
0
 
Sid_FAuthor Commented:
the os is version 5 on the sonicwall
0
 
digitapCommented:
review the link below. looks like your config may be off a bit

https://www.fuzeqna.com/sonicwallkb/consumer/kbdetail.asp?kbid=8481
0
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

 
Sid_FAuthor Commented:
Hmm is the data in the link correct as the second screen dump of the sonicwall settings it states "enter display name here" this doesn't look right, surely it should be the administrator username and not a user display name?
I tried both but neither worked when I tested using the test tab
0
 
Sid_FAuthor Commented:
EXCELLENT!, I'm up and running thanks
0
 
Sid_FAuthor Commented:
Thanks
0
 
Sid_FAuthor Commented:
just one final thing if I may. when I do a test for a user in active directory, ldap authentication succeeds but when I go to ldap users and select import users I get: Error: LDAP directory mismatch ?
0
 
digitapCommented:
go to the directory tab, how many ou's do you see?
0
 
Sid_FAuthor Commented:
internal.local\users for trees containing users and internal.local\groups for tress containing groups
0
 
digitapCommented:
click the auto import button...i thin...and have it import you AD structure into the sonicwall. the button is there on the directory tab.
0
 
Sid_FAuthor Commented:
As easy as that! thanks worked great.
0
 
digitapCommented:
no problem.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.