Merge lp://staging/~zisis00/drizzle/ldap_policy into lp://staging/drizzle

Proposed by Zisis Sialveras
Status: Work in progress
Proposed branch: lp://staging/~zisis00/drizzle/ldap_policy
Merge into: lp://staging/drizzle
Diff against target: 1707 lines (+1673/-2)
5 files modified
plugin/ldap_policy/docs/index.rst (+187/-0)
plugin/ldap_policy/ldap_policy.cc (+1286/-0)
plugin/ldap_policy/ldap_policy.hpp (+194/-0)
plugin/ldap_policy/plugin.ini (+3/-0)
tests/lib/server_mgmt/drizzled.py (+3/-2)
To merge this branch: bzr merge lp://staging/~zisis00/drizzle/ldap_policy
Reviewer Review Type Date Requested Status
Drizzle Trunk Pending
Review via email: mp+119016@code.staging.launchpad.net

Description of the change

This branch introduce a new plugin named ldap policy. The plugin is an authentication system using LDAP. Each schema/table of Drizzle and user has a record in LDAP. The ldap_policy plugin search in LDAP and dictates if access to target schema/table from user should be granted or not. Also, it is capable to search for supplementaries groups and it has an implementation of a "per-user" cache system for better performance.

Note: Extending the testing suite to have some automated tests & writing detailed documentation are currently in progress.

To post a comment you must log in.
Revision history for this message
Brian Aker (brianaker) wrote :

Thanks, this will be reviewed next.

2556. By Zisis Sialveras

Fixed some errors in ldap_policy

2557. By Zisis Sialveras

Documentation for ldap-policy

Revision history for this message
Brian Aker (brianaker) wrote :

  CXX plugin/performance_dictionary/plugin_libperformance_dictionary_plugin_la-session_usage.lo
  CXX plugin/performance_dictionary/plugin_libperformance_dictionary_plugin_la-session_usage_logger.lo
plugin/ldap_policy/ldap_policy.cc: In member function 'virtual bool ldap_policy::LDAP_policy::restrictProcess(const drizzled::identifier::User&, const drizzled::identifier::User&)':
plugin/ldap_policy/ldap_policy.cc:331:32: error: 'uid' may be used uninitialized in this function [-Werror=uninitialized]
plugin/ldap_policy/ldap_policy.cc:152:28: error: 'gid' may be used uninitialized in this function [-Werror=uninitialized]
  CXX plugin/query_log/plugin_libquery_log_plugin_la-module.lo
cc1plus: all warnings being treated as errors
  CXX plugin/query_log/plugin_libquery_log_plugin_la-query_log.lo
make[2]: *** [plugin/ldap_policy/plugin_libldap_policy_plugin_la-ldap_policy.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/home/jenkins/workspace/drizzle-smoke-test/label/ubuntu-12.04'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jenkins/workspace/drizzle-smoke-test/label/ubuntu-12.04'
make: *** [all] Error 2
Build step 'Use builders from another project' marked build as failure
[WARNINGS] Skipping publisher since build result is FAILURE
Notifying upstream projects of job completion
Finished: FAILURE

Unmerged revisions

2557. By Zisis Sialveras

Documentation for ldap-policy

2556. By Zisis Sialveras

Fixed some errors in ldap_policy

2555. By Zisis Sialveras

Some changes in ldap_policy

2554. By Zisis Sialveras

The LDAP policy plugin.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches

to all changes: