Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 341 for bind (0.18 sec)

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

    	return validatedDN, false, nil
    }
    
    // Bind - binds to ldap, searches LDAP and returns the distinguished name of the
    // user and the list of groups.
    func (l *Config) Bind(username, password string) (string, []string, error) {
    	conn, err := l.LDAP.Connect()
    	if err != nil {
    		return "", nil, err
    	}
    	defer conn.Close()
    
    	var bindDN string
    	// Bind to the lookup user account
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  2. internal/http/check_port_test.go

    	port := l.Addr().(*net.TCPAddr).Port
    
    	testCases := []struct {
    		host        string
    		port        int
    		expectedErr error
    	}{
    		{"", port, fmt.Errorf("listen tcp :%v: bind: address already in use", port)},
    		{"127.0.0.1", port, fmt.Errorf("listen tcp 127.0.0.1:%v: bind: address already in use", port)},
    	}
    
    	for _, testCase := range testCases {
    		err := CheckPortAvailability(testCase.host, strconv.Itoa(testCase.port), TCPOptions{})
    		switch {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed May 03 21:12:25 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  3. internal/http/listener_test.go

    			if err != nil {
    				if strings.Contains(err.Error(), "The requested address is not valid in its context") {
    					// Ignore if IP is unbindable.
    					continue nextTest
    				}
    				if strings.Contains(err.Error(), "bind: address already in use") {
    					continue nextTest
    				}
    				t.Fatalf("Test %d: error: expected = <nil>, got = %v", i+1, err)
    			}
    		}
    
    		for _, serverAddr := range listener.Addrs() {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Jun 12 16:09:28 GMT 2023
    - 11.8K bytes
    - Viewed (0)
  4. internal/config/errors.go

    		"Please ensure no other program uses the same address/port",
    		"",
    	)
    
    	ErrPortAccess = newErrFn(
    		"Unable to use specified port",
    		"Please ensure MinIO binary has 'cap_net_bind_service=+ep' permissions",
    		`Use 'sudo setcap cap_net_bind_service=+ep /path/to/minio' to provide sufficient permissions`,
    	)
    
    	ErrTLSReadError = newErrFn(
    		"Cannot read the TLS certificate",
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 18 22:25:32 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  5. internal/kms/context.go

    package kms
    
    import (
    	"bytes"
    	"sort"
    	"unicode/utf8"
    )
    
    // Context is a set of key-value pairs that
    // are associated with a generate data encryption
    // key (DEK).
    //
    // A KMS implementation may bind the context to the
    // generated DEK such that the same context must be
    // provided when decrypting an encrypted DEK.
    type Context map[string]string
    
    // MarshalText returns a canonical text representation of
    // the Context.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 6K bytes
    - Viewed (0)
  6. cmd/server-main.go

    		Value:  ":" + GlobalMinioDefaultPort,
    		Usage:  "bind to a specific ADDRESS:PORT, ADDRESS can be an IP or hostname",
    		EnvVar: "MINIO_ADDRESS",
    	},
    	cli.IntFlag{
    		Name:   "listeners", // Deprecated Oct 2022
    		Value:  1,
    		Usage:  "bind N number of listeners per ADDRESS:PORT",
    		EnvVar: "MINIO_LISTENERS",
    		Hidden: true,
    	},
    	cli.StringFlag{
    		Name:   "console-address",
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 33K bytes
    - Viewed (1)
  7. cmd/sts-handlers.go

    		h.Write([]byte("openid:" + subFromToken + ":" + issFromToken))
    		bs := h.Sum(nil)
    		cred.ParentUser = base64.RawURLEncoding.EncodeToString(bs)
    	}
    
    	// Deny this assume role request if the policy that the user intends to bind
    	// has a sts:DurationSeconds condition, which is not satisfied as well
    	{
    		p := policyName
    		if p == "" {
    			var err error
    			_, p, err = globalIAMSys.GetRolePolicy(roleArnStr)
    			if err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 18:36:18 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  8. cni/pkg/repair/netns.go

    // under the procfs, /proc/<pid>/ns/net. In majority of cases, this is not used directly, but is rather bind mounted to
    // /var/run/netns/<name>. However, this pattern is not ubiquitous. Some platforms bind mount to other places. As we run
    // in a pod, we cannot just access any arbitrary file they happen to bind mount in, as we don't know ahead of time where
    // it might be.
    //
    // Instead, we rely directly on the procfs.
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Dec 20 22:14:13 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  9. istioctl/pkg/dashboard/dashboard.go

    		"Address to listen on. Only accepts IP address or localhost as a value. "+
    			"When localhost is supplied, istioctl will try to bind on both 127.0.0.1 and ::1 "+
    			"and will fail if neither of these address are available to bind.")
    	dashboardCmd.PersistentFlags().BoolVar(&browser, "browser", true,
    		"When --browser is supplied as false, istioctl dashboard will not open the browser. "+
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Apr 15 01:29:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  10. internal/config/identity/ldap/config.go

    	}
    	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"
    	UserDNSearchFilter = "user_dn_search_filter"
    	GroupSearchFilter  = "group_search_filter"
    	GroupSearchBaseDN  = "group_search_base_dn"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 7.9K bytes
    - Viewed (2)
Back to top