Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for bindIf (0.18 sec)

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

    	}
    
    	// Lookup user DN
    	bindDN, err = l.LDAP.LookupUserDN(conn, username)
    	if err != nil {
    		errRet := fmt.Errorf("Unable to find user DN: %w", err)
    		return "", nil, errRet
    	}
    
    	// Authenticate the user credentials.
    	err = conn.Bind(bindDN, password)
    	if err != nil {
    		errRet := fmt.Errorf("LDAP auth failed for DN %s: %w", bindDN, err)
    		return "", nil, errRet
    	}
    
    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/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)
  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/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)
  5. 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)
  6. cmd/ftp-server-driver.go

    		if err != nil && !errors.Is(err, errNoSuchServiceAccount) {
    			return false, err
    		}
    		if errors.Is(err, errNoSuchServiceAccount) {
    			ldapUserDN, groupDistNames, err := globalIAMSys.LDAPConfig.Bind(username, password)
    			if err != nil {
    				return false, err
    			}
    			ldapPolicies, _ := globalIAMSys.PolicyDBGet(ldapUserDN, groupDistNames...)
    			return len(ldapPolicies) > 0, nil
    		}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 12:23:42 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  7. cni/pkg/install/install.go

    	// we shouldn't fire events for binaries that are not ours.
    	var binPaths []string
    	for _, bindir := range in.cfg.CNIBinTargetDirs {
    		for _, binary := range installedBinFiles.UnsortedList() {
    			binPaths = append(binPaths, filepath.Join(bindir, binary))
    		}
    	}
    	targets := append(
    		binPaths,
    		in.cfg.MountedCNINetDir,
    		constants.ServiceAccountPath,
    	)
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 18:52:24 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  8. 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)
  9. 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 Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Dec 20 22:14:13 GMT 2023
    - 4.8K 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