Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
sshanks-kx committed Jul 1, 2020
1 parent 946d3aa commit 846334d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
18 changes: 13 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -28,4 +28,4 @@ Created to show an example of an ldap search that works with the example LDAP se

Example

`q search.q`
`q search.q`

0 comments on commit 846334d

Please sign in to comment.