LDAPAdminDownload now

OverviewNewsScreenshotsDocumentationDownloadForums

LDAP Admin: Command line parameters

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 based on the RFC-2255 URL format. For the sake of compatibility, the old LdapAdmin URL Style is still supported. The attributes, scope and filter constructs are not supported, the superfluous query marks can therefore be omitted:

<protocol>://[host[:port]]/<dn>?[bindname=[username]][,password=[password]][,auth=[plain|gss|sasl]]
 

protocol

Protocol used to connect to the LDAP server. Two types are supported: ldap for unencrypted and ldaps for SSL encrypted connection.

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)

dn

Base DN (a path which will be considered as the server root for this connection).

bindname

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 except if the gss/sasl parameter was used, in which case the LdapAdmin will connect as the current OS user.

password

Password in cleartext. If omitted, password will be queried at connection time. This parameter requires bindname parameter to be specified.

auth

Authentication type: plain, gss or sasl. Note that sasl parameter cannot be used in conjunction with ldaps protocol.

 

Examples

The following are some example LDAP URLs using the format defined above.

ldap://ad.domain.com/DC=domain%2cDC=com?auth=gss,bindname=administrator

ldaps://ldap:777/DC=domain%2cDC=com?bindname=John%20Doe,password=secret



Copyright (C) 2012 Tihomir Karlovic & www.ldapadmin.org. All rights reserved.   Design by Alexander Sokoloff. Impressum
LDAP Admin