Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for oldMap (0.18 sec)

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

    )
    
    // Config contains AD/LDAP server connectivity information.
    type Config struct {
    	LDAP ldap.Config
    
    	stsExpiryDuration time.Duration // contains converted value
    }
    
    // Enabled returns if LDAP is enabled.
    func (l *Config) Enabled() bool {
    	return l.LDAP.Enabled
    }
    
    // Clone returns a cloned copy of LDAP config.
    func (l *Config) Clone() Config {
    	if l == nil {
    		return Config{}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 7.9K bytes
    - Viewed (2)
  2. cmd/typed-errors.go

    var errNoSuchUser = errors.New("Specified user does not exist")
    
    // error returned by IAM when a use a builtin IDP command when they could mean
    // to use a LDAP command.
    var errNoSuchUserLDAPWarn = errors.New("Specified user does not exist. If you meant a user in LDAP please use command under `mc idp ldap`")
    
    // error returned when service account is not found
    var errNoSuchServiceAccount = errors.New("Specified service account does not exist")
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  3. cmd/admin-router.go

    		// LDAP specific service accounts ops
    		adminRouter.Methods(http.MethodPut).Path(adminVersion + "/idp/ldap/add-service-account").HandlerFunc(adminMiddleware(adminAPI.AddServiceAccountLDAP))
    		adminRouter.Methods(http.MethodGet).Path(adminVersion+"/idp/ldap/list-access-keys").
    			HandlerFunc(adminMiddleware(adminAPI.ListAccessKeysLDAP)).
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  4. cmd/bucket-policy.go

    		}
    	}
    
    	// JWT specific values
    	//
    	// Add all string claims
    	for k, v := range claims {
    		vStr, ok := v.(string)
    		if ok {
    			// Trim any LDAP specific prefix
    			args[strings.ToLower(strings.TrimPrefix(k, "ldap"))] = []string{vStr}
    		}
    	}
    
    	// Add groups claim which could be a list. This will ensure that the claim
    	// `jwt:groups` works.
    	if grpsVal, ok := claims["groups"]; ok {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8K bytes
    - Viewed (0)
  5. cmd/site-replication.go

    	s := madmin.IDPSettings{}
    	s.LDAP = madmin.LDAPSettings{
    		IsLDAPEnabled:          globalIAMSys.LDAPConfig.Enabled(),
    		LDAPUserDNSearchBase:   globalIAMSys.LDAPConfig.LDAP.UserDNSearchBaseDistName,
    		LDAPUserDNSearchFilter: globalIAMSys.LDAPConfig.LDAP.UserDNSearchFilter,
    		LDAPGroupSearchBase:    globalIAMSys.LDAPConfig.LDAP.GroupSearchBaseDistName,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  6. cmd/http-tracer.go

    	xhttp "github.com/minio/minio/internal/http"
    	"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
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  7. cmd/config-current.go

    	"github.com/minio/minio/internal/config/dns"
    	"github.com/minio/minio/internal/config/drive"
    	"github.com/minio/minio/internal/config/etcd"
    	"github.com/minio/minio/internal/config/heal"
    	xldap "github.com/minio/minio/internal/config/identity/ldap"
    	"github.com/minio/minio/internal/config/identity/openid"
    	idplugin "github.com/minio/minio/internal/config/identity/plugin"
    	xtls "github.com/minio/minio/internal/config/identity/tls"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  8. cmd/admin-handlers-config-kv.go

    	"encoding/json"
    	"io"
    	"net/http"
    	"strconv"
    	"strings"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/minio/internal/config/etcd"
    	xldap "github.com/minio/minio/internal/config/identity/ldap"
    	"github.com/minio/minio/internal/config/identity/openid"
    	idplugin "github.com/minio/minio/internal/config/identity/plugin"
    	polplugin "github.com/minio/minio/internal/config/policy/plugin"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.7K bytes
    - Viewed (0)
  9. internal/config/identity/ldap/help.go

    package ldap
    
    import "github.com/minio/minio/internal/config"
    
    // Help template for LDAP identity feature.
    var (
    	defaultHelpPostfix = func(key string) string {
    		return config.DefaultHelpPostfix(DefaultKVS, key)
    	}
    
    	Help = config.HelpKVS{
    		config.HelpKV{
    			Key:         ServerAddr,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Jun 23 14:45:27 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  10. cmd/iam.go

    	// 1. Collect all LDAP users with active creds.
    	allCreds := sys.store.GetSTSAndServiceAccounts()
    	// List of unique LDAP (parent) user DNs that have active creds
    	var parentUsers []string
    	// Map of LDAP user to list of active credential objects
    	parentUserToCredsMap := make(map[string][]auth.Credentials)
    	// DN to ldap username mapping for each LDAP user
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
Back to top