Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetNonEligibleUserDistNames (0.12 sec)

  1. internal/config/identity/ldap/ldap.go

    		if baseDN.Parsed.AncestorOf(gdn) {
    			return true
    		}
    	}
    	return false
    }
    
    // GetNonEligibleUserDistNames - find user accounts (DNs) that are no longer
    // present in the LDAP server or do not meet filter criteria anymore
    func (l *Config) GetNonEligibleUserDistNames(userDistNames []string) ([]string, error) {
    	conn, err := l.LDAP.Connect()
    	if err != nil {
    		return nil, err
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 01:04:53 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  2. cmd/iam.go

    			allDistNames = append(allDistNames, info.subClaimValue)
    		} else {
    			allDistNames = append(allDistNames, parentUser)
    		}
    	}
    
    	expiredUsers, err := sys.LDAPConfig.GetNonEligibleUserDistNames(allDistNames)
    	if err != nil {
    		// Log and return on error - perhaps it'll work the next time.
    		iamLogIf(GlobalContext, err)
    		return
    	}
    
    	// We ignore any errors
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
Back to top