Girish Ramakrishnan
c4f4f3e914
logs: use %o to format error
...
otherwise, they are printed as multi-line and this messes up tail+date formatting
2023-04-16 10:49:59 +02:00
Girish Ramakrishnan
53e9eccf72
unify totp check
...
the totp check is done in several places causing errors like 3552232e99
* ldap (addon)
* accesscontrol (dashboard)
* proxyauth
* directoryserver (exposed ldap)
* externalldap (the connector)
The code also makes externalldap auto-create work now across all the cases where there is a username
2023-03-12 16:01:12 +01:00
Girish Ramakrishnan
59783eb11b
ldap: memberof is a DN and not just group name
...
https://ldapwiki.com/wiki/MemberOf
https://access.redhat.com/documentation/en-us/red_hat_jboss_operations_network/3.1/html/admin_initial_setup_inventory_groups_and_users/ex-ldap-authz
2022-10-30 15:07:26 +01:00
Girish Ramakrishnan
e21f39bc0b
Update mail container for quota support
2022-08-23 18:48:06 +02:00
Girish Ramakrishnan
1591541c7f
mail: allow aliases to have wildcard
...
this came out of https://forum.cloudron.io/topic/6350/disposable-email-prefixes-for-existing-mailboxes/
2022-08-18 15:22:00 +02:00
Girish Ramakrishnan
b23189b45c
mail: quota support
2022-08-18 11:31:40 +02:00
Johannes Zellner
0fcb202364
Expose groups as memberof in ldap and userdirectory
2022-08-04 11:22:16 +02:00
Johannes Zellner
6715efca50
Distinguish ghost/impersonate logins from others
2022-07-29 20:39:18 +02:00
Johannes Zellner
b71254a0c3
Remove virtual user and admin groups to ldap user records
2022-07-29 11:11:53 +02:00
Johannes Zellner
88f78c01ba
Remove virtual groups users and admin exposed via ldap
2022-06-03 13:32:35 +02:00
Girish Ramakrishnan
dddc5a1994
migrate app dataDir to volumes
2022-06-02 16:29:01 -07:00
Girish Ramakrishnan
05d7a7f496
constness
2022-04-14 17:50:41 -05:00
Girish Ramakrishnan
638fe2e6c8
ldap: add rootDSE test
2022-03-31 21:18:56 -07:00
Girish Ramakrishnan
54aeff1419
ldap: send rootDSE response
...
some apps like osTicket require this
2022-03-25 14:15:18 -07:00
Johannes Zellner
ef0f9c5298
Fixup cn attribute for ldap to be according to spec
...
Bring back b54c4bb399
2022-03-22 10:19:21 -07:00
Girish Ramakrishnan
6dc5c4f13b
ldap: add dummy apps search route for directus
2022-03-14 09:17:49 -07:00
Johannes Zellner
2160644124
Lets not stretch our luck
2022-02-18 18:40:49 +01:00
Johannes Zellner
b54c4bb399
Fixup cn attribute for ldap to be according to spec
2022-02-18 17:43:47 +01:00
Johannes Zellner
e3a0a9e5dc
Hack to allow SOGo logins for more than 1k mailboxes
2022-02-07 16:22:05 +01:00
Girish Ramakrishnan
8958b154e9
ldap: do not list inactive users
2022-01-21 21:07:33 -08:00
Girish Ramakrishnan
d4369851bf
ldap: add organizationalperson and top objectclasses
...
these are used by firefly-iii ldap atleast
2022-01-14 14:31:33 -08:00
Johannes Zellner
52385fcc9c
Rename exposed ldap to user directory
2022-01-07 14:06:13 +01:00
Johannes Zellner
cc998ba805
Implement full exposed ldap auth
2022-01-07 13:11:27 +01:00
Girish Ramakrishnan
5e9a46d71e
filemanager: fix mounting of filesystem and mountpoint backends
2021-12-24 15:05:51 -08:00
Johannes Zellner
7117c17777
Add exposed ldap tests
2021-12-23 21:31:48 +01:00
Johannes Zellner
9ad7123da4
Fix exposed ldap bind
...
the duplicate functions should probably share some code
2021-12-23 17:58:08 +01:00
Johannes Zellner
98fd78159e
Do not require app auth for exposed ldap
2021-12-23 10:23:54 +01:00
Johannes Zellner
438bd36267
Fixup exposed ldap startup state
2021-12-10 18:06:23 +01:00
Johannes Zellner
86d642c8a3
Fixup ldap group tests
2021-12-09 17:23:14 +01:00
Johannes Zellner
d02d2dcb80
Expose ldap groups to apps
2021-12-09 15:07:30 +01:00
Girish Ramakrishnan
ea2b11e448
Fix tests
2021-12-03 18:33:49 -08:00
Girish Ramakrishnan
aab69772e6
mailbox: add app owner type
...
this is useful when we create mailboxes for the recvmail addon
2021-12-02 22:28:06 -08:00
Johannes Zellner
412bb406c0
Do not attempt to start exposed ldap server again
2021-11-26 10:50:14 +01:00
Johannes Zellner
735737b513
Initial attempt to expose the ldap server
2021-11-22 21:29:23 +01:00
Girish Ramakrishnan
6479e333de
pop3: fix crash when authenticating non-existent mailbox
2021-11-01 19:54:39 -07:00
Girish Ramakrishnan
28d1d5e960
ldap: make mailbox app passwords work with sogo
2021-11-01 19:17:30 -07:00
Girish Ramakrishnan
15d8f4e89c
ldap: remove legacy sogo search route
2021-11-01 17:08:23 -07:00
Girish Ramakrishnan
000db4e33d
mail: add flag to enable/disable pop3 access per mailbox
2021-10-08 10:43:17 -07:00
Girish Ramakrishnan
9414041ba8
ldap: lookup by addon id and not service id
2021-10-08 09:59:44 -07:00
Girish Ramakrishnan
92c712ea75
ldap: use service ids when auth'ing email
2021-10-07 21:32:22 -07:00
Girish Ramakrishnan
671e0d1e6f
recvmail: check for active mailbox
2021-10-03 23:59:06 -07:00
Johannes Zellner
c568c142c0
Remove unused require
2021-09-27 13:07:11 +02:00
Girish Ramakrishnan
5883857e8c
sftp: remove requireAdmin setting. deprecated with operators
2021-09-21 22:43:04 -07:00
Girish Ramakrishnan
f44fa2cf47
apps: hasAccessTo -> canAccess
2021-09-21 10:13:06 -07:00
Girish Ramakrishnan
48eab7935c
sftp: add missing safe()
2021-09-15 15:31:20 -07:00
Girish Ramakrishnan
7709e155e0
more async'ification
2021-09-07 11:21:06 -07:00
Girish Ramakrishnan
42774eac8c
docker.js and services.js: async'ify
2021-08-26 18:23:31 -07:00
Girish Ramakrishnan
77f5cb183b
merge appdb.js into apps.js
2021-08-23 15:35:38 -07:00
Girish Ramakrishnan
7ba3203625
users: getAll -> list
2021-08-20 11:31:10 -07:00
Girish Ramakrishnan
c5fff756d1
move addon config db code to addonconfigs.js
2021-08-19 22:08:31 -07:00