File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -272,6 +272,8 @@ pub async fn link_user_ids(config: Config, skipped_errors: &SkippedErrors) -> Re
272272 users. into_iter ( ) . map ( |user| ( user. email . clone ( ) , user) ) . collect ( )
273273 } ;
274274
275+ tracing:: trace!( "Found LDAP users: {:?}" , ldap_users) ;
276+
275277 let mut zitadel_users =
276278 pin ! ( zitadel_client. list_users_raw( ) . context( "failed to query Zitadel users" ) ?) ;
277279
@@ -295,6 +297,8 @@ pub async fn link_user_ids(config: Config, skipped_errors: &SkippedErrors) -> Re
295297 continue ;
296298 } ;
297299
300+ tracing:: trace!( "Trying to match user with email {}" , email) ;
301+
298302 if !seen_emails. insert ( email. to_owned ( ) ) {
299303 // Zitadel doesn't actually allow this case, but it's here
300304 // just in case
@@ -322,6 +326,8 @@ pub async fn link_user_ids(config: Config, skipped_errors: &SkippedErrors) -> Re
322326 continue ;
323327 } ;
324328
329+ tracing:: debug!( "Found LDAP user `{}`" , ldap_id) ;
330+
325331 match nick {
326332 Some ( nick) if nick. is_empty ( ) => {
327333 let mut request = UpdateHumanUserRequest :: new ( ) ;
You can’t perform that action at this time.
0 commit comments