ilusm.dev

ldap

LDAP/Active Directory client.

Load with: use ldap

Quick example

use ldap

result = ldne("./example", "value")
prn(result)

Functions

Connection

ldne(url, bd)

Creates a new instance. Takes url, bd.

ldco(c)

Connects. Takes c.

lddc(c)

Performs the operation. Takes c.

Bind

ldan(c, dn, pw)

Performs the operation. Takes c, dn, pw.

Search

ldsr(c, bs, fl, sc)

Performs the operation. Takes c, bs, fl, sc.

ldusr(c, cn)

Performs the operation. Takes c, cn.

ldgr(c, gn)

Performs the operation. Takes c, gn.

CRUD

ldad(c, dn, at)

Adds an item. Takes c, dn, at.

ldmd(c, dn, at)

Performs the operation. Takes c, dn, at.

ldrm(c, dn)

Removes an item. Takes c, dn.

Group management

lddgm(c, gdn, udn)

Performs the operation. Takes c, gdn, udn.

ldrmf(c, gdn, udn)

Performs the operation. Takes c, gdn, udn.

Password

ldpw(c, dn, pw)

Performs the operation. Takes c, dn, pw.

Change password

ldchp(c, dn, op, np)

Performs the operation. Takes c, dn, op, np.

Notes

  • LDAP client - bind, search, modify directory entries.