Skip to content

LDAP probe

The LDAP probe has two modes: an Action form for the two everyday tasks, and an Advanced operation sequence for full control. Switch with the Action / Advanced toggle above the editor; new probes open in Action mode. VirtuProbe implements the LDAP protocol from scratch (BER encoding, RFC 4511) — no third-party LDAP library is used, giving full control for testing and fuzzing.

LDAP Action Mode — Check login / Find entry action selector and form

Pick the action from the selector; both bind with a credential from the credential store — the credential’s username field holds the bind DN and the password never touches the probe.

Verify that a DN + password authenticates. VirtuProbe binds with the selected credential; the probe succeeds iff the bind returns result code 0. An invalidCredentials (49) result means the login is invalid — a clean, expected failure. Useful for validating a service account or a user’s credentials.

Search a base DN for entries. Optionally bind first with a service-account credential (or leave Auth empty for an anonymous search), then:

FieldDescription
Base DNSearch base, e.g. ou=People,dc=example,dc=com
FilterRFC 4515 filter, e.g. (uid=jdoe) (blank → (objectClass=*))
ScopeBase, One level, or Subtree
AttributesSpace-separated attribute names (blank → all)

The probe succeeds iff the search returns at least one entry; the matched entries are listed in the read-only conversation. The LDAP_MATCH_COUNT extractor exposes the entry count for existence checks in a chain (assert >= 1).

{{variables}} are supported in the base DN and filter. Edit as commands reconstructs the BIND + SEARCH operations and switches to Advanced.

The LDAP probe sends a sequence of LDAP operations to a directory server, each configured individually.

LDAP probe editor — host/port/LDAPS settings, operation list

FieldDescription
HostLDAP server hostname or IP
PortServer port (common: 389, 636)
LDAPSConnect with SSL (port 636)
Trust self-signedSkip certificate validation for a self-signed or private-CA certificate. Off by default; use only for hosts you trust.
OperationDescription
BINDAuthenticate with a DN and password
SEARCHSearch the directory with a filter
UNBINDClose the session
DELETERemove an entry by DN
COMPARETest whether an entry has a given attribute value

BIND operation form — DN and password fields

FieldDescription
DNDistinguished name to bind as (e.g. cn=admin,dc=example,dc=com)
PasswordBind password

SEARCH operation form — base DN, scope, filter, attributes, size/time limits

FieldDescription
Base DNSearch root
ScopeBASE, ONE, or SUB
FilterRFC 4515 filter string (e.g. (uid=jdoe), (&(objectClass=person)(cn=*)))
AttributesComma-separated list of attributes to return (blank = all)
Size limitMaximum number of entries to return
Time limitMaximum server processing time in seconds

Supported filter syntax: equality (cn=John), presence (cn=*), substring (cn=J*), >=, <=, and (&...), or (|...), not (!...).

FieldDescription
DNEntry to compare against
AttributeAttribute name
ValueValue to compare

Set an expected result code on any operation. Standard LDAP result codes: 0 (success), 32 (no such object), 49 (invalid credentials), etc. If the actual code differs, the history entry is marked as failed.

LDAP operation with failed assertion — warning chip on the operation row

{{variable}} placeholders are supported in: host, DN, password, filter, attribute, and value fields.

The history panel shows the result code and exchange data for each operation.

LDAP history panel — expanded entry showing per-operation result codes