comparison docs/setup.rst @ 733:ac701b421053 beta

fixed docs, for python-ldap import
author Marcin Kuzminski <marcin@python-works.com>
date Mon, 22 Nov 2010 03:51:28 +0100
parents 066af351c6d8
children 3389f272ece1
comparison
equal deleted inserted replaced
732:36e7f53f8006 733:ac701b421053
82 Setting up LDAP support 82 Setting up LDAP support
83 ----------------------- 83 -----------------------
84 84
85 85
86 RhodeCode starting from version 1.1 supports ldap authentication. In order 86 RhodeCode starting from version 1.1 supports ldap authentication. In order
87 to use ldap, You have to install ldap-python package. This package is available 87 to use ldap, You have to install python-ldap package. This package is available
88 via pypi, so You can install it by running 88 via pypi, so You can install it by running
89 89
90 :: 90 ::
91 91
92 easy_install ldap-python 92 easy_install python-ldap
93 93
94 :: 94 ::
95 95
96 pip install ldap-python 96 pip install python-ldap
97 97
98 98
99 ldap-python requires some certain libs on Your system, so before installing it 99 python-ldap requires some certain libs on Your system, so before installing it
100 check that You have at least `openldap`, and `sasl` libraries. 100 check that You have at least `openldap`, and `sasl` libraries.
101 101
102 ldap settings are located in admin->permissions section, 102 ldap settings are located in admin->permissions section,
103 103
104 Here's a typical ldap setup:: 104 Here's a typical ldap setup::
114 114
115 `Account` and `Password` are optional, and used for two-phase ldap 115 `Account` and `Password` are optional, and used for two-phase ldap
116 authentication so those are credentials to access Your ldap, if it doesn't 116 authentication so those are credentials to access Your ldap, if it doesn't
117 support anonymous search/user lookups. 117 support anonymous search/user lookups.
118 118
119 If all data are entered correctly, and `ldap-python` is properly installed 119 If all data are entered correctly, and `python-ldap` is properly installed
120 Users should be granted to access RhodeCode wit theire ldap accounts. When 120 Users should be granted to access RhodeCode wit theire ldap accounts. When
121 logging at the first time an special ldap account is created inside RhodeCode, 121 logging at the first time an special ldap account is created inside RhodeCode,
122 so You can control over permissions even on ldap users. If such user exists 122 so You can control over permissions even on ldap users. If such user exists
123 already in RhodeCode database ldap user with the same username would be not 123 already in RhodeCode database ldap user with the same username would be not
124 able to access RhodeCode. 124 able to access RhodeCode.