Modules: PAM configuration

urhien

Joined: 2012-05-24
Posts: 1
Posted: Thu, 2012-05-24 10:08

Hello,

How can I configure the active directoy on PAM module?

I do this:

1) download PAM module and unzip on the folder: .../htdocs/modules/pam
2) edit the file .../htdocs/modules/pam/config/pamconfig :
$plugin_path = '.../htdocs/modules/pam/plugins';

$plugins = array('gallery');

$create_account = true;

3) copy the folder: .../htdocs/modules/pam/unsused_plugins/ad in .../htdocs/modules/pam/plugins/ad

4) edit the file: /htdocs/modules/pam/plugins/ad/adconfig.php :

'account_suffix' => "@my.domain";
'base_DN' => "CN=users,DC=my,DC=domain";
'domain_controllers' => array ("ldap://server.my.domain:389");
'ad_username' => "user_ldap";
'ad_password' => "the_password";

5) all the foders with "777" permissions

And not work....

any idea??

Thanks in advance.