|
|
set | ldap_profile profile user |
ldap_profile profile user
Use these commands to configure user query options for the FortiMail unit to query the LDAP server.
Syntax
set ldap_profile profile <name_str> user basedn <basedn_str> set ldap_profile profile <name_str> user binddn <binddn_str> set ldap_profile profile <name_str> user bindpw <bindpw_str> set ldap_profile profile <name_str> user query <query_str>
set ldap_profile profile <name_str> user schema {activedirectory dominoperson inetlocalmailrcpt inetorgperson userdefined}
set ldap_profile profile <name_str> user scope {one sub}
Keywords and Variables | Description | Default |
|
|
|
<name_str> | Enter the name of the LDAP profile. |
|
basedn <basedn_str> | Enter the distinguished name (DN) that will be the | no default |
| default point from which LDAP directory lookups will |
|
| occur. |
|
|
|
|
binddn <binddn_str> | Enter the bind DN of an account with the rights to | no default |
| complete the required LDAP queries. |
|
bindpw <bindpw_str> | Enter the bind password. | no default |
deref {never always | Specify how alias dereferencing is done. The values | never |
search find} | are Never, Always, Search, or Find to specify that |
|
aliases are never dereferenced, always dereferenced, |
| |
| dereferenced when searching, or dereferenced only |
|
| when finding the base object for the search. |
|
|
|
|
query <query_str> | Set the query to be used for finding a user in the LDAP | (& (objectClass |
| directory. | =inetOrgPerson) |
|
| (mail=$m)) |
schema | Set the predefined directory schema depending on | inetorgperson |
{activedirectory | your LDAP server type. |
|
dominoperson | • {userdefined} uses the schema set with the user |
|
inetlocalmailrcpt | query command. |
|
|
| |
inetorgperson |
|
|
userdefined} |
|
|
scope {one sub} | Set the search scope. This setting determines the | sub |
| depth of search. |
|
| • {one} is a single level. |
|
| • {sub} is the subtree. |
|
History
FortiMail v3.0 | New. |
Related topics
•set ldap_profile profile auth
•set ldap_profile profile group
•set ldap_profile profile option
•set ldap_profile profile pwd
•set ldap_profile profile routing
•set ldap_profile profile server
FortiMail™ Secure Messaging Platform Version 3.0 MR4 CLI Reference |
|
199 |