Querying an ldap server, Configuring for ldap authentication, Querying an ldap server -8 – NETGEAR ProSafe SSL312 User Manual
Page 42: Configuring for ldap authentication -8
NETGEAR ProSafe SSL VPN Concentrator 25 SSL312 Reference Manual
3-8
Authenticating Users
v1.1, November 2006
Querying an LDAP Server
To query your LDAP or Active Directory server to find out the LDAP attributes of your users, you
can use several different methods. From a machine with LDAPsearch tools (for example a Linux
machine with OpenLDAP installed) run the following command:
ldapsearch -h 10.0.0.5 -x -D
“cn=demo,cn=users,dc=netgear,dc=net” -w demo123 -b
“dc=netgear,dc=net” > /tmp/file
Where:
•
10.0.0.5
is the IP address of the LDAP or Active Directory server
•
“cn=demo,cn=users,dc=netgear,dc=net”
is the distinguished name of an LDAP
user
•
demo123
is the password for the user demo
•
“dc=netgear,dc=net”
is the base domain that you are querying
•
> /tmp/file
is optional and defines the file where the LDAP query results will be saved.
For further information on querying an LDAP server from a Window server, please see:
Configuring for LDAP Authentication
To configure LDAP authentication, click Add Domain. An Add Domain window displays. In the
Add Domain window:
1. From the Authentication Type menu, select LDAP. The Add Domain Window displays the
fields for a domain with LDAP authentication: