LDAP client for VS Code.
- Browse the tree - Explore how the DIT is structured and discover LDAP entries in an intuitive interface
- List attributes - Find out about LDAP attributes without writing search filters
- Search and filter - Conveniently search for LDAP entries directly from VS Code
- Manage bookmarks - Bookmark LDAP entries you often need to check or located in awkward places
- Support for multiple connections - Manage multiple LDAP connections, such as a test and a production connections
- Support for environment variables - Easy integration with containers and increased security: you don't have to store your bind credentials unencrypted in VS Code settings
See this animation for a demo.
- Open VS Code
- Open the extension view by hitting
Cmd+Shift+X) and install LDAP Explorer
- Alternatively, hit
Cmd+P) and type
ext install fengtan.ldap-explorer
Connecting to an LDAP server
- Open the LDAP Explorer view from the activity bar
- Under panel Connections, click the button Add new connection
- Fill in the connection settings (leave Bind DN and Bind Password empty to bind as anonymous)
- Under panel Connections, click on the connection to activate it
- Now you may browse the tree, manage bookmarks and run search queries from the Tree, Bookmarks and Search panels, respectively
Note that connections have a field Maximum number of entries to return to limit the size of LDAP responses. Most LDAP servers will return at most 1,000 entries regardless of this setting. If an LDAP query returns more than this limit then you will be shown an error, in which case you may try to increase the limit.
TLS options show up if:
- the connection's protocol is set to
ldaps ; or
- the connection's protocol is set to
ldap and the checkbox
StartTLS is checked
If your server's certificate is self-signed then you may want to list your root Certificate Authority in the view
Trusted CA Certificates.
If your server is multi-homed then you may want to set the connection's
Server Name Indication (SNI) field to the host being connected to (it should be a host name, not an IP address). Leave this field empty if the certificate matches the host name. The opensslutils extension comes with a handy command to inspect the contents of a certificate, for instance if you need to confirm that the certificate's Common Name (CN) matches the host name.
As a last resort uncheck
Verify certificate to skip any certificate verification (not recommended).
This extension contributes the following commands:
- LDAP Explorer: Add new Connection
- LDAP Explorer: Edit Connection
- LDAP Explorer: Delete Connection
- LDAP Explorer: Set active Connection - An active connection is required for the Tree, Bookmarks and Search views to be functional
- LDAP Explorer: Set no active Connection - Clears currently active connection, if any
- LDAP Explorer: Refresh - Refreshes the Connections, Tree and Bookmarks views
- LDAP Explorer: Show Attributes - Lists attributes of a given LDAP entry
- LDAP Explorer: Reveal in Tree - Shows a given LDAP entry in the Tree view
- LDAP Explorer: Add to Bookmarks - The LDAP entry will be added to the Bookmarks view
- LDAP Explorer: Remove from Bookmarks - The LDAP entry will be removed from the Bookmarks view
This extension contributes the following settings:
- ldap-explorer.show-tree-item-icons (
If set to
true, LDAP entries in the Tree view will be rendered with an icon based on their entity type:
- ldap-explorer.connections (
List of LDAP connections. Example:
"name": "ACME prod",
- ldap-explorer.cacerts (
List of trusted root certificates. Example:
No support for
- JXplorer is a cross-platform LDAP browser and editor with many features
- ldapsearch is a command-line tool for *nix systems
- dsquery is a command-line tool for Windows
- LEX is a Windows-only desktop client that requires a paying license (a free trial is offered)
- Many others
This extension is powered by ldapjs.
Main icon by Freepik from Flaticon is licensed by CC 3.0 BY.