The LDAP service (LDAPService) provides
operations for querying LDAP directories. LDAP directories are generally
used to store information about the people, groups, and services
in an organization.
For details on the LDAP service, see Services Reference.
The following settings are available for the LDAP service.
- Initial Context Factory:
- The Java class to use as the context factory. This class
is used to create a connection to the LDAP server. The default value
is com.sun.jndi.ldap.LdapCtxFactory, which is appropriate
for most LDAP servers.
- Provider URL:
- The URL to use to connect to the LDAP service. The format
of the value is ldap://server name:port
server name is
the name of the computer that hosts the LDAP server
port is
the communications port that the LDAP service uses. The default
value is 389, which is the standard port used for LDAP connections.
- User Name:
- The user name of the user account to use to log in to the
LDAP server. The user account needs to have permission to connect
to the server and read the information in the LDAP directory.
Depending
on the LDAP server, the user name could be a simple user name such as myname or
a DN, such as cn=myname,cn=users,dc=myorg.
- Password:
- The password that corresponds with the user name provided
for the Username setting.
- Other Properties:
- A string value that represents other properties and their corresponding
values that you can provide to the LDAP server. The value is in
the following format:
property=value;property=value;...
|
|
|