nu_plugin_ldap

Crates.ionu_plugin_ldap
lib.rsnu_plugin_ldap
version0.1.0
created_at2026-01-23 23:20:18.531623+00
updated_at2026-01-23 23:20:18.531623+00
descriptionNushell plugin for LDAP queries
homepage
repositoryhttps://github.com/adevore/nu_plugin_ldap
max_upload_size
id2065653
size99,361
Aaron DeVore (adevore)

documentation

README

nu_plugin_ldap

A Nushell plugin for querying LDAP servers. Currently just search is supported. Uses streams and paged searches to process large result sets efficiently.

Credit to nu_plugin_dns for inspiration for how to handle an async Nushell plugin.

ldap search

ldap search [options] <filter> [attributes]...

Options

Option Type Description
-h, --help Show help
--uri string LDAP server URI
--binddn string Bind DN
--basedn string Base DN for
--scope string Search scope (base, one, sub)
--size-limit number Page size for paged search
--time-limit number Timeout in seconds
--deref-aliases string Dereference aliases (never, find, search, always)
--typesonly Return only attribute types

Output

The output is a list of records, each with this structure:

Attribute Type Description
dn string Distinguished Name
attrs record[list[string]] List of attribute values
bin_attrs record[list[bytes]] List of binary attribute values

ldap table

ldap table <spec>...

spec is one of:

  • dn: extract dn as a single value
  • <attribute>: extract single value attribute, default empty string
  • <attribute>+: extract multivalue attribute, default empty list

Output

Output will be a list of records formatted to the specs.

Commit count: 19

cargo fmt