summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Plugins/Ldap.py
Commit message (Collapse)AuthorAgeFilesLines
* Server/Plugins/Ldap: Fix module nameAlexander Sulfrian2017-03-211-1/+2
| | | | | | | | | If the module name contains slashes, python will issue an warning: > Ldap/config.py:1: RuntimeWarning: Parent module '__Ldap_/root/repo/Ldap/config' not found while handling absolute import > from Bcfg2.Server.Plugins.Ldap import LdapConnection, LdapQuery So we simply use the basename without the file extension for the module name.
* Server/Plugins/Ldap: Support arbitrary ldap optionsAlexander Sulfrian2017-03-211-2/+7
| | | | | | You can now set arbitrary ldap option for the connection by specifying a dict with the key and the value. You should use the constants from python-ldap.
* Server/Plugins/Ldap: Support specifying the ldap uriAlexander Sulfrian2017-03-211-6/+12
| | | | | | | You can now specify the server to connect by either host (and optionally port) or by specifying the full ldap uri. If you specify host and port the connection will use the plain (unencrypted) ldap protocol by default. Only if you specify the port "636", it will use ldaps now.
* Server/Plugins/Ldap: Cache the results of the Ldap queriesAlexander Sulfrian2017-03-211-17/+52
| | | | | | | Using the OnDemandDict removes the results of Ldap queries from the client_metadata cache. We add a new cache per hostname cache for the single ldap queries and add a new configuration option to enable caching until the cache is expired manually via XML-RPC.
* Server/Plugins/Ldap: Add missing argumentAlexander Sulfrian2017-03-211-1/+2
|
* Server/Plugins/Ldap: Use CallableDictAlexander Sulfrian2017-03-211-14/+28
| | | | | With the CallableDict the LdapQueries will only be executed, if the values are used.
* Server/Plugins/Ldap: Module should be importable without the python-ldapAlexander Sulfrian2016-08-171-6/+11
|
* Add dest= arg to fix LDAP options.Gordon Messmer2016-02-171-0/+2
|
* Ldap: Complete renew of the Ldap pluginAlexander Sulfrian2015-07-241-165/+159
|
* Plugins: refactored out unnecessary datastore constructor argumentChris St. Pierre2013-10-291-2/+2
|
* Pylint/PEP8 fixesSol Jerome2013-09-061-15/+19
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Options: migrated plugins to new options parserChris St. Pierre2013-06-271-1/+0
|
* added a module-level FAM object to avoid passing it as an argument a billion ↵Chris St. Pierre2013-01-171-3/+3
| | | | times
* various pylint fixesChris St. Pierre2012-09-251-4/+7
|
* run pylint for errors on almost everything, full runs on some selected stuffChris St. Pierre2012-09-251-5/+5
|
* LDAP plugin: special characters in search filters need double escapingTorsten Rehn2012-07-181-1/+1
|
* Allow to run directly from a git checkout (#1037)Sol Jerome2012-03-241-0/+245
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>