Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for detach (0.23 sec)

  1. cmd/iam.go

    	var isGroup bool
    	if r.User != "" {
    		dn, err = sys.LDAPConfig.GetValidatedDNForUsername(r.User)
    		if err != nil {
    			iamLogIf(ctx, err)
    			return
    		}
    		if dn == "" {
    			// Still attempt to detach if provided user is a DN.
    			if !isAttach && sys.LDAPConfig.IsLDAPUserDN(r.User) {
    				dn = r.User
    			} else {
    				err = errNoSuchUser
    				return
    			}
    		}
    		isGroup = false
    	} else {
    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)
  2. cmd/iam-store.go

    		return nil
    	}
    
    	gi := cache.iamGroupsMap[group]
    
    	// Updating the group memberships cache happens in two steps:
    	//
    	// 1. Remove the group from each user's list of memberships.
    	// 2. Add the group to each member's list of memberships.
    	//
    	// This ensures that regardless of members being added or
    	// removed, the cache stays current.
    	cache.removeGroupFromMembershipsMap(group)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  3. docs/sts/ldap.md

    ```sh
    mc idp ldap policy attach myminio mypolicy --user='uid=james,cn=accounts,dc=myldapserver,dc=com'
    ```
    
    ```sh
    mc idp ldap policy attach myminio mypolicy ----group='cn=projectx,ou=groups,ou=hwengg,dc=min,dc=io'
    ```
    
    To remove a policy association, use the similar `detach` command:
    
    ```sh
    mc idp ldap policy detach myminio mypolicy --user='uid=james,cn=accounts,dc=myldapserver,dc=com'
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 18.4K bytes
    - Viewed (1)
  4. buildscripts/minio-iam-ldap-upgrade-import-test.sh

    		group_search_base_dn=ou=swengg,dc=min,dc=io \
    		group_search_filter="(&(objectclass=groupOfNames)(member=%d))"
    	mc admin service restart old-minio
    
    	mc idp ldap policy attach old-minio readwrite --user=UID=dillon,ou=people,ou=swengg,dc=min,dc=io
    	mc idp ldap policy attach old-minio readwrite --group=CN=project.c,ou=groups,ou=swengg,dc=min,dc=io
    
    	mc idp ldap policy entities old-minio
    
    	mc admin cluster iam export old-minio
    	set +x
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:49:53 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  5. cmd/untar.go

    	gzip "github.com/klauspost/pgzip"
    	"github.com/pierrec/lz4"
    )
    
    // Max bzip2 concurrency across calls. 50% of GOMAXPROCS.
    var bz2Limiter = pbzip2.CreateConcurrencyPool((runtime.GOMAXPROCS(0) + 1) / 2)
    
    func detect(r *bufio.Reader) format {
    	z, err := r.Peek(4)
    	if err != nil {
    		return formatUnknown
    	}
    	for _, f := range magicHeaders {
    		if bytes.Equal(f.header, z[:len(f.header)]) {
    			return f.f
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6K bytes
    - Viewed (0)
  6. update-credits.sh

          defend, and hold each Contributor harmless for any liability
          incurred by, or claims asserted against, such Contributor by reason
          of your accepting any such warranty or additional liability.
    
       END OF TERMS AND CONDITIONS
    
       APPENDIX: How to apply the Apache License to your work.
    
          To apply the Apache License to your work, attach the following
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Aug 11 05:08:38 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  7. cmd/sts-handlers_test.go

    		})
    		if err != nil {
    			c.Fatalf("export %d: Unable to attach policy: %v", caseNum, err)
    		}
    	}
    
    	for groupDN, policies := range content.ldapGroupPolicyMappings {
    		_, err := s.adm.AttachPolicyLDAP(ctx, madmin.PolicyAssociationReq{
    			Policies: policies,
    			Group:    groupDN,
    		})
    		if err != nil {
    			c.Fatalf("export %d: Unable to attach group policy: %v", caseNum, err)
    		}
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  8. helm/minio/values.yaml

      # Command to run after the main command on exit
      exitCommand: ""
    
    ## List of command to run after minio install
    ## NOTE: the mc command TARGET is always "myminio"
    customCommands:
      # - command: "admin policy attach myminio consoleAdmin --group='cn=ops,cn=groups,dc=example,dc=com'"
    
    ## Additional Annotations for the Kubernetes Job customCommandJob
    customCommandJob:
      securityContext:
        enabled: false
        runAsUser: 1000
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 10:14:37 GMT 2024
    - 18.4K bytes
    - Viewed (0)
  9. internal/s3select/message.go

    	return payloadLength
    }
    
    // continuationMessage - S3 periodically sends this message to keep the TCP connection open.
    // These messages appear in responses at random. The client must detect the message type and process accordingly.
    //
    // Header specification:
    // Continuation messages contain two headers, as follows:
    // https://docs.aws.amazon.com/AmazonS3/latest/API/images/s3select-frame-diagram-cont.png
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 30 15:26:43 GMT 2022
    - 15.2K bytes
    - Viewed (0)
  10. internal/s3select/select.go

    	return start, end - start + 1, nil
    }
    
    // S3Select - filters the contents on a simple structured query language (SQL) statement. It
    // represents elements inside <SelectRequest/> in request XML specified in detail at
    // https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectSELECTContent.html.
    type S3Select struct {
    	XMLName        xml.Name            `xml:"SelectRequest"`
    	Expression     string              `xml:"Expression"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 06 22:26:08 GMT 2023
    - 21K bytes
    - Viewed (0)
Back to top