Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for LDAPPassword (0.09 sec)

  1. cmd/http-tracer.go

    	"github.com/minio/minio/internal/mcontext"
    )
    
    var ldapPwdRegex = regexp.MustCompile("(^.*?)LDAPPassword=([^&]*?)(&(.*?))?$")
    
    // redact LDAP password if part of string
    func redactLDAPPwd(s string) string {
    	parts := ldapPwdRegex.FindStringSubmatch(s)
    	if len(parts) > 3 {
    		return parts[1] + "LDAPPassword=*REDACTED*" + parts[3]
    	}
    	return s
    }
    
    // getOpName sanitizes the operation name for mc
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. cmd/sts-handlers_test.go

    	if err != nil {
    		c.Fatalf("policy add error: %v", err)
    	}
    
    	ldapID := cr.LDAPIdentity{
    		Client:       s.TestSuiteCommon.client,
    		STSEndpoint:  s.endPoint,
    		LDAPUsername: "dillon",
    		LDAPPassword: "dillon",
    	}
    
    	_, err = ldapID.Retrieve()
    	if err == nil {
    		c.Fatalf("Expected to fail to create STS cred with no associated policy!")
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 97.1K bytes
    - Viewed (0)
Back to top