Printout Header
LEX RSS Feed

LEX Online Manual Content

Command Line Options

LEX /s:<Server> /b:<Base DN>
    /u:<Username> [/p:<Password>] | /c | /a
    [/ssl] [/auth:<AuthType>] [/page:<PageSize>] [/udp] [/lah] [/cei]
    [/ia:<AttributeList | /xa:<AttributeList>] [/col:<AttributeList]
    [/ro] [/force]

LEX /prof:<LDAPProfile> /ro /force


    /s      The name/adress of an LDAP server to contact. An LDAP port can be
            configured with 'server:port'.
    /base   The distinguished name for the LDAP base to connect. For example:
            DC=ldapexplorer,DC=com
    /user   The user credential which is used to bind to the LDAP server.
            Depending on the LDAP environment, the following name notations
            could be correct:
                Philipp
                LEX\PHILIPP
                uid=Philipp
                philipp.foeckeler@ldapexplorer.com
                cn=Philipp,ou=USR,o=CerroTorre
    /pass   The user password which is used to bind to the LDAP server.
    /a      Authenticate as Anonymous.
    /c      Authenticate with your current credentials.
    /ssl    The LDAP connection is established with SSL. Probably you have to
            set another connection port in the /s parameter (i.E. the default
            SSL port 639). Most servers cannot prozess /c and /ssl together.
    /auth   The authentication method which is used for the LDAP connection.
            The following methods are supported:
               anonymous   Bind without credentials
               basic       Simple Bind / Celeartext (better use SSL)
               digest      Digest MD5 auth
               dpa         Distributed PAssword Authentication
               external    API-based external authentication, requires
                           additional auth drivers, for example in a token
                          card solution
               kerberos    GSSAPI Kerberos auth for non AD environments
               msn         Proprietary MSN based authentication
              negotiate   GSS-SPNEGO auth for AD environments. The auth
                           process will negotiate Kerberos (for modern
                          servers) or NTLM
               ntlm        NT LanManager auth
               sicily      Proprietary Microsoft auth, similar to NTLM
            If this parameter is ommited, LEX tries to do <negotiate> auth
            first. If this fails, <basic> auth is performed.
            This parameter cannot be used together with /a
    /page   The page size value for paged results LDAP searches. If this
            parameter is ommited, LEX tries to evaluate the max page size value
            in AD environments, otherwise no paged result searches are done.
    /udp    The LDAP connection is done over UDP instead of TCP.
    /lah    LEX uses linked attribute handling.
    /cei    LEX ignores certificate errors (in SSL connections).
    /ia     LEX shows only the given attributes in the attribute list. For
            example:
                /ia:uid,displayName,description
    /xa     LEX shows all attributes except the given ones in the attribute
            list. For example:
                /xa:uid,displayName,description
    /col    LEX shows the given attributes as object list columns. For
           example:
                /col:ObjectType,displayName,mail,telephoneNumber
    /prof   LEX starts with the given LDAP profile. If the profile name contains
            blanks, use /prof:"name" or /prof:'name'
    /ro     LEX starts in read-only mode. You can enforce this mode by using it
            together with /force.
    /force  The settings given for the LDAP connection. The user cannot open
            another LDAP connection or cannot



Examples



lex /prof:KAILASH

LEX starts with a LDAP connection profile named "KAILASH". This implies that you created this profile before and stored it onto you hard disk.


lex /prof:KAILASH /force

LEX starts with a LDAP connection profile named "KAILASH". The user cannot connect to another LDAP server or opens another LDAP connection profile.


lex /prof:KAILASH /ro

LEX starts with a LDAP connection profile named "KAILASH". Additionally, LEX is switched to the Read-Only mode - All application features which include write access to the directory are disabled.


lex /s:10.127.242.17 /base:DC=selfadsi,DC=org /user:SELFADSI\Administrator

LEX starts and connects to the LDAP server with the IP address 10.127.242.17 on default port 389. The LDAP tree base is given with the "/base" parameter, the credentials are set with "/user". Since there is no password given on the command line, LEX asks for the user password on each application start.


lex /s:LHOTSE:636 /ssl /auth:basic /base:DC=selfadsi,DC=org /user:admin /password:P@ssw0rd

LEX starts and connects to the LDAP server "LHOTSE" on LDAP/SSL port 636. SSL is activated for this connection - therefor we use "/ssl" and the authentication type "Basic". The LDAP tree base is given with the "/base" parameter, the credentials are set with "/user" and "/pass".


lex /s:LHOTSE.LEX.COM /base:DC=selfadsi,DC=org /user:admin /page:2000 /ro /force

LEX starts and connects to the LDAP server "LHOTSE.LEX.COM". The LDAP pagesize of 2000 is used, additionally LEX is forced to this connection, the user cnnot connect to any other server, and the read-only mode cannot be deactivated.

Tweet