LDAP Admin: Command line parameters - old style
Command line parameters - Old URL style
Note that this URL style is deprecated. The support is provided solely for compatibility purposes. The new RFC-2255 URL format should be used instead.
URL Syntax
Syntax of the LDAP URL is similar to that of the URL's used for the connection to ftp servers:
<protocol>://<user>:<password>@<host>:<port>/<base>
- protocol
- Protocol used to connect to the LDAP server. Two types are supported: ldap for unencrypted and ldaps for SSL encrypted connection.
- user
- FQDN of the account which will be used to bind to the LDAP directory. If this parameter is omitted LdapAdmin will connect as the anonymous user.
- password
- Password for simple authentication. This parameter requires user parameter to be specified. If it is omitted password will be queried at connection time.
- host
- DNS name or IP address of LDAP server to connect to.
- port
- TCP port number. This parameter is optional, if it's not specified LdapAdmin will use default LDAP ports (389 for ldap protocol, and 636 for sldap)
- base
- Base DN (a path which will be considered as the server root for this connection).
Examples
An anonymous connection to a server with a DNS name ldapadmin.sf.net and a base dc=ldapadmin,dc=sf,dc=net:
ldap://ldapadmin.sf.net/dc=ldapadmin,dc=sf,dc=net
Connection to the same server but as the user cn=a_sokoloff,dc=sf,dc=net. The password will be requested at connection time:
ldap://cn=a_sokoloff,dc=sf,dc=net@ldapadmin.sf.net/dc=ldapadmin,dc=sf,dc=net
The same as above but both password and the port are specified in the URL:
ldap://cn=a_sokoloff,dc=sf,dc=net:passwd@ldapadmin.sf.net:389/dc=ldapadmin,dc=sf,dc=net
|