01311929d1 
					 
					
						
						
							
							providers/ldap: improve password totp detection ( #6006 )  
						
						... 
						
						
						
						* providers/ldap: improve password totp detection
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* add flag for totp mfa support
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* keep support for static tokens
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* fix migrations
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
---------
Signed-off-by: Jens Langhammer <jens@goauthentik.io > 
						
						
					 
					
						2023-06-20 12:09:13 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						54ef88a6fa 
					 
					
						
						
							
							providers/ldap: rework Schema and DSE ( #5838 )  
						
						... 
						
						
						
						* rework Root DSE
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* always parse filter objectClass
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* start adding LDAP Schema
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* add more schema
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* update schema more
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* fix cn for schema
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* only include main DN in namingContexts
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* use schema from gh
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* add description
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* add response filtering
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* fix response filtering
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* don't return rootDSE entry when searching for singleLevel
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* remove currentTime
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* fix attribute filtering
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* fix tests
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* set SINGLE-VALUE
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* fix numbers
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
---------
Signed-off-by: Jens Langhammer <jens@goauthentik.io > 
						
						
					 
					
						2023-06-08 15:16:40 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0ce41a1b2d 
					 
					
						
						
							
							providers/ldap: add StartTLS support ( #5861 )  
						
						... 
						
						
						
						* providers/ldap: add StartTLS support
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* add starttls test
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* update form and docs
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* re-add tls server name
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* update release notes
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
---------
Signed-off-by: Jens Langhammer <jens@goauthentik.io > 
						
						
					 
					
						2023-06-06 21:40:19 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5d87eb97be 
					 
					
						
						
							
							outposts/ldap: fix race condition when refreshing the provider  
						
						... 
						
						
						
						Fixes the race condition causing the crash found in #4138 , which doesn't
actually have anything to do with the issue itself.
As far as I can work out, when the outpost refreshes its list of
providers, it copies over its `boundUsers`, probably to avoid having to
fetch them all again, and does so by making a shallow copy of that
`map`, but not the mutex associated with it. It now has multiple
references to the same map, each protected by a different mutex, which
under certain conditions can cause a `concurrent map read and map write`
error.
This fix copies the map contents instead of make a shallow copy.
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space > 
						
						
					 
					
						2023-06-02 15:42:19 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a9b32e2f97 
					 
					
						
						
							
							providers/ldap: add unbind flow execution ( #4484 )  
						
						... 
						
						
						
						add unbind flow execution
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
Signed-off-by: Jens Langhammer <jens@goauthentik.io > 
						
						
					 
					
						2023-01-23 20:36:30 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ff13b4bb46 
					 
					
						
						
							
							outposts/ldap: use configured certificate for LDAPS when all providers' certificates are identical  
						
						... 
						
						
						
						Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org > 
						
						
					 
					
						2022-12-28 19:15:29 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5c91658484 
					 
					
						
						
							
							internal: fix nil pointer dereference in ldap outpost  
						
						... 
						
						
						
						Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org > 
						
						
					 
					
						2022-05-21 15:48:50 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						62a939b91d 
					 
					
						
						
							
							internal: bump api client to v3  
						
						... 
						
						
						
						Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org > 
						
						
					 
					
						2022-03-03 10:40:07 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						947ecec02b 
					 
					
						
						
							
							outposts/ldap: Fix more case sensitivity issues. ( #2144 )  
						
						
						
						
					 
					
						2022-01-25 11:27:27 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						819af78e2b 
					 
					
						
						
							
							internal: make internal go version match python version  
						
						... 
						
						
						
						Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org > 
						
						
					 
					
						2022-01-14 10:45:37 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						40404ff41d 
					 
					
						
						
							
							outposts/ldap: Rework/improve LDAP search logic. ( #1687 )  
						
						... 
						
						
						
						* outposts/ldap: Refactor searching so we key primarily off base dn
* docs: Updating guides on sssd and the ldap outpost. 
						
						
					 
					
						2021-12-02 15:28:58 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f069cfb643 
					 
					
						
						
							
							outposts/ldap: copy boundUsers map when running refresh instead of using blank map  
						
						... 
						
						
						
						closes  #1651 
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org > 
					
						2021-11-13 00:26:01 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5a8c66d325 
					 
					
						
						
							
							providers/ldap: memory Query ( #1681 )  
						
						... 
						
						
						
						* outposts/ldap: modularise ldap outpost, to allow different searchers and binders
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org >
* outposts/ldap: add basic in-memory searcher
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org >
* providers/ldap: add search mode field
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org >
* outpost: add search mode field
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org > 
						
						
					 
					
						2021-11-05 10:37:30 +01:00