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
Copy file name to clipboardExpand all lines: README.rst
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,6 +70,12 @@ To configure LDAP, create a yaml file with a dictionary containing another dicti
70
70
``timeout``
71
71
The timeout for connections to the LDAP server. Defaults to 10 seconds.
72
72
73
+
``login_template``
74
+
Template to insert the result from ``user_search`` into before attempting login
75
+
76
+
``group_required``
77
+
Require the group search to be successful for authentication
78
+
73
79
The ``user_search`` and ``group_search`` settings are dictionaries with the following options:
74
80
75
81
``base``
@@ -90,7 +96,7 @@ The ``user_search`` and ``group_search`` settings are dictionaries with the foll
90
96
password. ``devpi-ldap`` will extract this attribute from the search results and attempt to
91
97
bind to the LDAP server using this DN and the password supplied by the user. If this bind
92
98
succeeds, access is granted.
93
-
99
+
94
100
``userdn``
95
101
The distinguished name of the user which should be used for the search operation.
96
102
For ``user_search``, if you don't have anonymous user search or for ``group_search`` if the users can't search their own groups, then you need to set this to a user which has the necessary rights.
0 commit comments