Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for Connect (0.16 sec)

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

    )
    
    // LookupUserDN searches for the full DN and groups of a given short/login
    // username.
    func (l *Config) LookupUserDN(username string) (string, []string, error) {
    	conn, err := l.LDAP.Connect()
    	if err != nil {
    		return "", nil, err
    	}
    	defer conn.Close()
    
    	// Bind to the lookup user account
    	if err = l.LDAP.LookupBind(conn); err != nil {
    		return "", nil, err
    	}
    
    	// Lookup user DN
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  2. cmd/api-errors.go

    	},
    	ErrAdminConfigNotificationTargetsFailed: {
    		Code:           "XMinioAdminNotificationTargetsTestFailed",
    		Description:    "Configuration update failed due an unsuccessful attempt to connect to one or more notification servers",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrAdminProfilerNotEnabled: {
    		Code:           "XMinioAdminProfilerNotEnabled",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  3. cmd/erasure-sets.go

    }
    
    // Legacy returns 'true' if distribution algo is CRCMOD
    func (s *erasureSets) Legacy() (ok bool) {
    	return s.distributionAlgo == formatErasureVersionV2DistributionAlgoV1
    }
    
    // connectDisks - attempt to connect all the endpoints, loads format
    // and re-arranges the disks in proper position.
    func (s *erasureSets) connectDisks() {
    	defer func() {
    		s.lastConnectDisksOpTime = time.Now()
    	}()
    
    	var wg sync.WaitGroup
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 37.7K bytes
    - Viewed (5)
  4. cmd/sts-handlers.go

    		return
    	}
    	cred, err := auth.GetNewCredentialsWithMetadata(claims, secret)
    	if err != nil {
    		writeSTSErrorResponse(ctx, w, ErrSTSInternalError, err)
    		return
    	}
    
    	// https://openid.net/specs/openid-connect-core-1_0.html#ClaimStability
    	// claim is only considered stable when subject and iss are used together
    	// this is to ensure that ParentUser doesn't change and we get to use
    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)
  5. cni/pkg/nodeagent/ztunnelserver.go

    	or when the ztunnel pod is restarted in the same pod (remove old entries when the same uid connects again, but with different boot id?)
    
    	save a queue of what needs to be sent to the ztunnel pod and send it one by one when it connects.
    
    	when a new ztunnel connects with different uid, only propagate deletes to older ztunnels.
    */
    
    type connMgr struct {
    	connectionSet map[*ZtunnelConnection]struct{}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  6. cni/pkg/config/config.go

    	LogUDSAddress string
    
    	// The watch server socket address that CNI plugin will forward CNI events to.
    	CNIEventAddress string
    
    	// The ztunnel server socket address that the ztunnel will connect to.
    	ZtunnelUDSAddress string
    
    	// Whether ambient is enabled
    	AmbientEnabled bool
    
    	// Whether ambient DNS capture is enabled
    	AmbientDNSCapture bool
    
    	// Whether ipv6 is enabled for ambient capture
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  7. cmd/admin-handlers-site-replication.go

    // [POST] /minio/admin/v3/site-replication/devnull
    func (a adminAPIHandlers) SiteReplicationDevNull(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	globalSiteNetPerfRX.Connect()
    	defer globalSiteNetPerfRX.Disconnect()
    
    	connectTime := time.Now()
    	for {
    		n, err := io.CopyN(xioutil.Discard, r.Body, 128*humanize.KiByte)
    		atomic.AddUint64(&globalSiteNetPerfRX.RX, uint64(n))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 09:40:39 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  8. internal/config/identity/plugin/config.go

    func (o *AuthNPlugin) GetRoleInfo() map[arn.ARN]string {
    	return map[arn.ARN]string{
    		o.args.RoleARN: o.args.RolePolicy,
    	}
    }
    
    // checkConnectivity returns true if we are able to connect to the plugin
    // service.
    func (o *AuthNPlugin) checkConnectivity(ctx context.Context) bool {
    	ctx, cancel := context.WithTimeout(ctx, healthCheckTimeout)
    	defer cancel()
    	u := url.URL(*o.args.URL)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.3K bytes
    - Viewed (3)
  9. cmd/utils.go

    	}
    
    	// Configure an OpenID Connect aware OAuth2 client.
    	oauth2Config := oauth2.Config{
    		ClientID:     pro.ClientID,
    		ClientSecret: pro.ClientSecret,
    		RedirectURL:  pro.RedirectURL,
    
    		// Discovery returns the OAuth2 endpoints.
    		Endpoint: provider.Endpoint(),
    
    		// "openid" is a required scope for OpenID Connect flows.
    		Scopes: []string{oidc.ScopeOpenID, "groups"},
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  10. cmd/admin-handlers.go

    }
    
    func getServerInfo(ctx context.Context, pools, metrics bool, r *http.Request) madmin.InfoMessage {
    	ldap := madmin.LDAP{}
    	if globalIAMSys.LDAPConfig.Enabled() {
    		ldapConn, err := globalIAMSys.LDAPConfig.LDAP.Connect()
    		//nolint:gocritic
    		if err != nil {
    			ldap.Status = string(madmin.ItemOffline)
    		} else if ldapConn == nil {
    			ldap.Status = "Not Configured"
    		} else {
    			// Close ldap connection to avoid leaks.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
Back to top