LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Project Pier AD Authentication 0.88? (https://www.linuxquestions.org/questions/linux-software-2/project-pier-ad-authentication-0-88-a-4175418700/)

gdizzle 07-25-2012 11:51 PM

Project Pier AD Authentication 0.88?
 
Hi All,
I am fresh to the Project Pier World and I wanting to integrate Active Directory into Project Pier. I am using the lastest Project Pier 0.88 stable.

I have the php ldap module installed and can connect using PHP and LDAP No issues using the below script:

<?php
$username = 'phptest';
if ((strlen('domain.local')) != 0) {
$username = $username . '@' . 'domain.local';
}
$ldapconn = ldap_connect('ldap://' . '10.10.10.1');
if (!$ldapconn) {
die('Cannot connect to server');
return false;
}
$ldap_secure_connection = 'no'; // 3
if ($ldap_secure_connection == 'tls') {
if (!ldap_start_tls($ldapconn)) {
ldap_close($ldapconn);
die('Cannot connect securely to server');
return false;
}
}
$ldapbind = ldap_bind($ldapconn, $username, $pass);
ldap_close($ldapconn);
if ($ldapbind) {
echo "LDAP bind successful...";
} else {
echo "LDAP bind failed...";
}
?>
However I load my new project pier server go to > Administration > Configuration > General > LDAP Host : 10.10.10.1 > LDAP Domain domain.local > Use secure ldap connection is No.

I am authenticating to a Windows Server 2008 domain.

IPTables and SELINUX are disabled.

I sniff the traffic to the domain controller and I see no action.

tcpdump -i eth0 -v host 10.10.10.1 and port 389


Am I missing something obvious, Or am I lost??

Please help.

Thanks


All times are GMT -5. The time now is 03:20 PM.