From 846334d4298068cb834a1d10c77c7d1514611653 Mon Sep 17 00:00:00 2001 From: Simon Shanks Date: Wed, 1 Jul 2020 12:44:25 +0100 Subject: [PATCH] Update readme --- README.md | 18 +++++++++++++----- examples/README.md | 4 ++-- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 10e8058..4970551 100644 --- a/README.md +++ b/README.md @@ -40,20 +40,28 @@ or #### Windows -TODO - openldap install +You can build OpenLdap from [source](https://openldap.org/software/download/), or use a package manager such as pacman thats provided with [msys64](https://www.msys2.org/). The OpenLdap libs be moved from your install (e.g. if using mssys and pacman, these libs may be found in the mingw64\bin directory) to the KDB+ w64 directory. The OpenLdap libs required are: -To install the library and scripts, either +- libcrypto-1_1-x64.dll +- liblber.dll +- libldap.dll +- libsasl2-3.dll +- libssl-1_1-x64.dll + +To install the library and scripts interface that this repo provides, either - run the provided install.bat or -- copy `kdbldap.dll` which was built or downloaded earlier, to your kdb+ install binary dir e.g. if kdb+ installed at `C:\q`, place the shared library into `C:\q\w64\`. +- copy `kdbldap.dll` which was built or downloaded earlier, to your kdb+ install binary dir e.g. if KDB+ installed at `C:\q`, place the shared library into `C:\q\w64\`. - copy the q script to load the solace API (`ldap.q`) can be placed in the current working directory or within the kdb+ install directory. -#### Mac +#### Mac (Intel) -TODO - openldap install +You can build OpenLdap from [source](https://openldap.org/software/download/), or use a package manager such as homebrew. The [HomeBrew](https://brew.sh/) package manager provides a installation of OpenLdap. Once HomeBrew is available on your mac, run the following to install OpenLdap + +`brew install openldap` To install the library and scripts, either diff --git a/examples/README.md b/examples/README.md index 3e9d18f..8948f5c 100644 --- a/examples/README.md +++ b/examples/README.md @@ -8,7 +8,7 @@ Note, as per the installation steps, that `script/ldap.q` should be placed in th ## Example LDAP server -If you do not have an LDAP server to connect to, various example LDAP servers exist (e.g. [https://github.com/rroemhild/docker-test-openldapi](https://github.com/rroemhild/docker-test-openldapi)) +If you do not have an LDAP server to connect to, various example LDAP servers exist (e.g. [https://github.com/rroemhild/docker-test-openldapi](https://github.com/rroemhild/docker-test-openldap)) ## Running Examples @@ -28,4 +28,4 @@ Created to show an example of an ldap search that works with the example LDAP se Example -`q search.q` \ No newline at end of file +`q search.q`