Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 32 for Works (0.16 sec)

  1. cmd/signature-v4.go

    // are equal. The signatures are expected to be HEX encoded strings
    // according to the AWS S3 signature V4 spec.
    func compareSignatureV4(sig1, sig2 string) bool {
    	// The CTC using []byte(str) works because the hex encoding
    	// is unique for a sequence of bytes. See also compareSignatureV2.
    	return subtle.ConstantTimeCompare([]byte(sig1), []byte(sig2)) == 1
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  2. cmd/utils_test.go

    		ceiling := ceilFrac(testCase.numerator, testCase.denominator)
    		if ceiling != testCase.ceiling {
    			t.Errorf("Case %d: Unexpected result: %d", i, ceiling)
    		}
    	}
    }
    
    // Test if isErrIgnored works correctly.
    func TestIsErrIgnored(t *testing.T) {
    	errIgnored := fmt.Errorf("ignored error")
    	testCases := []struct {
    		err     error
    		ignored bool
    	}{
    		{
    			err:     nil,
    			ignored: false,
    		},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 23 21:28:14 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  3. internal/config/config.go

    // decreasing precedence:
    //
    // 1. the value of the corresponding environment variable if set,
    // 2. the value of the parameter in the config store if set,
    // 3. the default value,
    //
    // This function only works for a subset of sub-systems, others return
    // `ValueSourceAbsent`. FIXME: some parameters have custom environment
    // variables for which support needs to be added.
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  4. docs/site-replication/run-multi-site-oidc.sh

    MC_HOST_foo=http://${STS_CRED}@localhost:9001 ./mc ls foo
    if [ $? -ne 0 ]; then
    	echo "Expected sts credential to work, exiting.."
    	exit_1
    fi
    
    sleep 2
    
    # Check that the STS credential works on minio2 and minio3.
    MC_HOST_foo=http://${STS_CRED}@localhost:9002 ./mc ls foo
    if [ $? -ne 0 ]; then
    	echo "Expected sts credential to work, exiting.."
    	exit_1
    fi
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 26 21:30:28 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  5. docs/distributed/README.md

    expanded total storage by _(newly_added_servers\*m)_ more drives, taking the total count to _(existing_servers\*m)+(newly_added_servers\*m)_ drives. New object upload requests automatically start using the least used cluster. This expansion strategy works endlessly, so you can perpetually expand your clusters as needed.  When you restart, it is immediate and non-disruptive to the applications. Each group of servers in the command-line is called a pool. There are 2 server pools in this example. New objects...
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  6. docs/sts/ldap.md

    export MINIO_IDENTITY_LDAP_GROUP_SEARCH_BASE_DN='dc=minioad,dc=local;dc=somedomain,dc=com'
    export MINIO_IDENTITY_LDAP_GROUP_SEARCH_FILTER='(&(objectclass=groupOfNames)(member=%d))'
    minio server ~/test
    ```
    
    You can make sure it works appropriately using our [example program](https://raw.githubusercontent.com/minio/minio/master/docs/sts/ldap.go):
    
    ```
    $ go run ldap.go -u foouser -p foopassword
    
    ##### Credentials
    {
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 18.4K bytes
    - Viewed (1)
  7. cmd/admin-handlers-users_test.go

    		c.Fatalf("Unable to update user's secret key: %v", err)
    	}
    	// 3.10.1 Check that old password no longer works.
    	err = client.MakeBucket(ctx, getRandomBucketName(), minio.MakeBucketOptions{})
    	if err == nil {
    		c.Fatalf("user was unexpectedly able to create bucket with bad password!")
    	}
    	// 3.10.2 Check that new password works.
    	client = s.getUserClient(c, accessKey, newSecretKey, "")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 12 16:36:16 GMT 2024
    - 45.7K bytes
    - Viewed (0)
  8. cmd/endpoint.go

    	// DNS. Following code ensures that we treat if one of the endpoint
    	// says its local for a given host - it is true for all endpoints
    	// for the same host. Following code ensures that this assumption
    	// is true and it works in all scenarios and it is safe to assume
    	// for a given host.
    	endpointLocalMap := make(map[string]bool)
    	for _, ep := range endpoints {
    		if ep.IsLocal {
    			endpointLocalMap[ep.Host] = ep.IsLocal
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 34.1K bytes
    - Viewed (0)
  9. cmd/sts-handlers.go

    		// gets rejected even when we skip certificate verification. This helps
    		// clients detect malformed certificates during testing instead of e.g.
    		// a self-signed certificate that works while a comparable certificate
    		// issued by a trusted CA fails due to the MinIO server being less strict
    		// w.r.t. key usage verification.
    		//
    		// Basically, MinIO is more consistent (from a client perspective) when
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  10. cmd/object-api-utils_test.go

    		bucketName string
    		shouldPass bool
    	}{
    		// cases which should pass the test.
    		// passing in valid bucket names.
    		{"lol", true},
    		{"1-this-is-valid", true},
    		{"1-this-too-is-valid-1", true},
    		{"this.works.too.1", true},
    		{"1234567", true},
    		{"123", true},
    		{"s3-eu-west-1.amazonaws.com", true},
    		{"ideas-are-more-powerful-than-guns", true},
    		{"testbucket", true},
    		{"1bucket", true},
    		{"bucket1", true},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 23.4K bytes
    - Viewed (0)
Back to top