LDAPAdmin Download now

OverviewNewsScreenshotsDocumentationDownloadForums

Command line parameters

You may pass connection related parameters to LDAPAdmin on the command line in order to directly connect to the specified URL. Moreover, LDAPAdmin can register itself as the default browser for the ldap URL type. This way, you can create shortcuts on the desktop which can be used to connect to server with the simple doubleclick.

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


Copyright (C) 2005 Tihomir Karlovic & ldapadmin.sourceforge.net. All rights reserved.   Design by Alexander Sokoloff.

SourceForge.net Logo
LDAP Admin