OpenLDAP slapd 2.5.13+dfsg-5 Import user via json format
Ryan Tandy
ryan at nardis.ca
Tue Jan 9 19:17:12 GMT 2024
Hello,
On Tue, Jan 09, 2024 at 10:03:37PM +0300, Cartmen Bro wrote:
>Tell me, what methods of adding data other than files with the .ldif
>extension exist in LDAP out of the box?
As far as I know, LDIF is the only text format natively supported in
OpenLDAP. You can write your own programs to convert other formats to
LDIF, or speak LDAP directly to slapd using the libldap library.
Libraries exist for many scripting languages (e.g. Perl, Python) to make
these tasks easier, but those language bindings are separate projects,
not part of OpenLDAP.
>Is it possible to get information about users and their attributes from a
>MYSQL database?
You would have to write your own program, or find an existing external
one, to extract information from a SQL database and import it into
slapd.
thanks,
Ryan
More information about the Pkg-openldap-devel
mailing list