lib389 is the Python administration library for 389 Directory Server. It
provides APIs and command-line tools for creating, configuring, managing,
and inspecting directory server instances.
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py312-lib389 listed in the above command, you can pick from the names under the Packages section.
The lib389 command-line tools can be used to create and manage
389 Directory Server instances.
Create an instance interactively:
dscreate interactive
Create an instance from an INF file:
dscreate from-file /path/to/instance.inf
Manage an existing instance:
dsctl <instance> status
dsctl <instance> start
dsctl <instance> stop
dsctl <instance> remove --do-it
Use dsconf to manage the server configuration and dsidm to manage
directory entries.
net/py-lib389: pass the process environment when starting dirsrv
Extend the FreeBSD start patch so lib389 launches the ns-slapd process
with a copy of the current environment (env = dict(os.environ)) instead
of an empty one. This lets the Kerberos settings (e.g. KRB5_KTNAME) reach
the directory server process, which is required for GSSAPI/GSS-SPNEGO binds
on FreeBSD.
Sponsored by: Netzkommune GmbH
net/py-lib389: Fix instance creation on FreeBSD
Adjust the FreeBSD patch for lib389's instance setup code.
Guard the container detection against a missing systemd-detect-virt
binary. Upstream initializes container_result to an integer and then
unconditionally executes systemd-detect-virt on non-containerised
systems, which aborts instance creation with a FileNotFoundError on
FreeBSD. The check now only runs when the binary is present and
falls back to the non-container code path otherwise.
Use a plain localhost LDAP connection with the generated temporary
Directory Manager password for the authenticated setup session, as
LDAPI autobind via SASL EXTERNAL did not work reliably during setup
on FreeBSD.
Sponsored by: Netzkommune GmbH
net/py-lib389: Add new port
lib389 provides the Python library and command-line administration
tools for 389 Directory Server.
It includes tools for creating and managing Directory Server
instances, configuring servers, and managing directory entries.
This port is required for the development of net/freeipa-server.
WWW: https://www.port389.org/
Sponsored by: Netzkommune GmbH