# LdapSearchAuthenticationModuleType (Complex Type)

### Namespace: http://midpoint.evolveum.com/xml/ns/public/common/common-3

Search configuration which uses an Ldap filter to locate the user

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
pattern | property string | [1,1] | The filter expression used in the user search.
namingAttr | property string | [0,1] | Specifying explicit LDAP attribute that is retrieved from user's LDAP account and contains value that matches midPoint's username.
subtree | property boolean | [0,1] | If true then searches the entire subtree as identified by context, if false (the default) then only searches the level identified by the context.

- ### Items

  - #### pattern

    Flags: RAM,runtime

    Multiplicity: [1,1]

    The filter expression used in the user search. This is an LDAP search filter (as defined in 'RFC 2254') with optional arguments. Example (uid={0})

  - #### namingAttr

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Specifying explicit LDAP attribute that is retrieved from user's LDAP account and contains value that matches midPoint's username.

  - #### subtree

    Flags: RAM,runtime

    Multiplicity: [0,1]

    If true then searches the entire subtree as identified by context, if false (the default) then only searches the level identified by the context.