Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for NormalizeDN (0.04 sec)

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

    }
    
    // QuickNormalizeDN - normalizes the given DN without checking if it is valid or
    // exists in the LDAP directory. Returns input if error
    func (l Config) QuickNormalizeDN(dn string) string {
    	if normDN, err := xldap.NormalizeDN(dn); err == nil {
    		return normDN
    	}
    	return dn
    }
    
    // DecodeDN - denormalizes the given DN by unescaping any escaped characters.
    // Returns input if error
    func (l Config) DecodeDN(dn string) string {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Jul 12 01:04:53 UTC 2024
    - 12.4K bytes
    - Viewed (1)
  2. 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 Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Oct 15 17:00:45 UTC 2025
    - 76.5K bytes
    - Viewed (0)
  3. 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 Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Oct 15 17:00:45 UTC 2025
    - 103.4K bytes
    - Viewed (1)
Back to top