OpenLDAP slapd 2.5.13+dfsg-5 Import user via json format
Ryan Tandy
ryan at nardis.ca
Tue Jan 9 18:45:40 GMT 2024
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
More information about the Pkg-openldap-devel
mailing list