mushro.om
01/17/2024, 6:00 AMradicale | [2024-01-17 06:55:42 +0100] [6/Thread-7 (process_request_thread)] [INFO] Access to '/' denied for anonymous user
radicale | [2024-01-17 06:55:42 +0100] [6/Thread-7 (process_request_thread)] [INFO] PROPFIND response status for '/' in 0.003 seconds: 401 Unauthorized
radicale | [2024-01-17 06:55:42 +0100] [6/Thread-8 (process_request_thread)] [INFO] PROPFIND request for '/' received from 172.18.0.9 (forwarded for '172.18.0.1') using 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 OPR/106.0.0.0'
radicale | [2024-01-17 06:55:42 +0100] [6/Thread-8 (process_request_thread)] [INFO] LDAP user ['rrctim'] (uid=rrctim,ou=people,dc=local,dc=intoxx,dc=fr) found
radicale | [2024-01-17 06:55:42 +0100] [6/Thread-8 (process_request_thread)] [ERROR] LDAP bind failed
radicale | [2024-01-17 06:55:42 +0100] [6/Thread-8 (process_request_thread)] [WARNING] Failed login attempt from 172.18.0.9 (forwarded for '172.18.0.1'): 'rrctim'
radicale | [2024-01-17 06:55:43 +0100] [6/Thread-8 (process_request_thread)] [INFO] PROPFIND response status for '/' in 1.513 seconds: 401 Unauthorized
radicale config :
[auth]
type = radicale_auth_ldap
ldap_url = ldap://172.16.10.3:3890
ldap_base = dc=local,dc=intoxx,dc=fr
ldap_attribute = uid
ldap_filter = (objectClass=person)
ldap_binddn = uid=admin,ou=people,dc=local,dc=intoxx,dc=fr
ldap_password = *REDACTED*
ldap_scope = LEVEL
ldap_support_extended = yesnitnelave
01/17/2024, 6:37 AMmushro.om
01/17/2024, 7:09 AMnitnelave
01/17/2024, 7:10 AMnitnelave
01/17/2024, 7:10 AMmushro.om
01/17/2024, 7:27 AMlldap | 2024-01-17T07:25:47.238315601+00:00 INFO LDAP session [ 241ยตs | 60.29% / 100.00% ]
lldap | 2024-01-17T07:25:47.238532058+00:00 INFO โโ LDAP request [ 95.6ยตs | 39.71% ]
i'm investigating why werbose=true doesnt help imma get back to you in a few minutesnitnelave
01/17/2024, 7:28 AMmushro.om
01/17/2024, 7:28 AMmushro.om
01/17/2024, 7:30 AMlldap | 2024-01-17T07:30:11.212442757+00:00 INFO LDAP session [ 164ms | 0.26% / 100.00% ]
lldap | 2024-01-17T07:30:11.213287309+00:00 INFO โโ LDAP request [ 161ms | 97.80% ]
lldap | 2024-01-17T07:30:11.375912761+00:00 INFO โโ LDAP request [ 293ยตs | 0.18% ]
lldap | 2024-01-17T07:30:11.421164066+00:00 INFO โโ LDAP request [ 227ยตs | 0.14% ]
lldap | 2024-01-17T07:30:11.423140166+00:00 INFO โโ LDAP request [ 2.67ms | 1.62% ]
lldap | 2024-01-17T07:30:11.469232909+00:00 INFO โโ LDAP request [ 4.60ยตs | 0.00% ]
lldap | 2024-01-17T07:30:11.534867673+00:00 INFO LDAP session [ 95.9ms | 0.29% / 100.00% ]
lldap | 2024-01-17T07:30:11.534905516+00:00 INFO โโ LDAP request [ 95.3ms | 99.31% ]
lldap | 2024-01-17T07:30:11.631797146+00:00 INFO โโ LDAP request [ 191ยตs | 0.20% ]
lldap | 2024-01-17T07:30:11.677093021+00:00 INFO โโ LDAP request [ 195ยตs | 0.20% ]
lldap | 2024-01-17T07:30:11.678156702+00:00 INFO โโ LDAP request [ 2.68ยตs | 0.00% ]nitnelave
01/17/2024, 7:30 AMmushro.om
01/17/2024, 7:31 AMnitnelave
01/17/2024, 7:31 AMnitnelave
01/17/2024, 7:34 AMnitnelave
01/17/2024, 7:34 AMnitnelave
01/17/2024, 7:34 AMmushro.om
01/17/2024, 7:34 AMmushro.om
01/17/2024, 7:35 AMmushro.om
01/17/2024, 7:38 AMnitnelave
01/17/2024, 7:38 AMnitnelave
01/17/2024, 7:39 AMnitnelave
01/17/2024, 7:40 AMnitnelave
01/17/2024, 7:40 AMmushro.om
01/17/2024, 7:41 AM[2024-01-17 08:40:35 +0100] [6/Thread-15 (process_request_thread)] [INFO] PROPFIND request for '/' received from 172.18.0.9 (forwarded for '172.18.0.1') using 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 OPR/106.0.0.0'
[2024-01-17 08:40:35 +0100] [6/Thread-15 (process_request_thread)] [INFO] Access to '/' denied for anonymous user
[2024-01-17 08:40:35 +0100] [6/Thread-15 (process_request_thread)] [INFO] PROPFIND response status for '/' in 0.003 seconds: 401 Unauthorized
[2024-01-17 08:40:35 +0100] [6/Thread-16 (process_request_thread)] [INFO] PROPFIND request for '/' received from 172.18.0.9 (forwarded for '172.18.0.1') using 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 OPR/106.0.0.0'
[2024-01-17 08:40:35 +0100] [6/Thread-16 (process_request_thread)] [INFO] LDAP user ['test'] (uid=test,ou=people,dc=local,dc=intoxx,dc=fr) found
[2024-01-17 08:40:35 +0100] [6/Thread-16 (process_request_thread)] [ERROR] LDAP bind failed
[2024-01-17 08:40:35 +0100] [6/Thread-16 (process_request_thread)] [WARNING] Failed login attempt from 172.18.0.9 (forwarded for '172.18.0.1'): 'test'
[2024-01-17 08:40:36 +0100] [6/Thread-16 (process_request_thread)] [INFO] PROPFIND response status for '/' in 1.151 seconds: 401 Unauthorized
[2024-01-17 08:40:39 +0100] [6/Thread-17 (process_request_thread)] [INFO] GET request for '/' received from 127.0.0.1 using 'curl/8.1.2'
[2024-01-17 08:40:39 +0100] [6/Thread-17 (process_request_thread)] [INFO] GET response status for '/' in 0.001 seconds: 302 Foundmushro.om
01/17/2024, 7:41 AMnitnelave
01/17/2024, 7:41 AMnitnelave
01/17/2024, 7:42 AMnitnelave
01/17/2024, 7:42 AMnitnelave
01/17/2024, 7:45 AMmushro.om
01/17/2024, 7:46 AMmushro.om
01/17/2024, 7:50 AMnitnelave
01/17/2024, 7:52 AMnitnelave
01/17/2024, 7:52 AMmushro.om
01/17/2024, 7:53 AMnitnelave
01/17/2024, 7:55 AMnitnelave
01/17/2024, 7:56 AMnitnelave
01/17/2024, 7:56 AMmushro.om
01/17/2024, 7:57 AMmushro.om
01/17/2024, 7:57 AMnitnelave
01/17/2024, 7:57 AMnitnelave
01/17/2024, 7:57 AMnitnelave
01/17/2024, 7:57 AMmushro.om
01/17/2024, 7:58 AMgendav | [Wed Jan 17 07:57:44.126246 2024] [core:notice] [pid 43] AH00094: Command line: '/usr/sbin/apache2 -D FOREGROUND'
radicale | [2024-01-17 08:57:44 +0100] [7] [INFO] Loaded default config
radicale | [2024-01-17 08:57:44 +0100] [7] [INFO] Loaded config file '/config/config'
radicale | [2024-01-17 08:57:44 +0100] [7] [INFO] Starting Radicale
radicale | [2024-01-17 08:57:44 +0100] [7] [INFO] auth type is 'radicale_auth_ldap'
radicale | [2024-01-17 08:57:44 +0100] [7] [INFO] LDAP auth configuration:
radicale | [2024-01-17 08:57:44 +0100] [7] [INFO] 'ldap_url' is 'ldap://172.16.10.3:3890'
radicale | [2024-01-17 08:57:44 +0100] [7] [INFO] 'ldap_base' is 'dc=local,dc=intoxx,dc=fr'
radicale | [2024-01-17 08:57:44 +0100] [7] [INFO] 'ldap_filter' is '(objectClass=person)'
radicale | [2024-01-17 08:57:44 +0100] [7] [INFO] 'ldap_attribute' is 'uid'
radicale | [2024-01-17 08:57:44 +0100] [7] [INFO] 'ldap_binddn' is 'uid=admin,ou=people,dc=local,dc=intoxx,dc=fr'
radicale | [2024-01-17 08:57:44 +0100] [7] [INFO] 'ldap_password' is '*REDACTED*'
radicale | [2024-01-17 08:57:44 +0100] [7] [INFO] 'ldap_scope' is 'LEVEL'
radicale | [2024-01-17 08:57:44 +0100] [7] [INFO] 'ldap_support_extended' is 'no'
radicale | [2024-01-17 08:57:44 +0100] [7] [INFO] storage type is 'radicale.storage.multifilesystem'
radicale | [2024-01-17 08:57:44 +0100] [7] [INFO] rights type is 'radicale.rights.owner_only'
radicale | [2024-01-17 08:57:44 +0100] [7] [INFO] web type is 'radicale.web.internal'
radicale | [2024-01-17 08:57:44 +0100] [7] [INFO] Listening on '[0.0.0.0]:5232'
radicale | [2024-01-17 08:57:44 +0100] [7] [INFO] Listening on '[::]:5232'
radicale | [2024-01-17 08:57:44 +0100] [7] [INFO] Radicale server readymushro.om
01/17/2024, 7:58 AMnitnelave
01/17/2024, 7:58 AMnitnelave
01/17/2024, 7:59 AMnitnelave
01/17/2024, 7:59 AMmushro.om
01/17/2024, 8:00 AM2024-01-17T08:00:02.123972647+00:00 DEBUG โ โโ ๐ [debug]: | response: ExtendedResponse(LdapExtendedResponse { result: LdapResult { code: UnwillingToPerform, matcheddn: "", message: "Unsupported extended operation: 1.3.6.1.4.1.4203.1.11.3", referral: [] }, name: None, value: "vec![...]" })nitnelave
01/17/2024, 8:01 AMnitnelave
01/17/2024, 8:01 AMnitnelave
01/17/2024, 8:02 AMnitnelave
01/17/2024, 8:02 AMmushro.om
01/17/2024, 8:02 AMnitnelave
01/17/2024, 8:02 AMmushro.om
01/17/2024, 8:03 AM[auth]
#type = htpasswd
#htpasswd_filename = /etc/radicale/users/radicale-users
#htpasswd_encryption = md5
type = radicale_auth_ldap
ldap_url = ldap://172.16.10.3:3890
ldap_base = dc=local,dc=intoxx,dc=fr
ldap_attribute = uid
#ldap_filter = (&(ou=people)(objectClass=person))
ldap_filter = (objectClass=person)
ldap_binddn = uid=admin,ou=people,dc=local,dc=intoxx,dc=fr
ldap_password = *REDACTED*
ldap_scope = LEVEL
ldap_support_extended = no
[server]
hosts = 0.0.0.0:5232, [::]:5232
[storage]
filesystem_folder = /data/.var/lib/radicale/collections
[logging]
#level = debug, info, warning, error, critical
level = debug
mask_passwords = false
#[rights]
#type = authenticated
#type = from_file
#file = /etc/radicale/rights/rightsnitnelave
01/17/2024, 8:03 AMmushro.om
01/17/2024, 8:04 AMnitnelave
01/17/2024, 8:04 AMnitnelave
01/17/2024, 8:04 AMmushro.om
01/17/2024, 8:04 AMmushro.om
01/17/2024, 8:04 AMnitnelave
01/17/2024, 8:04 AMmushro.om
01/17/2024, 8:04 AMmushro.om
01/17/2024, 8:04 AMnitnelave
01/17/2024, 9:41 AMnitnelave
01/17/2024, 9:41 AMmushro.om
01/17/2024, 9:54 AMmushro.om
01/17/2024, 9:55 AMmushro.om
01/17/2024, 10:01 AM"ldap_support_extended": {
"value": True,
"help": "",
"type": bool
}
from https://github.com/ricjcosme/radicale-auth-ldap/blob/master/radicale_auth_ldap/__init__.pynitnelave
01/17/2024, 10:49 AMnitnelave
01/17/2024, 10:49 AMmushro.om
01/18/2024, 10:45 AMnitnelave
01/18/2024, 10:45 AMmushro.om
01/18/2024, 10:46 AMFROM tomsquest/docker-radicale
RUN python3 -m pip install git+https://github.com/ricjcosme/radicale-auth-ldapmushro.om
01/18/2024, 10:46 AMnitnelave
01/18/2024, 10:47 AMpython
if self.ldap_support_extended:
print("Support!")nitnelave
01/18/2024, 10:48 AMpip show radicale-auth-ldap to see where it's installedmushro.om
01/18/2024, 10:48 AMmushro.om
01/18/2024, 10:59 AM/usr/lib/python3.11/site-packages/radicale_auth_ldap/__init__.py
i guess it is only used at setup
i will fork the repo to add the line permanentlymushro.om
01/18/2024, 11:10 AMmushro.om
01/18/2024, 11:11 AM=> [radicale internal] load build definition from Dockerfile.extended 0.3s
...
=> [radicale 2/2] RUN python3 -m pip install git+https://github.com/shroomify-it/radicale-auth-ldap 12.3s
=> [radicale] exporting to image 2.0s
=> => exporting layers 1.9s
=> => writing image sha256:29bb292824039dd9ad84b9908b13d2c826b43adee06fe604bdfe6aa5e3c73e00 0.1s
=> => naming to docker.io/library/agenda-radicale 0.1s
[+] Running 2/2
โ Container radicale Started 1.2s
โ Container agendav Started 1.2smushro.om
01/18/2024, 11:11 AMagendav | Start webserver
radicale | [2024-01-18 12:09:37 +0100] [8] [INFO] Loaded default config
radicale | [2024-01-18 12:09:37 +0100] [8] [INFO] Loaded config file '/config/config'
radicale | [2024-01-18 12:09:37 +0100] [8] [INFO] Starting Radicale
radicale | [2024-01-18 12:09:37 +0100] [8] [INFO] auth type is 'radicale_auth_ldap'
radicale | [2024-01-18 12:09:37 +0100] [8] [INFO] LDAP auth configuration:
radicale | [2024-01-18 12:09:37 +0100] [8] [INFO] 'ldap_url' is 'ldap://lldap:3890'
radicale | [2024-01-18 12:09:37 +0100] [8] [INFO] 'ldap_base' is 'dc=local,dc=intoxx,dc=fr'
radicale | [2024-01-18 12:09:37 +0100] [8] [INFO] 'ldap_filter' is '(objectClass=person)'
radicale | [2024-01-18 12:09:37 +0100] [8] [INFO] 'ldap_attribute' is 'uid'
radicale | [2024-01-18 12:09:37 +0100] [8] [INFO] 'ldap_binddn' is 'uid=admin,ou=people,dc=local,dc=intoxx,dc=fr'
radicale | [2024-01-18 12:09:37 +0100] [8] [INFO] 'ldap_password' is '*REDACTED*'
radicale | [2024-01-18 12:09:37 +0100] [8] [INFO] 'ldap_scope' is 'LEVEL'
radicale | [2024-01-18 12:09:37 +0100] [8] [INFO] 'ldap_support_extended' is 'no'
radicale | [2024-01-18 12:09:37 +0100] [8] [INFO] storage type is 'radicale.storage.multifilesystem'
radicale | [2024-01-18 12:09:37 +0100] [8] [INFO] rights type is 'radicale.rights.from_file'
radicale | [2024-01-18 12:09:37 +0100] [8] [INFO] web type is 'radicale.web.internal'
radicale | [2024-01-18 12:09:37 +0100] [8] [INFO] Listening on '[0.0.0.0]:5232'
radicale | [2024-01-18 12:09:37 +0100] [8] [INFO] Listening on '[::]:5232'
radicale | [2024-01-18 12:09:37 +0100] [8] [INFO] Radicale server readynitnelave
01/18/2024, 11:12 AMprint(conn.result) line 186?nitnelave
01/18/2024, 11:13 AMnitnelave
01/18/2024, 11:13 AMmushro.om
01/18/2024, 11:14 AMradicale | [2024-01-18 12:12:35 +0100] [6] [INFO] 'ldap_scope' is 'LEVEL'
radicale | [2024-01-18 12:12:35 +0100] [6] [INFO] 'ldap_support_extended' is 'yes'
radicale | [2024-01-18 12:12:35 +0100] [6] [INFO] storage type is 'radicale.storage.multifilesystem'
radicale | [2024-01-18 12:12:35 +0100] [6] [INFO] rights type is 'radicale.rights.from_file'
radicale | [2024-01-18 12:12:35 +0100] [6] [INFO] web type is 'radicale.web.internal'
radicale | [2024-01-18 12:12:35 +0100] [6] [INFO] Listening on '[0.0.0.0]:5232'
radicale | [2024-01-18 12:12:35 +0100] [6] [INFO] Listening on '[::]:5232'
radicale | [2024-01-18 12:12:35 +0100] [6] [INFO] Radicale server readymushro.om
01/18/2024, 11:14 AMnitnelave
01/18/2024, 11:15 AMmushro.om
01/18/2024, 11:15 AMmushro.om
01/18/2024, 11:15 AMmushro.om
01/18/2024, 11:16 AMmushro.om
01/18/2024, 11:17 AMnitnelave
01/18/2024, 11:17 AMmushro.om
01/18/2024, 11:18 AMmushro.om
01/18/2024, 11:18 AMnitnelave
01/18/2024, 11:18 AMmushro.om
01/18/2024, 11:19 AMnitnelave
01/18/2024, 11:19 AMmushro.om
01/18/2024, 11:19 AMnitnelave
01/18/2024, 11:19 AMnitnelave
01/18/2024, 11:19 AMmushro.om
01/18/2024, 11:20 AM[2024-01-18 12:19:10 +0100] [6] [INFO] Stopping Radicale
Support!
...
[2024-01-18 12:19:13 +0100] [6] [INFO] 'ldap_support_extended' is 'True'mushro.om
01/18/2024, 11:20 AMmushro.om
01/18/2024, 11:20 AMprint(conn.result) line 186nitnelave
01/18/2024, 11:21 AMnitnelave
01/18/2024, 11:21 AMmushro.om
01/18/2024, 11:22 AMmushro.om
01/18/2024, 11:22 AMnitnelave
01/18/2024, 11:22 AMmushro.om
01/18/2024, 11:23 AMmushro.om
01/18/2024, 11:24 AMmushro.om
01/18/2024, 11:24 AMnitnelave
01/18/2024, 11:26 AMnitnelave
01/18/2024, 11:26 AMnitnelave
01/18/2024, 11:26 AMmushro.om
01/18/2024, 11:26 AMmushro.om
01/18/2024, 11:27 AMmushro.om
01/18/2024, 11:30 AMmushro.om
01/18/2024, 11:30 AMnitnelave
01/18/2024, 11:31 AMnitnelave
01/18/2024, 11:31 AMnitnelave
01/18/2024, 11:32 AMnitnelave
01/18/2024, 11:32 AMmushro.om
01/18/2024, 11:33 AMnitnelave
01/18/2024, 12:57 PMmushro.om
01/18/2024, 2:11 PMmushro.om
01/18/2024, 2:14 PMmushro.om
01/18/2024, 2:14 PMnitnelave
01/18/2024, 2:15 PMnitnelave
01/18/2024, 2:15 PMmushro.om
01/18/2024, 2:55 PMmushro.om
01/18/2024, 2:56 PM[2024-01-18 15:55:56 +0100] [7/Thread-14 (process_request_thread)] [DEBUG] Base prefix (from SCRIPT_NAME): ''
[2024-01-18 15:55:56 +0100] [7/Thread-14 (process_request_thread)] [DEBUG] Sanitized path: '/'
[2024-01-18 15:55:56 +0100] [7/Thread-14 (process_request_thread)] [DEBUG] LDAP whoami: None
[2024-01-18 15:55:56 +0100] [7/Thread-14 (process_request_thread)] [DEBUG] LDAP bind for uid=test in base dc=local,dc=intoxx,dc=fr
[2024-01-18 15:55:56 +0100] [7/Thread-14 (process_request_thread)] [DEBUG] LDAP filter: (&(uid=test)(objectClass=person))
[2024-01-18 15:55:56 +0100] [7/Thread-14 (process_request_thread)] [INFO] LDAP user ['test'] (uid=test,ou=people,dc=local,dc=intoxx,dc=fr) found
[2024-01-18 15:55:57 +0100] [7/Thread-14 (process_request_thread)] [DEBUG] {'result': 0, 'description': 'success', 'dn': '', 'message': '', 'referrals': None, 'saslCreds': None, 'type': 'bindResponse'}
[2024-01-18 15:55:57 +0100] [7/Thread-14 (process_request_thread)] [DEBUG] LDAP whoami: None
[2024-01-18 15:55:57 +0100] [7/Thread-14 (process_request_thread)] [ERROR] LDAP bind failed
[2024-01-18 15:55:57 +0100] [7/Thread-14 (process_request_thread)] [WARNING] Failed login attempt from 172.18.0.1: 'test'
[2024-01-18 15:55:57 +0100] [7/Thread-14 (process_request_thread)] [DEBUG] Sleeping 1.426 seconds
[2024-01-18 15:55:58 +0100] [7/Thread-14 (process_request_thread)] [DEBUG] Asking client for authentication
[2024-01-18 15:55:58 +0100] [7/Thread-14 (process_request_thread)] [DEBUG] Response content:
Access to the requested resource forbidden.
[2024-01-18 15:55:58 +0100] [7/Thread-14 (process_request_thread)] [INFO] PROPFIND response status for '/' in 1.814 seconds: 401 Unauthorizednitnelave
01/18/2024, 2:57 PMnitnelave
01/18/2024, 2:57 PMmushro.om
01/18/2024, 2:57 PMmushro.om
01/18/2024, 3:12 PMmushro.om
01/18/2024, 3:12 PMmushro.om
01/18/2024, 3:12 PMmushro.om
01/18/2024, 3:13 PMnitnelave
01/18/2024, 3:13 PMnitnelave
01/18/2024, 3:13 PMmushro.om
01/18/2024, 3:13 PMmushro.om
01/18/2024, 3:13 PMmushro.om
01/18/2024, 3:18 PMvalue of ldap_support_extended: True type of the variable: <class 'str'>
value of ldap_support_extended: no type of the variable: <class 'str'>
Support!mushro.om
01/18/2024, 3:18 PMnitnelave
01/18/2024, 4:21 PMnitnelave
01/18/2024, 4:21 PMnitnelave
01/18/2024, 4:22 PMif self.ldap_support_extended you'd write if parse_bool(self.ldap_support_extended):nitnelave
01/22/2024, 6:16 PMmushro.om
01/22/2024, 7:19 PMnitnelave
01/22/2024, 7:21 PMmushro.om
01/27/2024, 7:58 AMmushro.om
01/27/2024, 7:58 AMnitnelave
01/27/2024, 7:58 AMmushro.om
01/27/2024, 7:59 AMnitnelave
01/27/2024, 7:59 AMmushro.om
01/27/2024, 8:00 AMmushro.om
01/27/2024, 8:01 AMnitnelave
01/27/2024, 8:01 AMnitnelave
01/27/2024, 8:02 AMmushro.om
01/27/2024, 9:57 AMmushro.om
01/27/2024, 9:57 AMmushro.om
01/27/2024, 10:17 AMnitnelave
01/27/2024, 10:19 AMnitnelave
01/27/2024, 10:20 AMmushro.om
01/27/2024, 10:21 AMnitnelave
01/27/2024, 10:21 AMmushro.om
01/27/2024, 10:21 AMmushro.om
01/27/2024, 10:37 AMmushro.om
01/28/2024, 2:10 PMnitnelave
01/28/2024, 2:17 PMmushro.om
01/28/2024, 2:45 PM