Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for server_addr (0.13 sec)

  1. docs/distributed/iam-import-with-missing-entities.sh

    # Start MinIO instance
    export CI=true
    (minio server --address :22000 --console-address :10000 http://localhost:22000/tmp/ldap{1...4} 2>&1 >/dev/null) &
    sleep 30
    ./mc ready myminio
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 15:59:00 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. internal/config/identity/ldap/config.go

    	if l == nil {
    		return Config{}
    	}
    	cfg := Config{
    		LDAP:              l.LDAP.Clone(),
    		stsExpiryDuration: l.stsExpiryDuration,
    	}
    	return cfg
    }
    
    // LDAP keys and envs.
    const (
    	ServerAddr         = "server_addr"
    	SRVRecordName      = "srv_record_name"
    	LookupBindDN       = "lookup_bind_dn"
    	LookupBindPassword = "lookup_bind_password"
    	UserDNSearchBaseDN = "user_dn_search_base_dn"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 07 12:59:47 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. buildscripts/minio-iam-ldap-upgrade-import-test.sh

    	MINIO_CI_CD=1 ./minio.${OLD_VERSION} server /tmp/data/{1...4} &
    	sleep 5
    
    	set -x
    	mc alias set old-minio http://localhost:9000 minioadmin minioadmin
    	mc ready old-minio
    	mc idp ldap add old-minio \
    		server_addr=localhost:1389 \
    		server_insecure=on \
    		lookup_bind_dn=cn=admin,dc=min,dc=io \
    		lookup_bind_password=admin \
    		user_dn_search_base_dn=dc=min,dc=io \
    		user_dn_search_filter="(uid=%s)" \
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. internal/http/listener.go

    func newHTTPListener(ctx context.Context, serverAddrs []string, opts TCPOptions) (listener *httpListener, listenErrs []error) {
    	listeners := make([]net.Listener, 0, len(serverAddrs))
    	listenErrs = make([]error, len(serverAddrs))
    
    	// Unix listener with special TCP options.
    	listenCfg := net.ListenConfig{
    		Control: setTCPParametersFn(opts),
    	}
    
    	for i, serverAddr := range serverAddrs {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 23 10:53:03 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. internal/config/identity/ldap/legacy.go

    )
    
    // LegacyConfig contains AD/LDAP server connectivity information from old config
    // V33.
    type LegacyConfig struct {
    	Enabled bool `json:"enabled"`
    
    	// E.g. "ldap.minio.io:636"
    	ServerAddr string `json:"serverAddr"`
    
    	// User DN search parameters
    	UserDNSearchBaseDistName  string   `json:"userDNSearchBaseDN"`
    	UserDNSearchBaseDistNames []string `json:"-"` // Generated field
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 08 05:12:36 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  6. cmd/net_test.go

    		if !apiEndpointSet.Contains(testCase.expectedResult) {
    			t.Fatalf("test %d: expected: Found, got: Not Found", i+1)
    		}
    	}
    }
    
    func TestCheckLocalServerAddr(t *testing.T) {
    	testCases := []struct {
    		serverAddr  string
    		expectedErr error
    	}{
    		{":54321", nil},
    		{"localhost:54321", nil},
    		{"0.0.0.0:9000", nil},
    		{":0", nil},
    		{"localhost", nil},
    		{"", fmt.Errorf("invalid argument")},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 19 08:43:09 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  7. internal/config/identity/ldap/help.go

    		return config.DefaultHelpPostfix(DefaultKVS, key)
    	}
    
    	Help = config.HelpKVS{
    		config.HelpKV{
    			Key:         ServerAddr,
    			Description: `AD/LDAP server address e.g. "myldap.com" or "myldapserver.com:636"` + defaultHelpPostfix(ServerAddr),
    			Type:        "address",
    			Sensitive:   true,
    		},
    		config.HelpKV{
    			Key:         SRVRecordName,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. internal/deadlineconn/deadlineconn_test.go

    func TestBuffConnReadTimeout(t *testing.T) {
    	l, err := net.Listen("tcp", "localhost:0")
    	if err != nil {
    		t.Fatalf("unable to create listener. %v", err)
    	}
    	defer l.Close()
    	serverAddr := l.Addr().String()
    
    	tcpListener, ok := l.(*net.TCPListener)
    	if !ok {
    		t.Fatalf("failed to assert to net.TCPListener")
    	}
    
    	var wg sync.WaitGroup
    	wg.Add(1)
    	go func() {
    		defer wg.Done()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Nov 05 18:09:21 UTC 2022
    - 3K bytes
    - Viewed (0)
  9. cmd/net.go

    	if addr1Local && addr2Local {
    		if port1 == port2 {
    			return true, nil
    		}
    	}
    	return false, nil
    }
    
    // CheckLocalServerAddr - checks if serverAddr is valid and local host.
    func CheckLocalServerAddr(serverAddr string) error {
    	host, err := xnet.ParseHost(serverAddr)
    	if err != nil {
    		return config.ErrInvalidAddressFlag(err)
    	}
    
    	// 0.0.0.0 is a wildcard address and refers to local network
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 19 14:34:00 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top