Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for UserIn (0.17 sec)

  1. cmd/sts-handlers_test.go

    	}
    
    	// Attempting to set a non-existent policy should fail.
    	userDN := "uid=dillon,ou=people,ou=swengg,dc=min,dc=io"
    	err = s.adm.SetPolicy(ctx, policy+"x", userDN, false)
    	if err == nil {
    		c.Fatalf("should not be able to set non-existent policy")
    	}
    
    	err = s.adm.SetPolicy(ctx, policy, userDN, false)
    	if err != nil {
    		c.Fatalf("Unable to set policy: %v", 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)
  2. cmd/admin-router.go

    		adminRouter.Methods(http.MethodGet).Path(adminVersion+"/idp/ldap/list-access-keys").
    			HandlerFunc(adminMiddleware(adminAPI.ListAccessKeysLDAP)).
    			Queries("userDN", "{userDN:.*}", "listType", "{listType:.*}")
    
    		// LDAP IAM operations
    		adminRouter.Methods(http.MethodGet).Path(adminVersion + "/idp/ldap/policy-entities").HandlerFunc(adminMiddleware(adminAPI.ListLDAPPolicyMappingEntities))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  3. internal/config/identity/ldap/ldap.go

    // boolean is true iff the user DN is found under one of the LDAP user base DNs.
    func (l *Config) GetValidatedUserDN(conn *ldap.Conn, userDN string) (string, bool, error) {
    	return l.GetValidatedDNUnderBaseDN(conn, userDN, l.LDAP.UserDNSearchBaseDistNames)
    }
    
    // GetValidatedGroupDN validates the given group DN. If conn is nil, creates a
    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)
  4. cmd/admin-handlers-idp-ldap.go

    	if s3Err != ErrNone {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(s3Err), r.URL)
    		return
    	}
    
    	userDN := r.Form.Get("userDN")
    
    	// If listing is requested for a specific user (who is not the request
    	// sender), check that the user has permissions.
    	if userDN != "" && userDN != cred.ParentUser {
    		if !globalIAMSys.IsAllowed(policy.Args{
    			AccountName:     cred.AccessKey,
    			Groups:          cred.Groups,
    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)
Back to top