-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from devatherock/map-to-list
Changed the response to a List of maps from a Map
- Loading branch information
Showing
4 changed files
with
42 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,6 +42,32 @@ docker run --rm \ | |
### Endpoints | ||
- `/search?filter=<an ldap query>` - Searches LDAP under the given base DN with the supplied filter criteria | ||
|
||
### Sample response | ||
```json | ||
[ | ||
{ | ||
"loginShell": "/bin/bash", | ||
"uid": "testdummy", | ||
"homeDirectory": "/home/test", | ||
"mail": "[email protected]", | ||
"uidNumber": "1234", | ||
"givenName": "Test", | ||
"objectClass": [ | ||
"top", | ||
"person", | ||
"organizationalPerson", | ||
"inetOrgPerson", | ||
"shadowAccount", | ||
"posixAccount", | ||
"jumpcloudUser" | ||
], | ||
"sn": "User", | ||
"gidNumber": "1234", | ||
"cn": "Test User" | ||
} | ||
] | ||
``` | ||
|
||
## Troubleshooting | ||
### Enabling debug logs | ||
- Set the environment variable `LOGGING_LEVEL_ROOT` to `DEBUG` to enable all debug logs - custom and framework | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters