You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| Method | The method used to authenticate users. Managed authentication uses the UCP built-in authentication mechanism. LDAP uses an LDAP service to authenticate users. |
26
-
| Default permission for newly discovered accounts | The permission level assigned by default to a new user. Learn more about default permission levels. |
26
+
| Method | The method used to create and authenticate users. The *LDAP* method uses a remote directory server to automatically create users and all logins will be forwarded to the directory server. |
27
+
| Default permission for newly discovered accounts | The permission level assigned by default to a new user. [Learn more about default permission levels](../../manage-users/permission-levels.md).|
| LDAP server URL | The URL where the LDAP server can be reached. |
33
34
| Recovery admin username | The username for a recovery user that can access UCP even when the integration with LDAP is misconfigured or the LDAP server is offline. |
34
-
| Recovery admin password | The password for the recovery user. |
35
+
| Recovery admin password | The password for the recovery user which is securely salted and hashed and stored in UCP. The recovery admin user can use this password to login if the LDAP server is misconfigured or offline.|
35
36
| Reader DN | The distinguished name of the LDAP account used for searching entries in the LDAP server. As a best practice this should be an LDAP read-only user. |
36
37
| Reader password | The password of the account used for searching entries in the LDAP server. |
| Skip verification of server certificate | Whether to verify or not the LDAP server certificate when using TLS. The connection is still encrypted, but vulnerable to man-in-the-middle attacks. |
43
-
| Use StartTLS | Whether to connect to the LDAP server using TLS or not. If you set the LDAP Server URL field with `ldaps://`, this field is ignored.|
| Skip verification of server certificate | Whether to verify the LDAP server certificate when using TLS. The connection is still encrypted, but vulnerable to man-in-the-middle attacks. |
44
+
| Use StartTLS | Whether to authenticate/encrypt the connection after connecting to the LDAP server over TCP. If you set the LDAP Server URL field with `ldaps://`, this field is ignored. |
| Base DN | The distinguished name on the LDAP tree where the search should start looking for users. |
50
-
| Username attribute | The LDAP attribute to use as username on UCP. |
51
-
| Full name attribute | The LDAP attribute to use as user name on UCP. |
52
-
| Filter | The LDAP search filter used to find LDAP users. If you leave this field empty, all LDAP entries on the Base DN, are imported as users. |
53
-
| Search scope | Whether to perform the LDAP search on a single level of the LDAP tree, or search through the full LDAP tree starting at the Base DN. |
| Base DN | The distinguished name of the node in the directory tree where the search should start looking for users. |
51
+
| Username attribute | The LDAP attribute to use as username on UCP. Only user entries with a valid username will be created. A valid username is no longer than 100 characters and does not contain any unprintable characters, whitespace characters, or any of the following characters: `/``\``[``]``:``;` `|``=``,``+``*``?``<``>``'``"`. |
52
+
| Full name attribute | The LDAP attribute to use as the user's full name for display purposes. If left empty, UCP will not create new users with a full name value. |
53
+
| Filter | The LDAP search filter used to find users. If you leave this field empty, all directory entries in the search scope with valid username attributes are created as users. |
54
+
| Search scope | Whether to perform the LDAP search on a single level of the LDAP tree, or search through the full LDAP tree starting at the Base DN. |
55
+
| Match group members | Whether to further filter users by selecting those who are also members of a specific group on the directory server. This feature is helpful if the LDAP server does not support `memberOf` search filters. |
56
+
| Iterate through group members | If `Match Group Members` is selected, this option searches for users by first iterating over the target group's membership and makes a separate LDAP query for each member, as opposed to first querying for all users which match the above search query and intersecting those with the set of group members. This option can be more efficient in situations where the number of members of the target group is significantly smaller than the number of users which would match the above search filter or if your directory server does not support simple pagination of search results. |
57
+
| Group DN | If `Match Group Members` is selected, this specifies the distinguished name of the group from which to select users. |
58
+
| Group member attribute | If `Match Group Members` is selected, the value of this group attribute corresponds to the distinguished names of the members of the group. |
| No simple pagination | If your LDAP server doesn't support pagination. |
60
73
| Enable sync of admin users | Whether to import LDAP users as UCP administrators. |
74
+
| LDAP Match Method | If admin user sync is enabled, this option specifies whether to match admin user entries using a search query or by selecting them as members from a group. For the expanded options, refer to the options described below. |
75
+
76
+
77
+
**Match LDAP Group Members**
78
+
79
+
This option specifies that system admins should be synced directly with members
80
+
of a group in your organization's LDAP directory. The admins will be synced to
81
+
match the membership of the group. The configured recovery admin user will also
| Base DN | The distinguished name of the node in the directory tree where the search should start looking for users. |
99
+
| Search scope | Whether to perform the LDAP search on a single level of the LDAP tree, or search through the full LDAP tree starting at the Base DN. |
100
+
| Search Filter | The LDAP search filter used to find users. If you leave this field empty, all existing users in the search scope will be added as members of the team. |
101
+
61
102
62
103
**Sync configuration**
63
104
@@ -67,10 +108,10 @@ Then configure your LDAP integration.
|Username | The username with which the user will login to this application. This value should correspond to the Username Attribute specified in the form above. |
114
+
|Password | The user's password used to authenticate (BIND) to the directory server.|
74
115
75
116
Before you save the configuration changes, you should test that the integration
76
117
is correctly configured. You can do this by providing the credentials of an
@@ -79,15 +120,30 @@ LDAP user, and clicking the **Test** button.
79
120
## Synchronize users
80
121
81
122
Once you've configure the LDAP integration, UCP synchronizes users based on the
82
-
interval you've defined. When the synchronization runs, UCP stores logs that
83
-
can help you troubleshoot when something goes wrong.
84
-
123
+
interval you've defined starting at the top of the hour. When the
124
+
synchronization runs, UCP stores logs that can help you troubleshoot when
125
+
something goes wrong.
85
126
86
127
You can also manually synchronize users by clicking the **Sync Now** button.
87
128
88
129
## Revoke user access
89
130
90
131
When a user is removed from LDAP, that user becomes inactive after the LDAP
91
132
synchronization runs.
133
+
92
134
Also, when you switch from the built-in authentication to using LDAP
93
-
authentication, all manually created users become inactive.
135
+
authentication, all manually created users whose usernames do not match any
136
+
LDAP search results become inactive with the exception of the recovery admin
137
+
user which can still login with the recovery admin password.
138
+
139
+
## Data synced from your organization's LDAP directory
140
+
141
+
UCP saves a minimum amount of user data required to operate. This includes
142
+
the value of the username and full name attributes that you have specified in
143
+
the configuration as well as the distinguished name of each synced user.
144
+
UCP does not query, or store any additional data from the directory server.
145
+
146
+
## Syncing Teams
147
+
148
+
For syncing teams in UCP with a search query or group in your organization's
149
+
LDAP directory, refer to [the documentation on creating and managing teams](../../manage-users/create-and-manage-teams.md).
| Base DN | The distinguished name of the node in the directory tree where the search should start looking for users. |
64
+
| Search scope | Whether to perform the LDAP search on a single level of the LDAP tree, or search through the full LDAP tree starting at the Base DN. |
65
+
| Search Filter | The LDAP search filter used to find users. If you leave this field empty, all existing users in the search scope will be added as members of the team. |
66
+
67
+
**Immediately Sync Team Members**
68
+
69
+
Select this option to immediately run an LDAP sync operation after saving the
70
+
configuration for the team. It may take a moment before the members of the team
0 commit comments