Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Kappen (5.63 sec)

  1. docs/sts/ldap.go

    		} else {
    			bs, err := io.ReadAll(f)
    			if err != nil {
    				log.Fatalf("Error reading session policy file: %v", err)
    			}
    			policy = string(bs)
    		}
    		ldapOpts = append(ldapOpts, cr.LDAPIdentityPolicyOpt(policy))
    	}
    	if expiryDuration != 0 {
    		ldapOpts = append(ldapOpts, cr.LDAPIdentityExpiryOpt(expiryDuration))
    	}
    	li, err := cr.NewLDAPIdentity(stsEndpoint, ldapUsername, ldapPassword, ldapOpts...)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 4K bytes
    - Viewed (0)
  2. internal/config/identity/ldap/ldap.go

    			// Object does not exist error?
    			if ldap.IsErrorWithCode(err, 32) {
    				nonExistentUsers = append(nonExistentUsers, dn)
    				continue
    			}
    			return nil, err
    		}
    		if len(searchResult.Entries) == 0 {
    			// DN was not found - this means this user account is
    			// expired.
    			nonExistentUsers = append(nonExistentUsers, dn)
    		}
    	}
    	return nonExistentUsers, nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 9.9K bytes
    - Viewed (0)
Back to top