Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for iamLogIf (0.33 sec)

  1. cmd/iam.go

    		NewHTTPTransport(), xhttp.DrainBody, globalSite.Region)
    	if err != nil {
    		iamLogIf(ctx, fmt.Errorf("Unable to initialize OpenID: %w", err), logger.WarningKind)
    	}
    
    	// Initialize if LDAP is enabled
    	ldapConfig, err := xldap.Lookup(s, globalRootCAs)
    	if err != nil {
    		iamLogIf(ctx, fmt.Errorf("Unable to load LDAP configuration (LDAP configuration will be disabled!): %w", err), logger.WarningKind)
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  2. cmd/iam-object-store.go

    	}
    
    	bootstrapTraceMsg("purging expired STS credentials")
    
    	iamListing, ok := iamOS.cachedIAMListing.Load().(map[string][]string)
    	if !ok {
    		// There has been no store yet. This should never happen!
    		iamLogIf(GlobalContext, errors.New("WARNING: no cached IAM listing found"))
    		return nil
    	}
    
    	// Scan STS users on disk and purge expired ones. We do not need to hold a
    	// lock with store.lock() here.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  3. cmd/logging.go

    	logger.LogIf(ctx, "replication", err, errKind...)
    }
    
    func replLogOnceIf(ctx context.Context, err error, id string, errKind ...interface{}) {
    	logger.LogOnceIf(ctx, "replication", err, id, errKind...)
    }
    
    func iamLogIf(ctx context.Context, err error, errKind ...interface{}) {
    	logger.LogIf(ctx, "iam", err, errKind...)
    }
    
    func rebalanceLogIf(ctx context.Context, err error, errKind ...interface{}) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  4. cmd/iam-etcd-store.go

    					if !ok {
    						time.Sleep(1 * time.Second)
    						// Upon an error on watch channel
    						// re-init the watch channel.
    						goto outerLoop
    					}
    					if err := watchResp.Err(); err != nil {
    						iamLogIf(ctx, err)
    						// log and retry.
    						time.Sleep(1 * time.Second)
    						// Upon an error on watch channel
    						// re-init the watch channel.
    						goto outerLoop
    					}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  5. cmd/admin-handlers-users.go

    				iamLogIf(ctx, err)
    			} else if foundGroupDN == "" || !underBaseDN {
    				err = errNoSuchGroup
    			}
    			entityName = foundGroupDN
    		} else {
    			var foundUserDN string
    			if foundUserDN, err = globalIAMSys.LDAPConfig.GetValidatedDNForUsername(entityName); err != nil {
    				iamLogIf(ctx, err)
    			} else if foundUserDN == "" {
    				err = errNoSuchUser
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 77.3K bytes
    - Viewed (0)
  6. cmd/iam-store.go

    			store.deleteMappedPolicy(ctx, user, userType, false)
    			cache.iamUserPolicyMap.Delete(user)
    
    			// we are only logging errors, not handling them.
    			err := store.deleteUserIdentity(ctx, user, userType)
    			iamLogIf(GlobalContext, err)
    			delete(cache.iamUsersMap, user)
    
    			deleted = true
    		}
    	}
    
    	if deleted {
    		cache.updatedAt = time.Now()
    	}
    
    	return nil
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  7. cmd/site-replication.go

    				iamLogIf(ctx, err)
    			} else if foundGroupDN == "" || !underBaseDN {
    				err = errNoSuchGroup
    			}
    			entityName = foundGroupDN
    		} else {
    			var foundUserDN string
    			if foundUserDN, err = globalIAMSys.LDAPConfig.GetValidatedDNForUsername(entityName); err != nil {
    				iamLogIf(ctx, err)
    			} else if foundUserDN == "" {
    				err = errNoSuchUser
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 184.1K bytes
    - Viewed (1)
Back to top