- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for errNoSuchUser (0.18 sec)
-
cmd/admin-handlers-users.go
} // Reject if the group add and remove are temporary credentials, or root credential. for _, member := range updReq.Members { ok, _, err := globalIAMSys.IsTempUser(member) if err != nil && err != errNoSuchUser { writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL) return } if ok { writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, errIAMActionNotAllowed), r.URL) return }
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) -
cmd/sftp-server.go
Extensions: make(map[string]string), }, nil } return nil, errAuthentication } ui, ok := globalIAMSys.GetUser(context.Background(), c.User()) if !ok { return nil, errNoSuchUser } if subtle.ConstantTimeCompare([]byte(ui.Credentials.SecretKey), pass) == 1 { return &ssh.Permissions{ CriticalOptions: map[string]string{ "accessKey": c.User(), },
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 11:07:40 GMT 2024 - 10.4K bytes - Viewed (0) -
cmd/api-errors.go
// Unwrap the error first err = unwrapAll(err) switch err { case errInvalidArgument: apiErr = ErrAdminInvalidArgument case errNoSuchPolicy: apiErr = ErrAdminNoSuchPolicy case errNoSuchUser: apiErr = ErrAdminNoSuchUser case errNoSuchUserLDAPWarn: apiErr = ErrAdminNoSuchUserLDAPWarn case errNoSuchServiceAccount: apiErr = ErrAdminServiceAccountNotFound case errNoSuchGroup:
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) -
cmd/site-replication.go
} else { var foundUserDN string if foundUserDN, err = globalIAMSys.LDAPConfig.GetValidatedDNForUsername(entityName); err != nil { iamLogIf(ctx, err) } else if foundUserDN == "" { err = errNoSuchUser } entityName = foundUserDN } if err != nil { return wrapSRErr(err) } } _, err := globalIAMSys.PolicyDBSet(ctx, entityName, mapping.Policy, userType, isGroup)
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)