OpenLDAP slapd 2.5.13+dfsg-5 Import user via json format

Cartmen Bro tftlegal at gmail.com
Tue Jan 9 19:03:37 GMT 2024


Thank you for your reply! And please forgive me for wasting your time)
Tell me, what methods of adding data other than files with the .ldif
extension exist in LDAP out of the box?
Is it possible to get information about users and their attributes from a
MYSQL database?

вт, 9 янв. 2024 г. в 21:45, Ryan Tandy <ryan at nardis.ca>:

> Hello,
>
> On Tue, Jan 09, 2024 at 09:27:45PM +0300, Cartmen Bro wrote:
> >Please tell me, is it possible in OpenLDAP: slapd 2.5.13+dfsg-5 (Feb 8
> 2023
> >01:56:12) to add users from a data array in json format?
>
> As far as I'm aware, the OpenLDAP tools do not include any support for
> JSON. You would have to convert the data yourself.
>
> >I saw mention of using the command below, but it doesn't work:
> >ldapjson -x -D "cn=admin,dc=ldap,dc=test,dc=loc -W -f users.json | ldapadd
> >-q -
>
> I don't know what "ldapjson" is. I'm not aware of any such tool being
> part of OpenLDAP.
>
> thanks,
> Ryan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-openldap-devel/attachments/20240109/213c775b/attachment.htm>


More information about the Pkg-openldap-devel mailing list