Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for attach (0.17 sec)

  1. 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)
  2. 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)
  3. 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)
  4. cmd/typed-errors.go

    // error returned in IAM subsystem when groups doesn't exist.
    var errNoSuchGroup = errors.New("Specified group does not exist")
    
    // error returned in IAM subsystem when a policy attach/detach request has no
    // net effect, i.e. it is already applied.
    var errNoPolicyToAttachOrDetach = errors.New("Specified policy update has no net effect")
    
    // error returned in IAM subsystem when a non-empty group needs to be
    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)
  5. docs/site-replication/run-multi-site-minio-idp.sh

    if [ $? -ne 0 ]; then
    	echo "adding user failed, exiting.."
    	exit_1
    fi
    ./mc admin policy attach minio1 consoleAdmin --user=foobarx
    if [ $? -ne 0 ]; then
    	echo "adding policy mapping failed, exiting.."
    	exit_1
    fi
    sleep 10
    
    # unset policy for foobarx in minio2
    ./mc admin policy detach minio2 consoleAdmin --user=foobarx
    if [ $? -ne 0 ]; then
    	echo "unset policy mapping failed, exiting.."
    	exit_1
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 07 00:19:24 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  6. cmd/iam.go

    			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 {
    		if isAttach {
    			var foundGroupDN string
    			var underBaseDN bool
    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)
  7. cmd/object-api-utils.go

    			}
    		}
    		fn = func(inputReader io.Reader, h http.Header, cFns ...func()) (r *GetObjectReader, err error) {
    			if isEncrypted {
    				copySource := h.Get(xhttp.AmzServerSideEncryptionCopyCustomerAlgorithm) != ""
    				// Attach decrypter on inputReader
    				inputReader, err = DecryptBlocksRequestR(inputReader, h, seqNum, firstPart, oi, copySource)
    				if err != nil {
    					// Call the cleanup funcs
    					for i := len(cFns) - 1; i >= 0; i-- {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  8. docs/site-replication/run-multi-site-ldap.sh

    export MC_HOST_minio2=http://minio:minio123@localhost:9002
    export MC_HOST_minio3=http://minio:minio123@localhost:9003
    
    ./mc admin replicate add minio1 minio2 minio3
    
    ./mc idp ldap policy attach minio1 consoleAdmin --user="uid=dillon,ou=people,ou=swengg,dc=min,dc=io"
    sleep 5
    
    ./mc admin user info minio2 "uid=dillon,ou=people,ou=swengg,dc=min,dc=io"
    ./mc admin user info minio3 "uid=dillon,ou=people,ou=swengg,dc=min,dc=io"
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Feb 14 04:51:23 GMT 2024
    - 10K bytes
    - Viewed (1)
  9. cmd/api-errors.go

    		HTTPStatusCode: http.StatusNotFound,
    	},
    	ErrPolicyAlreadyAttached: {
    		Code:           "XMinioPolicyAlreadyAttached",
    		Description:    "The specified policy is already attached.",
    		HTTPStatusCode: http.StatusConflict,
    	},
    	ErrPolicyNotAttached: {
    		Code:           "XMinioPolicyNotAttached",
    		Description:    "The specified policy is not found.",
    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)
  10. cmd/signature-v4-utils_test.go

    	}
    
    	if owner {
    		t.Fatalf("Expected owner to be 'false', found %t", owner)
    	}
    
    	_, err = globalIAMSys.PolicyDBSet(ctx, ucreds.AccessKey, "consoleAdmin", regUser, false)
    	if err != nil {
    		t.Fatalf("unable to attach policy to credential, %s", err)
    	}
    
    	time.Sleep(4 * time.Second)
    
    	policies, err := globalIAMSys.PolicyDBGet(ucreds.AccessKey)
    	if err != nil {
    		t.Fatalf("unable to get policy to credential, %s", err)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 14.3K bytes
    - Viewed (0)
Back to top