- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for Mapping (0.25 sec)
-
cmd/iam.go
return true }) } return entityKeysInStorage } // NormalizeLDAPMappingImport - validates the LDAP policy mappings. Keys in the // given map may not correspond to LDAP DNs - these keys are ignored. // // For validated mappings, it updates the key in the given map to be in // normalized form. func (sys *IAMSys) NormalizeLDAPMappingImport(ctx context.Context, isGroup 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) -
cmd/sts-handlers_test.go
"description": "" } } `, // Built-in user-to-policies mapping should be imported without errors // even if LDAP is enabled. userPolicyMappingsFile: `{ "foo": { "version": 0, "policy": "readwrite", "updatedAt": "2024-04-23T21:34:43.815519816Z" } } `, // Contains: // // 1. duplicate mapping with same policy, we should not error out; //
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) -
cmd/iam-store.go
if ok { if !u.Credentials.IsValid() { return nil, time.Time{}, nil } } // For internal IDP regular/service account user accounts, the policy // mapping is iamUserPolicyMap. For STS accounts, the parent user would be // passed here and we lookup the mapping in iamSTSPolicyMap. mp, ok := c.iamUserPolicyMap.Load(name) if !ok {
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) -
cmd/site-replication.go
mp, ok := globalIAMSys.store.GetMappedPolicy(mapping.Policy, mapping.IsGroup) if ok && mp.UpdatedAt.After(updatedAt) { return nil } } // When LDAP is enabled, we verify that the user or group exists in LDAP and // use the normalized form of the entityName (which will be an LDAP DN). userType := IAMUserType(mapping.UserType) isGroup := mapping.IsGroup entityName := mapping.UserOrGroup
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) -
buildscripts/minio-iam-ldap-upgrade-import-test.sh
sleep 5 set -x mc alias set new-minio http://localhost:9000 minioadmin minioadmin echo "BEFORE IMPORT mappings:" mc idp ldap policy entities new-minio mc admin cluster iam import new-minio ./old-minio-iam-info.zip echo "AFTER IMPORT mappings:" mc idp ldap policy entities new-minio set +x # mc admin service stop new-minio } verify_iam_content_in_new_minio() {
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) -
cmd/sts-handlers.go
} // We map the X.509 subject common name to the policy. So, a client // with the common name "foo" will be associated with the policy "foo". // Other mapping functions - e.g. public-key hash based mapping - are // possible but not implemented. // // Group mapping is not possible with standard X.509 certificates. if certificate.Subject.CommonName == "" {
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) -
cmd/admin-handlers-idp-ldap.go
// // user=... -> repeatable query parameter, specifying users to query for // policy mapping // // group=... -> repeatable query parameter, specifying groups to query for // policy mapping // // policy=... -> repeatable query parameter, specifying policy to query for // user/group mapping // // When all query parameters are omitted, returns mappings for all policies.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 25 15:50:16 GMT 2024 - 13.3K bytes - Viewed (0) -
cmd/sftp-server-driver.go
cred.Groups = targetGroups // Set the newly generated credentials, policyName is empty on purpose // LDAP policies are applied automatically using their ldapUser, ldapGroups // mapping. updatedAt, err := globalIAMSys.SetTempUser(context.Background(), cred.AccessKey, cred, "") if err != nil { return nil, err } // Call hook for site replication.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 19 12:23:42 GMT 2024 - 12.9K bytes - Viewed (0) -
cmd/ftp-server-driver.go
cred.Groups = targetGroups // Set the newly generated credentials, policyName is empty on purpose // LDAP policies are applied automatically using their ldapUser, ldapGroups // mapping. updatedAt, err := globalIAMSys.SetTempUser(context.Background(), cred.AccessKey, cred, "") if err != nil { return nil, err } // Call hook for site replication.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 19 12:23:42 GMT 2024 - 13.6K bytes - Viewed (0) -
cmd/admin-handlers-users.go
allUsersFile = "users.json" allGroupsFile = "groups.json" allSvcAcctsFile = "svcaccts.json" userPolicyMappingsFile = "user_mappings.json" groupPolicyMappingsFile = "group_mappings.json" stsUserPolicyMappingsFile = "stsuser_mappings.json" iamAssetsDir = "iam-assets" ) var iamExportFiles = []string{ allPoliciesFile, allUsersFile, allGroupsFile,
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 12:41:13 GMT 2024 - 77.5K bytes - Viewed (0)