2017 © Pedro PelĂĄez
 

yourls-plugin laemmi-yourls-easy-ldap

Plugin for YOURLS. Bind login username to url entry.

image

laemmi/laemmi-yourls-easy-ldap

Plugin for YOURLS. Bind login username to url entry.

  • Thursday, January 21, 2016
  • by Laemmi
  • Repository
  • 2 Watchers
  • 0 Stars
  • 41 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

laemmi-yourls-easy-ldap

Plugin for YOURLS 1.7, (*1)

Description

ldap authentification with page and action permissions by ldap group. Localization for german. You must install "laemmi-yourls-default-tools" fist., (*2)

Installation

  • In /user/plugins, create a new folder named laemmi-yourls-easy-ldap.
  • Drop these files in that directory.
  • Via git goto /users/plugins and type git clone https://github.com/Laemmi/laemmi-yourls-easy-ldap.git
  • Add config values to config file
  • Go to the YOURLS Plugins administration page and activate the plugin.

Available config values

Ldap hostname

define('LAEMMI_EASY_LDAP_HOST', '');

Ldap port (optional) default 389

define('LAEMMI_EASY_LDAP_PORT', '');

Ldap base

define('LAEMMI_EASY_LDAP_BASE', '');

Ldap filter for search (optional) @default (&(uid=%s)(objectClass=posixAccount))

define('LAEMMI_EASY_LDAP_FILTER', '');

Ldap filter for groups (optional) @default (&(memberuid=%s))

define('LAEMMI_EASY_LDAP_FILTER_GROUP', '');

Allowed ldap groupsnames with yourls pages and action permissions

define('LAEMMI_EASY_LDAP_ALLOWED_GROUPS', json_encode([
    'MY-LDAP-GROUPNAME' => ['admin', 'tools', 'plugins', 'action-add', 'action-edit', 'action-delete', 'action-stats', 'action-share']
]));

Ldap RDN username (optional)

define('LAEMMI_EASY_LDAP_RDN_USERNAME', '');

Ldap RDN password (optional)

define('LAEMMI_EASY_LDAP_RDN_PASSWORD', '');

Permissions

Page
  • admin = Admin interface
  • tools = Tools
  • plugins = Manage plugins
Actions
  • action-add = Add url
  • action-edit = Edit url
  • action-delete = Delete url
  • action-stats = Show stats button
  • action-share = Show share button

The Versions

21/01 2016

dev-master

9999999-dev https://github.com/laemmi/laemmi-yourls-easy-ldap

Plugin for YOURLS. Bind login username to url entry.

  Sources   Download

MIT

The Requires

 

plugin ldap yourls

21/01 2016

1.0.1

1.0.1.0 https://github.com/laemmi/laemmi-yourls-easy-ldap

Plugin for YOURLS. Bind login username to url entry.

  Sources   Download

MIT

The Requires

 

plugin ldap yourls

24/11 2015

1.0.0

1.0.0.0 https://github.com/laemmi/laemmi-yourls-easy-ldap

Plugin for YOURLS. Bind login username to url entry.

  Sources   Download

MIT

The Requires

 

plugin ldap yourls