Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NormalizeDN (1.17 sec)

  1. cmd/iam.go

    	var collectedErrors []error
    	updatedKeysMap := make(map[string]madmin.SRSvcAccCreate)
    	for ak, createReq := range accessKeyMap {
    		parent := createReq.Parent
    		groups := createReq.Groups
    
    		_, err := ldap.NormalizeDN(parent)
    		if err != nil {
    			// not a valid DN, ignore.
    			continue
    		}
    
    		hasDiff := false
    
    		// For the parent value, we require that the parent exists in the LDAP
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 75.3K bytes
    - Viewed (0)
  2. cmd/sts-handlers_test.go

    	_, err = ldapID.Retrieve()
    	if err == nil {
    		c.Fatalf("Expected to fail to create STS cred with no associated policy!")
    	}
    
    	mustNormalizeDN := func(dn string) string {
    		normalizedDN, err := ldap.NormalizeDN(dn)
    		if err != nil {
    			c.Fatalf("normalize err: %v", err)
    		}
    		return normalizedDN
    	}
    
    	actualUserDN := mustNormalizeDN("uid=svc.algorithm,OU=swengg,DC=min,DC=io")
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 100.2K bytes
    - Viewed (1)
Back to top