Roger A. Light
5927778ae5
Improve logging in dynsec addGroupClient command.
...
Closes #2008 . Thanks to Willem Eradus.
2021-01-11 13:28:20 +00:00
Roger Light
c4f4fae5a0
dynsec: Improve logging in addGroupRole.
...
Close #2005 . Thanks to Willem Eradus.
2021-01-10 23:04:01 +00:00
Roger A. Light
370cec5edd
Fixes for lots of minor build warnings highlighted by Visual Studio.
2021-01-09 21:06:08 +00:00
Roger Light
7e1a818c54
Fix invalid behaviour in dynsec plugin.
...
This occurred if a group or client was deleted before a role that was
attached to the group or client is deleted.
Closes #1998 . Thanks to Willem Eradus.
2021-01-08 00:01:10 +00:00
Roger A. Light
7fc472232c
Merge branch 'fixes'
2020-12-22 16:56:29 +00:00
Roger A. Light
b8962cc040
Add more log messages for dynsec load/save error conditions.
2020-12-22 10:00:23 +00:00
Roger A. Light
c6a6165f3b
Fix dynamic security configuration possibly not being reloaded on Windows only.
...
Closes #1962 . Thanks to martgeier.
2020-12-20 23:02:19 +00:00
Peter Robinson
9d7580fdb6
Use libdir as the install prefix for plugins
...
Use the libdir variable from config.mk just like lib/ uses to ensure
that the plugins are installed into the same location as the library.
This fixes systems that use lib64 for libraries like most 64 bit
Linux distributions.
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
2020-12-18 08:05:06 +00:00
Roger A. Light
f7dc138157
Fix install
target when using WITH_CJSON=no.
...
Closes #1938 . Thanks to apple3306 and JulianCaruso.
2020-12-11 00:07:11 +00:00
Roger A. Light
3047374693
Drop hard coded linker flags.
2020-12-06 07:43:59 +00:00
Roger A. Light
791c63372b
Fix cjson include paths.
2020-12-04 22:15:19 +00:00
Roger A. Light
26ffe1300a
Various Windows build fixes.
2020-12-02 19:49:14 +00:00
Roger A. Light
550c54701e
Fix cmake build when cjson not available.
2020-12-02 15:50:33 +00:00
Roger A. Light
42f09b8add
Build fixes
2020-12-02 10:36:00 +00:00
Roger A. Light
3731535298
Add SPDX license identifiers.
2020-12-01 20:46:56 +00:00
Roger A. Light
0a7afd22c4
dynsec: Fix logging args.
2020-11-30 13:13:48 +00:00
Roger A. Light
692fa5537d
dynsec: Reply with error on add role fail.
2020-11-30 10:32:09 +00:00
Roger A. Light
0605fd402a
dynsec: Command logging.
2020-11-30 10:10:12 +00:00
Roger A. Light
e5af6def25
dynsec: Simplify
2020-11-29 23:26:57 +00:00
Roger A. Light
d0d36b7c33
dynsec: Remove unused code
2020-11-29 23:17:39 +00:00
Roger A. Light
31e3fa4d07
dynsec: Invalid UTF-8 tests, plus some fixes.
2020-11-29 23:16:52 +00:00
Roger A. Light
c303c67461
dynsec: Return group not found on getGroup.
2020-11-28 00:34:53 +00:00
Roger A. Light
423e1a00d2
dynsec: Tests for group commands with invalid params, plus fixes.
2020-11-28 00:01:58 +00:00
Roger A. Light
6739152fda
dynsec: Various minor fixes.
2020-11-27 14:34:46 +00:00
Roger A. Light
598b1d7b00
dynsec: Fix free on modifyClient.
2020-11-26 15:11:20 +00:00
Roger A. Light
ba8e888e41
dynsec: Refactor some cJSON adding code to reduce redundancy
2020-11-26 14:49:28 +00:00
Roger A. Light
d8775b7d9c
dynsec: Consistent behaviour when setting clientid.
2020-11-26 12:18:57 +00:00
Roger A. Light
c1489fc704
dynsec: Refactor duplicate group kick code.
2020-11-26 11:54:30 +00:00
Roger A. Light
7dc739a11e
Disable dynsec build if cJSON or TLS not available.
2020-11-26 09:42:33 +00:00
Roger A. Light
782696c8e4
Simplify, remove duplication.
2020-11-26 00:23:03 +00:00
Roger A. Light
c3daa247c2
dynsec: Cover setClientId in 14-dynsec-auth test.
2020-11-26 00:13:40 +00:00
Roger A. Light
584cf51ba7
Update to EPL-2.0
2020-11-25 17:34:21 +00:00
Roger A. Light
69f7fcae82
Support cJSON < 1.7.13.
2020-11-25 16:57:33 +00:00
Roger A. Light
5db971a0e9
dynsec: Client id is optional in setClientID.
2020-11-24 12:04:47 +00:00
Roger A. Light
0c6365726f
Coverity Scan issues.
...
1436823
1436837
1436843
1432792
1436847
1436848
1436849
2020-11-24 10:06:28 +00:00
Roger A. Light
f83fcc8535
Fix Coverity Scan issues.
...
1436866
1436865
1436864
1436862
1436857
1436856
1436852
1436851
2020-11-24 00:47:30 +00:00
Roger A. Light
d1bf2c0d13
dynsec: Fix missing correlationData for getDefaultACLAccess.
2020-11-23 14:06:19 +00:00
Roger A. Light
7791d882c2
dynsec: Allow empty anonymous group.
2020-11-20 23:46:43 +00:00
Roger A. Light
5314bae1e2
dynsec: getAnonymousGroup should include correlation data in response.
2020-11-20 13:56:57 +00:00
Roger A. Light
4150b2f233
dynsec: Ignore empty passwords on setClientPassword/modifyClient.
2020-11-19 12:03:51 +00:00
Roger A. Light
e94cf19989
dynsec: Ignore zero length clientid.
2020-11-18 13:08:09 +00:00
Roger A. Light
4f9fe4df4d
dynsec: Rolelist as own file for consistency.
2020-11-18 11:54:13 +00:00
Roger A. Light
fe436cda95
dynsec: Fix potential grouplist leaks.
2020-11-18 11:46:23 +00:00
Roger A. Light
20bf6e706e
dynsec: Fix role clientlists not being freed.
2020-11-18 11:46:23 +00:00
Roger A. Light
67fbe5cc7e
dynsec: Fix some keys being accessed even if they don't exist.
2020-11-18 09:34:28 +00:00
Roger A. Light
63277aad0b
dynsec: setClientId should cope with missing/empty client id.
2020-11-17 16:10:01 +00:00
Roger A. Light
eac0c3bac0
dynsec: modifyClient can now change clientid and password.
2020-11-17 16:07:54 +00:00
Roger A. Light
dbcf945518
dynsec: Kick clients after password changes.
2020-11-17 14:58:41 +00:00
Roger A. Light
b06c5cd88f
dynsec: Add setClientId command.
2020-11-17 14:58:23 +00:00
Roger A. Light
91584a90a2
Fix dynsec plugin cmake build
2020-11-17 10:52:40 +00:00