Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetValidatedUserDN (0.09 sec)

  1. internal/config/identity/ldap/ldap.go

    	// under a configured base DN in the LDAP directory.
    	validDN, isUnderBaseDN, err := l.GetValidatedUserDN(conn, username)
    	if err == nil && !isUnderBaseDN {
    		// Not under any configured base DN, so treat as not found.
    		return nil, nil
    	}
    	return validDN, err
    }
    
    // GetValidatedUserDN validates the given user DN. Will error out if conn is nil. The returned
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 01:04:53 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  2. cmd/iam.go

    		}
    
    		hasDiff := false
    
    		// For the parent value, we require that the parent exists in the LDAP
    		// server and is under a configured base DN.
    		validatedParent, isUnderBaseDN, err := sys.LDAPConfig.GetValidatedUserDN(conn, parent)
    		if err != nil {
    			collectedErrors = append(collectedErrors, fmt.Errorf("could not validate parent exists in LDAP directory: %w", err))
    			continue
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
Back to top