Giter Site home page Giter Site logo

cloudron-io / ttrss-auth-ldap Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hydrian/ttrss-auth-ldap

0.0 2.0 0.0 81 KB

GitHub repository for Tiny Tiny RSS's auth_ldap plugin

Home Page: https://github.com/hydrian/TTRSS-Auth-LDAP/wiki

License: Other

PHP 100.00%

ttrss-auth-ldap's Introduction

Tiny Tiny RSS Contributed files

This repository contains files which had been removed from trunk for whatever reason (usually it's because I can't properly test their functionality).

Usage instructions

First of app, make sure you have php-ldap installed. For Debian/Ubuntu users, just do

sudo apt-get install php-ldap

Now, open the config.php file in your TT-RSS directory.

First, add the plugin to the list of enabled plugins:

/// append auth_ldap to the list
define('PLUGINS', 'auth_ldap, auth_internal, note');

Second, add the following lines to the file and fill in the details of your ldap installation:

// Required parameters:
define('LDAP_AUTH_SERVER_URI', 'ldap://localhost:389/');
define('LDAP_AUTH_USETLS', FALSE); // Enable StartTLS Support for ldap://
define('LDAP_AUTH_ALLOW_UNTRUSTED_CERT', TRUE); // Allows untrusted certificate
define('LDAP_AUTH_BASEDN', 'dc=example,dc=com');
define('LDAP_AUTH_ANONYMOUSBEFOREBIND', FALSE);
// ??? will be replaced with the entered username(escaped) at login
define('LDAP_AUTH_SEARCHFILTER', '(&(objectClass=person)(uid=???))');

// Optional configuration
define('LDAP_AUTH_BINDDN', 'cn=serviceaccount,dc=example,dc=com');
define('LDAP_AUTH_BINDPW', 'ServiceAccountsPassword');
define('LDAP_AUTH_LOGIN_ATTRIB', 'uid');
define('LDAP_AUTH_LOG_ATTEMPTS', FALSE);

// Enable Debug Logging
define('LDAP_AUTH_DEBUG', FALSE);

ttrss-auth-ldap's People

Contributors

cthu1hoo avatar dasj avatar devkid avatar gramakri avatar hydrian avatar juba avatar mic92 avatar mrskensington avatar stevenroose avatar toromtomtom avatar tsmgeek 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.