LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-25-2012, 11:51 PM   #1
gdizzle
Member
 
Registered: Jul 2012
Posts: 206

Rep: Reputation: Disabled
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
project related help needed...linux based project tpsamant88 Programming 2 06-20-2012 11:42 AM
configure ssh authentication using password file and sftp/scp authentication using ld cameliab Linux - Software 1 08-29-2011 03:28 AM
[SOLVED] How to store all files related to a c++ project and build in linux. Like project dir sharanlinux Programming 1 04-29-2010 06:52 AM
Beginning a big project - Need an Good Project Manager gamehack Programming 3 01-15-2004 11:49 AM
Cannot see Open GL project in KDevelop project wizard SparceMatrix Programming 2 08-07-2002 11:14 PM


All times are GMT -5. The time now is 01:39 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration