Girish Ramakrishnan
|
1b307632ab
|
Use debug instead of console.* everywhere
No need to patch up console.* anymore
also removes supererror
|
2020-08-02 12:04:55 -07:00 |
|
Johannes Zellner
|
fbc666f178
|
Make externalldap sync more robust
|
2020-07-30 15:08:01 +02:00 |
|
Johannes Zellner
|
d9bf6c0933
|
also support uniqueMember property next to member for ldap groups
|
2020-07-01 17:08:17 +02:00 |
|
Johannes Zellner
|
324344d118
|
Reusue the single correct ldap.createClient call also in auth
|
2020-07-01 14:59:26 +02:00 |
|
Johannes Zellner
|
5cb71e9443
|
No need to return externalLdapConfig in getClient()
|
2020-07-01 14:52:11 +02:00 |
|
Johannes Zellner
|
cca19f00c5
|
Fallback to mailPrimaryAddress in ldap sync
|
2020-07-01 14:34:41 +02:00 |
|
Johannes Zellner
|
5199a9342e
|
Add missing ldap client error handling
|
2020-06-26 17:55:42 +02:00 |
|
Johannes Zellner
|
3f2496db6f
|
Support self-signed certs for external ldap/ad
|
2020-06-25 17:45:59 +02:00 |
|
Johannes Zellner
|
aa011f4add
|
add ldap group tests and fixes for the found issues
|
2020-06-07 13:49:01 +02:00 |
|
Johannes Zellner
|
0b2eb8fb9e
|
Sync users into groups
This does not yet remove users from groups
Part of #685
|
2020-06-05 11:28:57 +02:00 |
|
Johannes Zellner
|
48af17e052
|
Groups are lowercase on Cloudron
|
2020-06-05 10:13:19 +02:00 |
|
Johannes Zellner
|
b7b1055530
|
Avoid the pyramid
|
2020-06-05 09:26:52 +02:00 |
|
Johannes Zellner
|
cba3674ac0
|
Stop ldap syncing if we hit some internal error
|
2020-06-05 09:03:30 +02:00 |
|
Johannes Zellner
|
7c5ff5e4d5
|
Create user groups for ldap groups
|
2020-06-04 13:26:13 +02:00 |
|
Johannes Zellner
|
c143450dc6
|
WIP
|
2020-06-04 12:59:27 +02:00 |
|
Johannes Zellner
|
c30734f7f3
|
Show in the logs if group sync is disabled
|
2020-06-04 12:40:28 +02:00 |
|
Johannes Zellner
|
91f506c17b
|
Explicitly enable/disable ldap group sync
|
2020-06-04 12:28:31 +02:00 |
|
Johannes Zellner
|
386aaf6470
|
Initial code to fetch LDAP groups during sync
|
2020-06-03 22:12:38 +02:00 |
|
Girish Ramakrishnan
|
d1911be28c
|
user: load the resource with middleware
|
2020-02-13 20:59:17 -08:00 |
|
Johannes Zellner
|
9acf49a99e
|
Fix typo
|
2019-11-20 18:18:21 +01:00 |
|
Johannes Zellner
|
e3cee37527
|
Move autocreation logic into external ldap
|
2019-11-20 18:18:21 +01:00 |
|
Johannes Zellner
|
8fd0461c62
|
Auto create users on login if present in external ldap source
|
2019-11-20 18:18:21 +01:00 |
|
Girish Ramakrishnan
|
97333474c4
|
Remove delay introduced by mistake in 5c920fd20
|
2019-11-14 17:40:21 -08:00 |
|
Girish Ramakrishnan
|
5c920fd200
|
never skip password verification
|
2019-11-07 13:10:12 -08:00 |
|
Girish Ramakrishnan
|
947cb786d6
|
ldapsync: add progress callback
|
2019-11-04 12:05:35 -08:00 |
|
Girish Ramakrishnan
|
689f2791ba
|
validate fields in testConfig
|
2019-10-31 11:46:00 -07:00 |
|
Girish Ramakrishnan
|
a5ec5b0ed9
|
externalLdap: search and then bind
|
2019-10-30 15:32:49 -07:00 |
|
Girish Ramakrishnan
|
563f846eba
|
style fixes
|
2019-10-30 14:27:58 -07:00 |
|
Girish Ramakrishnan
|
7781ea3205
|
remove this check, let if get marked as conflicting
|
2019-10-30 11:05:26 -07:00 |
|
Girish Ramakrishnan
|
2f5ece8f1d
|
make displayName also a const
|
2019-10-30 11:04:19 -07:00 |
|
Girish Ramakrishnan
|
ec46dab754
|
camel case
|
2019-10-30 11:02:21 -07:00 |
|
Girish Ramakrishnan
|
d5d27d512c
|
make email a constant
|
2019-10-30 10:59:48 -07:00 |
|
Girish Ramakrishnan
|
0a695190c4
|
Remove bindDn validation
in some AD setups, this is a email
|
2019-10-30 09:35:33 -07:00 |
|
Girish Ramakrishnan
|
8ed2f98d1d
|
print username field as well
|
2019-10-25 17:00:59 -07:00 |
|
Girish Ramakrishnan
|
13262d014b
|
call unbind
|
2019-10-25 16:58:15 -07:00 |
|
Girish Ramakrishnan
|
ade1187fc8
|
ldap: more logs
|
2019-10-25 16:46:55 -07:00 |
|
Girish Ramakrishnan
|
2404e79928
|
ldap: do the secret key dance
|
2019-10-25 16:46:49 -07:00 |
|
Girish Ramakrishnan
|
d68ed91b17
|
ldap: add usernameField
we need this for okta where uid is the email
|
2019-10-25 15:50:26 -07:00 |
|
Girish Ramakrishnan
|
1a21423401
|
ldap: add provider field
|
2019-10-25 15:40:22 -07:00 |
|
Girish Ramakrishnan
|
ad9097d212
|
Remove various uses of INTERNAL_ERROR
INTERNAL_ERROR now means there really was some internal error
|
2019-10-24 18:32:36 -07:00 |
|
Girish Ramakrishnan
|
4793eb9ef5
|
Finish UsersError removal
|
2019-10-24 15:19:07 -07:00 |
|
Girish Ramakrishnan
|
d2c12297dc
|
Move ExternalLdapError to BoxError
|
2019-10-24 14:32:27 -07:00 |
|
Girish Ramakrishnan
|
dc10b8a07f
|
Move AddonsError to BoxError
|
2019-10-23 15:57:01 -07:00 |
|
Johannes Zellner
|
eb963b2eb4
|
Add externalldap pagination
|
2019-08-30 20:26:09 +02:00 |
|
Johannes Zellner
|
6e878faa8b
|
Also sync fallbackEmail from ldap
|
2019-08-30 13:10:49 +02:00 |
|
Johannes Zellner
|
76b0b214ec
|
Do not sync non-ldap users from ldap if usernames match
We might want to make that option in the future depending on use-cases
|
2019-08-30 10:20:04 +02:00 |
|
Johannes Zellner
|
f5c643c960
|
Add some debugging logs when users are created or updated
|
2019-08-30 10:20:04 +02:00 |
|
Johannes Zellner
|
0c9334d0d2
|
Ensure we wait for all user sync db actions to finish
|
2019-08-30 10:20:04 +02:00 |
|
Johannes Zellner
|
712dc97e9b
|
Move the basic ldap argument validation
|
2019-08-30 10:20:04 +02:00 |
|
Johannes Zellner
|
4df48c97ec
|
Ignore the bindDn user in the syncer
|
2019-08-30 10:20:04 +02:00 |
|