gegenschall / owncloud-user_pam

Authentication module for owncloud using PAM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BIG FAT DISCLAIMER

This project is not maintained and the last known ownCloud version it is known to work with is 2.x (current: 9.x). In other words: Don't use this. At all. Ever. This is just here for historic/archival purposes.

ownCloud - PAM Authentication

A small library for authenticating users against PAM in ownCloud 2.x.

Requirements

The ownCloud user_pam module's requirements are as follows:

  • The pecl PAM package. If you're on Debian/Ubuntu/similar, please do not use the php5-auth-pam module. It is deprecated.
    Installation should be fairly straigt forward: pecl install pam. Don't forget to wire pam.so into your php.ini, which resides under /etc/php5/apache2/php.ini in a standard Debian+Apache2 setup.

  • A working ownCloud installation and a registered admin user.

Installation

The installation is simple. Just download or clone this repository and copy the contents into the owncloud apps/user_pam/ directory. If you use anything else than Debian/Ubuntu/similar, you may need to edit your /etc/pam.d/ files in order to make PAM accept authentication requests from php. But as far as I can tell, a standard PAM setup should work. After that enable the module in the "Applications" menu using your admin user.

Disclaimer

Well, I hate disclaimers but I guess I should state that I hacked this together in 45 min. So, please do not make me responsible for a broken ownCloud install or someone breaking into your system. :-)

About

Authentication module for owncloud using PAM


Languages

Language:PHP 100.0%