<div dir="ltr">Thank you for your reply! And please forgive me for wasting your time)<br>Tell me, what methods of adding data other than files with the .ldif extension exist in LDAP out of the box?<br>Is it possible to get information about users and their attributes from a MYSQL database?<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">вт, 9 янв. 2024 г. в 21:45, Ryan Tandy <<a href="mailto:ryan@nardis.ca">ryan@nardis.ca</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
On Tue, Jan 09, 2024 at 09:27:45PM +0300, Cartmen Bro wrote:<br>
>Please tell me, is it possible in OpenLDAP: slapd 2.5.13+dfsg-5 (Feb 8 2023<br>
>01:56:12) to add users from a data array in json format?<br>
<br>
As far as I'm aware, the OpenLDAP tools do not include any support for <br>
JSON. You would have to convert the data yourself.<br>
<br>
>I saw mention of using the command below, but it doesn't work:<br>
>ldapjson -x -D "cn=admin,dc=ldap,dc=test,dc=loc -W -f users.json | ldapadd<br>
>-q -<br>
<br>
I don't know what "ldapjson" is. I'm not aware of any such tool being <br>
part of OpenLDAP.<br>
<br>
thanks,<br>
Ryan<br>
</blockquote></div>