comparison docs/setup.rst @ 1292:c0335c1dee36 beta

added some fixes to LDAP form re-submition, new simples ldap-settings getter. Updated docs for new ldap fixes. Removed depracated settings model, in exchange for db model classmethods.
author Marcin Kuzminski <marcin@python-works.com>
date Wed, 27 Apr 2011 01:19:17 +0200
parents 6e5c543904ef
children 61a6a7bf2cbd
comparison
equal deleted inserted replaced
1291:34a9b64a5e00 1292:c0335c1dee36
141 141
142 Setting up LDAP support 142 Setting up LDAP support
143 ----------------------- 143 -----------------------
144 144
145 RhodeCode starting from version 1.1 supports ldap authentication. In order 145 RhodeCode starting from version 1.1 supports ldap authentication. In order
146 to use LDAP, you have to install the python-ldap_ package. This package is available 146 to use LDAP, you have to install the python-ldap_ package. This package is
147 via pypi, so you can install it by running 147 available via pypi, so you can install it by running
148 148
149 :: 149 using easy_install::
150 150
151 easy_install python-ldap 151 easy_install python-ldap
152 152
153 :: 153 using pip::
154 154
155 pip install python-ldap 155 pip install python-ldap
156 156
157 .. note:: 157 .. note::
158 python-ldap requires some certain libs on your system, so before installing 158 python-ldap requires some certain libs on your system, so before installing
166 Enable LDAP = checked 166 Enable LDAP = checked
167 Host = host.example.org 167 Host = host.example.org
168 Port = 389 168 Port = 389
169 Account = <account> 169 Account = <account>
170 Password = <password> 170 Password = <password>
171 Enable LDAPS = checked 171 Connection Security = LDAPS connection
172 Certificate Checks = DEMAND 172 Certificate Checks = DEMAND
173 173
174 Search settings 174 Search settings
175 Base DN = CN=users,DC=host,DC=example,DC=org 175 Base DN = CN=users,DC=host,DC=example,DC=org
176 LDAP Filter = (&(objectClass=user)(!(objectClass=computer))) 176 LDAP Filter = (&(objectClass=user)(!(objectClass=computer)))
210 Only required if the LDAP server does not allow anonymous browsing of 210 Only required if the LDAP server does not allow anonymous browsing of
211 records. 211 records.
212 212
213 .. _Enable LDAPS: 213 .. _Enable LDAPS:
214 214
215 Enable LDAPS : optional 215 Connection Security : required
216 Check this if SSL encryption is necessary for communication with the 216 Defines the connection to LDAP server
217 LDAP server - it will likely require `Port`_ to be set to a different 217
218 value (standard LDAPS port is 636). When LDAPS is enabled then 218 No encryption
219 `Certificate Checks`_ is required. 219 Plain non encrypted connection
220
221 LDAPS connection
222 Enable ldaps connection. It will likely require `Port`_ to be set to
223 a different value (standard LDAPS port is 636). When LDAPS is enabled
224 then `Certificate Checks`_ is required.
225
226 START_TLS on LDAP connection
227 START TLS connection
220 228
221 .. _Certificate Checks: 229 .. _Certificate Checks:
222 230
223 Certificate Checks : optional 231 Certificate Checks : optional
224 How SSL certificates verification is handled - this is only useful when 232 How SSL certificates verification is handled - this is only useful when