Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for mustNormalizeDN (0.16 sec)

  1. cmd/sts-handlers_test.go

    	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")
    
    	// \uFE52 is the unicode dot SMALL FULL STOP used below:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
Back to top