Git Product home page Git Product logo

ldap_login's Introduction

Ldap_Login is a piwigo plugin to allow people to connect and get access to a piwigo website with their Ldap credentials. There is an option to allow creation of new users if they are granted access by ldap but don't exist in Piwigo DB.

Original work: stephane @ 22decembre.eu.

Ldap_Login

LDAP authentication plugin for piwigo with user-group support

Incompatible with other LDAP plugins, please deactivate the previous version before using this version. Also bear in mind that it can not be guarranteed that this plugin is safe. I try to keep security as high as possible but keep in mind that YOU are responsible for YOUR server.

Default config:

Most settings can be changed when the plugin activates and you visit configuration page.

Param Default Value Comment
ld_forgot_url password.php custom password forget link
ld_debug_location ./plugins/Ldap_login/logs/ log location
ld_debug 1 enable/disable loggin
ld_debug_clearupdate 1 clear debug log after update
ld_debug_level debug default debug level (currently only 'debug')
ld_host localhost hostname
ld_port 389 port of ldap (can be empty or 636)
ld_basedn ou=base,dc=example,dc=com your base directory DN
ld_user_class person your user class [inetOrgPerson, person, user]
ld_user_attr sAMAccountName login attribute [cn,sAMAccounName]
ld_user_filter null additional user filter
ld_group_class group class of group [group, groupOfNames]
ld_group_filter null additional group filter
ld_group_attr name Not in use (reserved)
ld_group_desc description Not in use (reserved)
ld_group_basedn cn=groups,dc=domain,dc=tld Base of your Piwigo Groups for Group sync
ld_group_member_attr member Attribute for user in group
ld_user_member_attr memberOf Attribute for group in user
ld_group_webmaster cn=piwigo_webmasters,cn=groups,dc=domain,dc=tld Group containing webmasters
ld_group_admin cn=piwigo_admins,cn=groups,dc=domain,dc=tld Group containing Admins
ld_group_user cn=piwigo_users,cn=groups,dc=domain,dc=tld Group containing Users
ld_binddn cn=service_account, ou=Users, ou=base, dc=domain,dc=tld Your (service)account for binding
ld_bindpw null The password
ld_anonbind 0 if binddn / bindpw empty then this is true, else false. This enables anonymous binding
ld_use_ssl 0 Untested! Usage of LDAPS
ld_membership_user 0 Should group be tested on user (memberOf in user = 1) or user be tested on group (member in group = 0). Recommended to keep on 0
ld_group_user_active 1 Is there a group restriction on all users?
ld_group_admin_active 0 Are admins automatically queried using LDAP?
ld_group_webmaster_active 0 Are webmaster automatically queried using LDAP?
ld_sync_data null Magic atrribute containing data of new Group Management system
ld_allow_newusers 1 Are new users allowed to be created using LDAP when logging in
ld_allow_profile 1 Redirect to user profile?
ld_advertise_admin_new_ldapuser 0 Should admin get mail if new users registrates?
ld_send_password_by_mail_ldap 0 Should users get a mail with info when registrating?

ldap_login's People

Contributors

22decembre avatar coreyramirezgomez avatar denis-sumin avatar kipjr avatar vdanjean avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.