LDAP Configuration problem with 7.3.4

General support regarding TimeTrex, such as
configuring policies/taxes or processing payroll.
Locked
dewanshamsul
Posts: 8
Joined: Wed Apr 16, 2014 5:54 am

LDAP Configuration problem with 7.3.4

Post by dewanshamsul »

I am using OpenLDAP. Please check the following for the ldap user attribute:
ldap.png
ldap.png (6.81 KiB) Viewed 7161 times
I have set the TimeTrex LDAP configuration as follows:
Untitled.png
But it keeps saying that "User Name or Password is incorrect"

Please let me know what I am missing here.
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: LDAP Configuration problem with 7.3.4

Post by shaunw »

You will need to enable logging as described in item #5 near the bottom here: http://forums.timetrex.com/viewtopic.php?f=6&t=89 then attach the log file created when attempting to login with LDAP authentication.
dewanshamsul
Posts: 8
Joined: Wed Apr 16, 2014 5:54 am

Re: LDAP Configuration problem with 7.3.4

Post by dewanshamsul »

I have used the automatic installer. And the log returns the following:

LDAP authentication disabled due to config or extension missing.

I have attached the detailed log.
Attachments
timetrex.log
(2.76 KiB) Downloaded 208 times
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: LDAP Configuration problem with 7.3.4

Post by shaunw »

According to the log file:
LDAP authentication disabled due to config or extension missing...
LDAP is not being used because you either have LDAP disabled in your timetrex.ini.php config file or the PHP-LDAP extension is not installed.
dewanshamsul
Posts: 8
Joined: Wed Apr 16, 2014 5:54 am

Re: LDAP Configuration problem with 7.3.4

Post by dewanshamsul »

timetrex.ini.php doesn't have the word ldap. Please point me where I should look.

Also I have no idea how to install php-ldap extension in the automatic installer version. I am using centos5, the rpm -qa|grep php doesn't return anything. I think something else is needed to install this extension.
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: LDAP Configuration problem with 7.3.4

Post by shaunw »

The automated installer for Linux does not include LDAP functionality. If you wish to use LDAP with Linux you will need to use the manual installer from the .ZIP file instead, and install Apache, PHP and PostgreSQL using the method recommended by your Linux distribution, we recommend this approach on Linux in most cases anyways.
dewanshamsul
Posts: 8
Joined: Wed Apr 16, 2014 5:54 am

Re: LDAP Configuration problem with 7.3.4

Post by dewanshamsul »

I have installed from the zip and php-ldap is installed now. The current LDAP configuration looks like this:
timetrex.ldap.PNG
I am still getting the error.

Log Start
##########
DEBUG [L0225] [29ms]: <b>TTMail::Send()</b>: Sending Email: Body Size: 4577 Method: soap To: <br>
DEBUG [L0267] [2769ms] Array: <b>TTMail::Send()</b>: Send Email Failed To: errors@timetrex.com
<pre>bool(false)

</pre><br>
DEBUG [L0275] [2769ms] Array: <b>TTMail::Send()</b>: Send Email Failed!
<pre>bool(false)

</pre><br>
---------------[ 17-Apr-2014 13:16:24 +0600 (PID: 14277) ]---------------

---------------[ 17-Apr-2014 13:16:50 +0600 (PID: 14376) ]---------------
DEBUG [L0411] [1ms]: <b>[Function]()</b>: URI: /api/amf/api.php?SessionID=6de30b53822036afa848f6f7c1a69f8d01cee34e IP Address: 192.168.16.7<br>
DEBUG [L0413] [1ms]: <b>[Function]()</b>: Version: 7.3.4 Edition: 10 Production: 1 Database: Type: postgres8 Name: timetrex Config: /var/www/html/timetrex.servicenginebd.net/includes/../timetrex.ini.php Demo Mode: 0<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: PHP ERROR - WARNING(2): date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you u<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: sed any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Dacca' for 'BDT/6.0/no DST' instead File: /var/www/html/timetrex.<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: servicenginebd.net/includes/Database.inc.php Line: 117<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #0.Debug::backTrace()<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #1.Debug::ErrorHandler(2, date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Dacca' for 'BDT/6.0/no DST' instead, /var/www/html/timetrex.ser<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: vicenginebd.net/includes/Database.inc.php, 117, Array(41))<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #2.date(e)<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #3.require_once(/var/www/html/timetrex.servicenginebd.net/includes/Database.inc.php)<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #4.require_once(/var/www/html/timetrex.servicenginebd.net/includes/global.inc.php)<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: <br>
DEBUG [L0167] [6ms]: <b>TTDate::setTimeZone()</b>: Setting TimeZone: Asia/Dacca<br>
DEBUG [L0173] [7ms]: <b>[Function]()</b>: AMF Session ID: 6de30b53822036afa848f6f7c1a69f8d01cee34e Source IP: 192.168.16.7<br>
DEBUG [L0682] [7ms]: <b>Authentication::Check()</b>: Session ID: 6de30b53822036afa848f6f7c1a69f8d01cee34e IP Address: 192.168.16.7 URL: /api/amf/api.php?SessionID=6de30b53822036afa848f6f7c1a69f8d01cee34e<br>
DEBUG [L0402] [9ms]: <b>TTi18n::setLocale()</b>: Set Master Locale To: en_US<br>
DEBUG [L0520] [9ms]: <b>TTi18n::chooseBestLocale()</b>: Using Locale: en_US<br>
DEBUG [L0221] [9ms]: <b>[Function]()</b>: User not authenticated!<br>
DEBUG [L0174] [10ms]: <b>SabreAMF_CallbackServer::exec()</b>: Protocol: AMF0<br>
DEBUG [L0079] [10ms]: <b>ServiceMapper::notAuthenticatedInvokeService()</b>: Service: core.APIProgressBar Method: get<br>
DEBUG [L0282] [10ms] Array: <b>APIFactory::returnHandler()</b>: returnHandler ERROR: 0
<pre>array(2) {
["api_retval"]=>
bool(false)
["api_details"]=>
array(5) {
["code"]=>
string(17) "NOT_AUTHENTICATED"
["description"]=>
string(38) "Session timed out, please login again."
["record_details"]=>
array(3) {
["total"]=>
int(0)
["valid"]=>
int(0)
["invalid"]=>
int(0)
}
["user_generic_status_batch_id"]=>
bool(false)
["details"]=>
bool(false)
}
}

</pre><br>
DEBUG [L0241] [11ms]: <b>[Function]()</b>: Server Response Time: 0.01006007194519<br>
---------------[ 17-Apr-2014 13:16:50 +0600 (PID: 14376) ]---------------

---------------[ 17-Apr-2014 13:16:51 +0600 (PID: 14376) ]---------------
DEBUG [L0411] [1ms]: <b>[Function]()</b>: URI: /api/amf/api.php?SessionID=6de30b53822036afa848f6f7c1a69f8d01cee34e IP Address: 192.168.16.7<br>
DEBUG [L0413] [1ms]: <b>[Function]()</b>: Version: 7.3.4 Edition: 10 Production: 1 Database: Type: postgres8 Name: timetrex Config: /var/www/html/timetrex.servicenginebd.net/includes/../timetrex.ini.php Demo Mode: 0<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: PHP ERROR - WARNING(2): date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you u<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: sed any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Dacca' for 'BDT/6.0/no DST' instead File: /var/www/html/timetrex.<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: servicenginebd.net/includes/Database.inc.php Line: 117<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #0.Debug::backTrace()<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #1.Debug::ErrorHandler(2, date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Dacca' for 'BDT/6.0/no DST' instead, /var/www/html/timetrex.ser<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: vicenginebd.net/includes/Database.inc.php, 117, Array(41))<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #2.date(e)<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #3.require_once(/var/www/html/timetrex.servicenginebd.net/includes/Database.inc.php)<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #4.require_once(/var/www/html/timetrex.servicenginebd.net/includes/global.inc.php)<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: <br>
DEBUG [L0167] [6ms]: <b>TTDate::setTimeZone()</b>: Setting TimeZone: Asia/Dacca<br>
DEBUG [L0173] [7ms]: <b>[Function]()</b>: AMF Session ID: 6de30b53822036afa848f6f7c1a69f8d01cee34e Source IP: 192.168.16.7<br>
DEBUG [L0682] [7ms]: <b>Authentication::Check()</b>: Session ID: 6de30b53822036afa848f6f7c1a69f8d01cee34e IP Address: 192.168.16.7 URL: /api/amf/api.php?SessionID=6de30b53822036afa848f6f7c1a69f8d01cee34e<br>
DEBUG [L0402] [9ms]: <b>TTi18n::setLocale()</b>: Set Master Locale To: en_US<br>
DEBUG [L0520] [9ms]: <b>TTi18n::chooseBestLocale()</b>: Using Locale: en_US<br>
DEBUG [L0221] [9ms]: <b>[Function]()</b>: User not authenticated!<br>
DEBUG [L0174] [10ms]: <b>SabreAMF_CallbackServer::exec()</b>: Protocol: AMF0<br>
DEBUG [L0079] [10ms]: <b>ServiceMapper::notAuthenticatedInvokeService()</b>: Service: core.APIProgressBar Method: get<br>
DEBUG [L0282] [10ms] Array: <b>APIFactory::returnHandler()</b>: returnHandler ERROR: 0
<pre>array(2) {
["api_retval"]=>
bool(false)
["api_details"]=>
array(5) {
["code"]=>
string(17) "NOT_AUTHENTICATED"
["description"]=>
string(38) "Session timed out, please login again."
["record_details"]=>
array(3) {
["total"]=>
int(0)
["valid"]=>
int(0)
["invalid"]=>
int(0)
}
["user_generic_status_batch_id"]=>
bool(false)
["details"]=>
bool(false)
}
}

</pre><br>
DEBUG [L0241] [11ms]: <b>[Function]()</b>: Server Response Time: 0.01006007194519<br>
DEBUG [L0184] [11ms]: <b>Debug::Text()</b>: Detected PHP errors (1), emailing log...<br>
DEBUG [L0184] [11ms]: <b>Debug::Text()</b>: ---------------[ 17-Apr-2014 13:16:50 +0600 (PID: 14376) ]---------------<br>
DEBUG [L0213] [14ms] Array: <b>TTMail::Send()</b>: Attempting to send email To:
<pre>string(19) "errors@timetrex.com"

</pre><br>
DEBUG [L0225] [14ms]: <b>TTMail::Send()</b>: Sending Email: Body Size: 3957 Method: soap To: <br>
DEBUG [L0267] [676ms] Array: <b>TTMail::Send()</b>: Send Email Failed To: errors@timetrex.com
<pre>bool(false)

</pre><br>
DEBUG [L0275] [676ms] Array: <b>TTMail::Send()</b>: Send Email Failed!
<pre>bool(false)

</pre><br>
---------------[ 17-Apr-2014 13:16:51 +0600 (PID: 14376) ]---------------

---------------[ 17-Apr-2014 13:16:51 +0600 (PID: 14378) ]---------------
DEBUG [L0411] [1ms]: <b>[Function]()</b>: URI: /api/amf/api.php?SessionID=6de30b53822036afa848f6f7c1a69f8d01cee34e IP Address: 192.168.16.7<br>
DEBUG [L0413] [1ms]: <b>[Function]()</b>: Version: 7.3.4 Edition: 10 Production: 1 Database: Type: postgres8 Name: timetrex Config: /var/www/html/timetrex.servicenginebd.net/includes/../timetrex.ini.php Demo Mode: 0<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: PHP ERROR - WARNING(2): date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you u<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: sed any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Dacca' for 'BDT/6.0/no DST' instead File: /var/www/html/timetrex.<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: servicenginebd.net/includes/Database.inc.php Line: 117<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #0.Debug::backTrace()<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #1.Debug::ErrorHandler(2, date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Dacca' for 'BDT/6.0/no DST' instead, /var/www/html/timetrex.ser<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: vicenginebd.net/includes/Database.inc.php, 117, Array(41))<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #2.date(e)<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #3.require_once(/var/www/html/timetrex.servicenginebd.net/includes/Database.inc.php)<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #4.require_once(/var/www/html/timetrex.servicenginebd.net/includes/global.inc.php)<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: <br>
DEBUG [L0167] [7ms]: <b>TTDate::setTimeZone()</b>: Setting TimeZone: Asia/Dacca<br>
DEBUG [L0173] [7ms]: <b>[Function]()</b>: AMF Session ID: 6de30b53822036afa848f6f7c1a69f8d01cee34e Source IP: 192.168.16.7<br>
DEBUG [L0682] [7ms]: <b>Authentication::Check()</b>: Session ID: 6de30b53822036afa848f6f7c1a69f8d01cee34e IP Address: 192.168.16.7 URL: /api/amf/api.php?SessionID=6de30b53822036afa848f6f7c1a69f8d01cee34e<br>
DEBUG [L0402] [9ms]: <b>TTi18n::setLocale()</b>: Set Master Locale To: en_US<br>
DEBUG [L0520] [9ms]: <b>TTi18n::chooseBestLocale()</b>: Using Locale: en_US<br>
DEBUG [L0221] [9ms]: <b>[Function]()</b>: User not authenticated!<br>
DEBUG [L0154] [11ms]: <b>SabreAMF_CallbackServer::exec()</b>: Protocol: AMF3<br>
DEBUG [L0079] [11ms]: <b>ServiceMapper::notAuthenticatedInvokeService()</b>: Service: APIAuthentication Method: Login<br>
DEBUG [L0108] [11ms]: <b>ServiceMapper::invokeService()</b>: Service: APIAuthentication Method: Login Class: APIAuthentication<br>
DEBUG [L0116] [11ms] Array: <b>ServiceMapper::invokeService()</b>: Arguments:
<pre>array(2) {
[0]=>
string(4) "test"
[1]=>
string(4) "test"
}

</pre><br>
DEBUG [L0058] [11ms]: <b>APIAuthentication::Login()</b>: User Name: test Password Length: 4 Type: USER_NAME<br>
DEBUG [L0571] [11ms]: <b>Authentication::Login()</b>: Login Type: USER_NAME<br>
DEBUG [L0260] [19ms]: <b>Authentication::checkCompanyStatus()</b>: Company Status: 10<br>
DEBUG [L0258] [21ms]: <b>TTLDAP::authenticate()</b>: LDAP: Host: ldap.servicenginebd.net Port: 389 Bind User Name: anonymous Bind Password: Bind DN: userPrincipalName=test, ou=People,dc=servicenginebd,dc=net Base DN: ou=People,dc=servicenginebd,dc=net <br>
DEBUG [L0258] [21ms]: <b>TTLDAP::authenticate()</b>: Bind Authentication Mode: 0 Password: test<br>
DEBUG [L0277] [106ms]: <b>TTLDAP::authenticate()</b>: LDAP Anonymous Bind Authentication Mode...<br>
DEBUG [L0284] [252ms]: <b>TTLDAP::authenticate()</b>: LDAP Connection Result: 1<br>
DEBUG [L0291] [252ms]: <b>TTLDAP::authenticate()</b>: LDAP Filter User: (uid=test)<br>
DEBUG [L0311] [254ms]: <b>TTLDAP::authenticate()</b>: LDAP password comparison failed... LDAP Password attribute: {SHA}qUqP5cyxm6YcTAhz05Hph5gvu9M=<br>
DEBUG [L0354] [254ms] Array: <b>TTLDAP::authenticate()</b>: LDAP Data:
<pre>array(11) {
["objectClass"]=>
array(3) {
[0]=>
string(12) "posixAccount"
[1]=>
string(3) "top"
[2]=>
string(13) "inetOrgPerson"
}
["gidNumber"]=>
string(5) "65534"
["givenName"]=>
string(4) "test"
["sn"]=>
string(4) "test"
["displayName"]=>
string(4) "test"
["uid"]=>
string(4) "test"
["homeDirectory"]=>
string(10) "/home/test"
["loginShell"]=>
string(13) "/sbin/nologin"
["cn"]=>
string(4) "test"
["uidNumber"]=>
string(5) "19331"
["userPassword"]=>
string(33) "{SHA}qUqP5cyxm6YcTAhz05Hph5gvu9M="
}

</pre><br>
DEBUG [L0367] [254ms]: <b>TTLDAP::authenticate()</b>: LDAP authentication result: 0 Total Time: 0.23365688323975s<br>
DEBUG [L0772] [254ms]: <b>UserFactory::checkPassword()</b>: LDAP authentication failed, falling back to local password...<br>
DEBUG [L1531] [255ms]: <b>Factory::StartTransaction()</b>: StartTransaction(): Transaction Count: 0 Trans Off: 0<br>
DEBUG [L1586] [255ms]: <b>Factory::Save()</b>: Calling preSave()<br>
DEBUG [L1624] [255ms]: <b>Factory::Save()</b>: Insert ID: 354<br>
DEBUG [L1509] [255ms]: <b>Factory::getInsertQuery()</b>: Insert<br>
DEBUG [L1541] [260ms]: <b>Factory::CommitTransaction()</b>: CommitTransaction(): Transaction Count: 1 Trans Off: 1<br>
DEBUG [L0095] [261ms]: <b>TTLog::addEntry()</b>: LogDetail Disabled... Object ID: 2 Action ID: 510 Table: users Description: LDAP Authentication failed, falling back to local password for username: testIP Address: 192.168.16.7<br>
DEBUG [L0634] [261ms]: <b>Authentication::Login()</b>: Login Failed! Attempt: 5<br>
DEBUG [L0792] [2262ms]: <b>Validator::Error()</b>: Validation Error: Label: user_name Value: "0" Msg: User Name or Password is incorrect<br>
DEBUG [L0282] [2263ms] Array: <b>APIFactory::returnHandler()</b>: returnHandler ERROR: 0
<pre>array(2) {
["api_retval"]=>
bool(false)
["api_details"]=>
array(5) {
["code"]=>
string(10) "VALIDATION"
["description"]=>
string(12) "INVALID DATA"
["record_details"]=>
array(3) {
["total"]=>
int(1)
["valid"]=>
int(0)
["invalid"]=>
int(1)
}
["user_generic_status_batch_id"]=>
bool(false)
["details"]=>
array(1) {
[0]=>
array(1) {
["user_name"]=>
array(1) {
[0]=>
string(34) "User Name or Password is incorrect"
}
}
}
}
}

</pre><br>
DEBUG [L0155] [2263ms]: <b>ServiceMapper::invokeService()</b>: Returning 337 bytes of data... Response Time: 2.2516269683838<br>
DEBUG [L0241] [2263ms]: <b>[Function]()</b>: Server Response Time: 2.2625441551208<br>
---------------[ 17-Apr-2014 13:16:51 +0600 (PID: 14378) ]---------------

---------------[ 17-Apr-2014 13:16:54 +0600 (PID: 14378) ]---------------
DEBUG [L0411] [1ms]: <b>[Function]()</b>: URI: /api/amf/api.php?SessionID=6de30b53822036afa848f6f7c1a69f8d01cee34e IP Address: 192.168.16.7<br>
DEBUG [L0413] [1ms]: <b>[Function]()</b>: Version: 7.3.4 Edition: 10 Production: 1 Database: Type: postgres8 Name: timetrex Config: /var/www/html/timetrex.servicenginebd.net/includes/../timetrex.ini.php Demo Mode: 0<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: PHP ERROR - WARNING(2): date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you u<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: sed any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Dacca' for 'BDT/6.0/no DST' instead File: /var/www/html/timetrex.<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: servicenginebd.net/includes/Database.inc.php Line: 117<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #0.Debug::backTrace()<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #1.Debug::ErrorHandler(2, date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Dacca' for 'BDT/6.0/no DST' instead, /var/www/html/timetrex.ser<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: vicenginebd.net/includes/Database.inc.php, 117, Array(41))<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #2.date(e)<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #3.require_once(/var/www/html/timetrex.servicenginebd.net/includes/Database.inc.php)<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #4.require_once(/var/www/html/timetrex.servicenginebd.net/includes/global.inc.php)<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: <br>
DEBUG [L0167] [7ms]: <b>TTDate::setTimeZone()</b>: Setting TimeZone: Asia/Dacca<br>
DEBUG [L0173] [7ms]: <b>[Function]()</b>: AMF Session ID: 6de30b53822036afa848f6f7c1a69f8d01cee34e Source IP: 192.168.16.7<br>
DEBUG [L0682] [7ms]: <b>Authentication::Check()</b>: Session ID: 6de30b53822036afa848f6f7c1a69f8d01cee34e IP Address: 192.168.16.7 URL: /api/amf/api.php?SessionID=6de30b53822036afa848f6f7c1a69f8d01cee34e<br>
DEBUG [L0402] [9ms]: <b>TTi18n::setLocale()</b>: Set Master Locale To: en_US<br>
DEBUG [L0520] [9ms]: <b>TTi18n::chooseBestLocale()</b>: Using Locale: en_US<br>
DEBUG [L0221] [9ms]: <b>[Function]()</b>: User not authenticated!<br>
DEBUG [L0154] [11ms]: <b>SabreAMF_CallbackServer::exec()</b>: Protocol: AMF3<br>
DEBUG [L0079] [11ms]: <b>ServiceMapper::notAuthenticatedInvokeService()</b>: Service: APIAuthentication Method: Login<br>
DEBUG [L0108] [11ms]: <b>ServiceMapper::invokeService()</b>: Service: APIAuthentication Method: Login Class: APIAuthentication<br>
DEBUG [L0116] [11ms] Array: <b>ServiceMapper::invokeService()</b>: Arguments:
<pre>array(2) {
[0]=>
string(4) "test"
[1]=>
string(4) "test"
}

</pre><br>
DEBUG [L0058] [11ms]: <b>APIAuthentication::Login()</b>: User Name: test Password Length: 4 Type: USER_NAME<br>
DEBUG [L0571] [11ms]: <b>Authentication::Login()</b>: Login Type: USER_NAME<br>
DEBUG [L0260] [19ms]: <b>Authentication::checkCompanyStatus()</b>: Company Status: 10<br>
DEBUG [L0258] [21ms]: <b>TTLDAP::authenticate()</b>: LDAP: Host: ldap.servicenginebd.net Port: 389 Bind User Name: anonymous Bind Password: Bind DN: userPrincipalName=test, ou=People,dc=servicenginebd,dc=net Base DN: ou=People,dc=servicenginebd,dc=net <br>
DEBUG [L0258] [21ms]: <b>TTLDAP::authenticate()</b>: Bind Authentication Mode: 0 Password: test<br>
DEBUG [L0277] [106ms]: <b>TTLDAP::authenticate()</b>: LDAP Anonymous Bind Authentication Mode...<br>
DEBUG [L0284] [252ms]: <b>TTLDAP::authenticate()</b>: LDAP Connection Result: 1<br>
DEBUG [L0291] [252ms]: <b>TTLDAP::authenticate()</b>: LDAP Filter User: (uid=test)<br>
DEBUG [L0311] [254ms]: <b>TTLDAP::authenticate()</b>: LDAP password comparison failed... LDAP Password attribute: {SHA}qUqP5cyxm6YcTAhz05Hph5gvu9M=<br>
DEBUG [L0354] [254ms] Array: <b>TTLDAP::authenticate()</b>: LDAP Data:
<pre>array(11) {
["objectClass"]=>
array(3) {
[0]=>
string(12) "posixAccount"
[1]=>
string(3) "top"
[2]=>
string(13) "inetOrgPerson"
}
["gidNumber"]=>
string(5) "65534"
["givenName"]=>
string(4) "test"
["sn"]=>
string(4) "test"
["displayName"]=>
string(4) "test"
["uid"]=>
string(4) "test"
["homeDirectory"]=>
string(10) "/home/test"
["loginShell"]=>
string(13) "/sbin/nologin"
["cn"]=>
string(4) "test"
["uidNumber"]=>
string(5) "19331"
["userPassword"]=>
string(33) "{SHA}qUqP5cyxm6YcTAhz05Hph5gvu9M="
}

</pre><br>
DEBUG [L0367] [254ms]: <b>TTLDAP::authenticate()</b>: LDAP authentication result: 0 Total Time: 0.23365688323975s<br>
DEBUG [L0772] [254ms]: <b>UserFactory::checkPassword()</b>: LDAP authentication failed, falling back to local password...<br>
DEBUG [L1531] [255ms]: <b>Factory::StartTransaction()</b>: StartTransaction(): Transaction Count: 0 Trans Off: 0<br>
DEBUG [L1586] [255ms]: <b>Factory::Save()</b>: Calling preSave()<br>
DEBUG [L1624] [255ms]: <b>Factory::Save()</b>: Insert ID: 354<br>
DEBUG [L1509] [255ms]: <b>Factory::getInsertQuery()</b>: Insert<br>
DEBUG [L1541] [260ms]: <b>Factory::CommitTransaction()</b>: CommitTransaction(): Transaction Count: 1 Trans Off: 1<br>
DEBUG [L0095] [261ms]: <b>TTLog::addEntry()</b>: LogDetail Disabled... Object ID: 2 Action ID: 510 Table: users Description: LDAP Authentication failed, falling back to local password for username: testIP Address: 192.168.16.7<br>
DEBUG [L0634] [261ms]: <b>Authentication::Login()</b>: Login Failed! Attempt: 5<br>
DEBUG [L0792] [2262ms]: <b>Validator::Error()</b>: Validation Error: Label: user_name Value: "0" Msg: User Name or Password is incorrect<br>
DEBUG [L0282] [2263ms] Array: <b>APIFactory::returnHandler()</b>: returnHandler ERROR: 0
<pre>array(2) {
["api_retval"]=>
bool(false)
["api_details"]=>
array(5) {
["code"]=>
string(10) "VALIDATION"
["description"]=>
string(12) "INVALID DATA"
["record_details"]=>
array(3) {
["total"]=>
int(1)
["valid"]=>
int(0)
["invalid"]=>
int(1)
}
["user_generic_status_batch_id"]=>
bool(false)
["details"]=>
array(1) {
[0]=>
array(1) {
["user_name"]=>
array(1) {
[0]=>
string(34) "User Name or Password is incorrect"
}
}
}
}
}

</pre><br>
DEBUG [L0155] [2263ms]: <b>ServiceMapper::invokeService()</b>: Returning 337 bytes of data... Response Time: 2.2516269683838<br>
DEBUG [L0241] [2263ms]: <b>[Function]()</b>: Server Response Time: 2.2625441551208<br>
DEBUG [L0184] [2263ms]: <b>Debug::Text()</b>: Detected PHP errors (1), emailing log...<br>
DEBUG [L0184] [2263ms]: <b>Debug::Text()</b>: ---------------[ 17-Apr-2014 13:16:51 +0600 (PID: 14378) ]---------------<br>
DEBUG [L0213] [2270ms] Array: <b>TTMail::Send()</b>: Attempting to send email To:
<pre>string(19) "errors@timetrex.com"

</pre><br>
DEBUG [L0225] [2270ms]: <b>TTMail::Send()</b>: Sending Email: Body Size: 7595 Method: soap To: <br>
DEBUG [L0267] [5060ms] Array: <b>TTMail::Send()</b>: Send Email Failed To: errors@timetrex.com
<pre>bool(false)

</pre><br>
DEBUG [L0275] [5060ms] Array: <b>TTMail::Send()</b>: Send Email Failed!
<pre>bool(false)

</pre><br>
---------------[ 17-Apr-2014 13:16:54 +0600 (PID: 14378) ]---------------

##########
Log Finished
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: LDAP Configuration problem with 7.3.4

Post by shaunw »

Try not specifying any login attribute, see if that makes any difference.
dewanshamsul
Posts: 8
Joined: Wed Apr 16, 2014 5:54 am

Re: LDAP Configuration problem with 7.3.4

Post by dewanshamsul »

Returns the same result. One thing I noticed that the log shows
Bind DN: uid=test, ou=People,dc=servicenginebd,dc=net

Notice that there is a space between uid=test, and ou=People

I hope the software isn't browsing the LDAP that way. If so then it will never get anything out of it.
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: LDAP Configuration problem with 7.3.4

Post by shaunw »

Space after the comma or no space, both are treated the exact same in the LDAP standard.

Please delete the log file and try logging in again without the "uid" specified in the settings, then post the log file again. Without the log file we have nothing to go on.
dewanshamsul
Posts: 8
Joined: Wed Apr 16, 2014 5:54 am

Re: LDAP Configuration problem with 7.3.4

Post by dewanshamsul »

Current settings is as follows:
Capture.PNG
It fails with the following log message:

Log Start

#############


---------------[ 17-Apr-2014 23:02:50 +0600 (PID: 14283) ]---------------
DEBUG [L0411] [1ms]: <b>[Function]()</b>: URI: /api/amf/api.php IP Address: 27.147.166.56<br>
DEBUG [L0413] [1ms]: <b>[Function]()</b>: Version: 7.3.4 Edition: 10 Production: 1 Database: Type: postgres8 Name: timetrex Config: /var/www/html/timetrex.servicenginebd.net/includes/../timetrex.ini.php Demo Mode: 0<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: PHP ERROR - WARNING(2): date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you u<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: sed any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Dacca' for 'BDT/6.0/no DST' instead File: /var/www/html/timetrex.<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: servicenginebd.net/includes/Database.inc.php Line: 117<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #0.Debug::backTrace()<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #1.Debug::ErrorHandler(2, date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Dacca' for 'BDT/6.0/no DST' instead, /var/www/html/timetrex.ser<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: vicenginebd.net/includes/Database.inc.php, 117, Array(41))<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #2.date(e)<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #3.require_once(/var/www/html/timetrex.servicenginebd.net/includes/Database.inc.php)<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #4.require_once(/var/www/html/timetrex.servicenginebd.net/includes/global.inc.php)<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: <br>
DEBUG [L0167] [7ms]: <b>TTDate::setTimeZone()</b>: Setting TimeZone: Asia/Dacca<br>
DEBUG [L0402] [7ms]: <b>TTi18n::setLocale()</b>: Set Master Locale To: en_US<br>
DEBUG [L0520] [7ms]: <b>TTi18n::chooseBestLocale()</b>: Using Locale: en_US<br>
DEBUG [L0154] [9ms]: <b>SabreAMF_CallbackServer::exec()</b>: Protocol: AMF3<br>
DEBUG [L0091] [9ms]: <b>ServiceMapper::unauthenticatedInvokeService()</b>: Service: APIAuthentication Method: Login<br>
DEBUG [L0108] [9ms]: <b>ServiceMapper::invokeService()</b>: Service: APIAuthentication Method: Login Class: APIAuthentication<br>
DEBUG [L0116] [9ms] Array: <b>ServiceMapper::invokeService()</b>: Arguments:
<pre>array(2) {
[0]=>
string(4) "test"
[1]=>
string(4) "test"
}

</pre><br>
DEBUG [L0058] [10ms]: <b>APIAuthentication::Login()</b>: User Name: test Password Length: 4 Type: USER_NAME<br>
DEBUG [L0571] [10ms]: <b>Authentication::Login()</b>: Login Type: USER_NAME<br>
DEBUG [L0260] [18ms]: <b>Authentication::checkCompanyStatus()</b>: Company Status: 10<br>
DEBUG [L0258] [19ms]: <b>TTLDAP::authenticate()</b>: LDAP: Host: ldap.servicenginebd.net Port: 389 Bind User Name: anonymous Bind Password: Bind DN: test, ou=People,dc=servicenginebd,dc=net Base DN: ou=People,dc=servicenginebd,dc=net Bind Authenticatio<br>
DEBUG [L0258] [19ms]: <b>TTLDAP::authenticate()</b>: n Mode: 0 Password: test<br>
DEBUG [L0277] [93ms]: <b>TTLDAP::authenticate()</b>: LDAP Anonymous Bind Authentication Mode...<br>
DEBUG [L0284] [166ms]: <b>TTLDAP::authenticate()</b>: LDAP Connection Result: 1<br>
DEBUG [L0291] [166ms]: <b>TTLDAP::authenticate()</b>: LDAP Filter User: <br>
DEBUG [L0367] [166ms]: <b>TTLDAP::authenticate()</b>: LDAP authentication result: 0 Total Time: 0.14745903015137s<br>
DEBUG [L0772] [166ms]: <b>UserFactory::checkPassword()</b>: LDAP authentication failed, falling back to local password...<br>
DEBUG [L1531] [167ms]: <b>Factory::StartTransaction()</b>: StartTransaction(): Transaction Count: 0 Trans Off: 0<br>
DEBUG [L1586] [167ms]: <b>Factory::Save()</b>: Calling preSave()<br>
DEBUG [L1624] [168ms]: <b>Factory::Save()</b>: Insert ID: 375<br>
DEBUG [L1509] [168ms]: <b>Factory::getInsertQuery()</b>: Insert<br>
DEBUG [L1541] [172ms]: <b>Factory::CommitTransaction()</b>: CommitTransaction(): Transaction Count: 1 Trans Off: 1<br>
DEBUG [L0095] [173ms]: <b>TTLog::addEntry()</b>: LogDetail Disabled... Object ID: 2 Action ID: 510 Table: users Description: LDAP Authentication failed, falling back to local password for username: testIP Address: 27.147.166.56<br>
DEBUG [L0634] [173ms]: <b>Authentication::Login()</b>: Login Failed! Attempt: 1<br>
DEBUG [L0792] [174ms]: <b>Validator::Error()</b>: Validation Error: Label: user_name Value: "0" Msg: User Name or Password is incorrect<br>
DEBUG [L0282] [174ms] Array: <b>APIFactory::returnHandler()</b>: returnHandler ERROR: 0
<pre>array(2) {
["api_retval"]=>
bool(false)
["api_details"]=>
array(5) {
["code"]=>
string(10) "VALIDATION"
["description"]=>
string(12) "INVALID DATA"
["record_details"]=>
array(3) {
["total"]=>
int(1)
["valid"]=>
int(0)
["invalid"]=>
int(1)
}
["user_generic_status_batch_id"]=>
bool(false)
["details"]=>
array(1) {
[0]=>
array(1) {
["user_name"]=>
array(1) {
[0]=>
string(34) "User Name or Password is incorrect"
}
}
}
}
}

</pre><br>
DEBUG [L0155] [174ms]: <b>ServiceMapper::invokeService()</b>: Returning 337 bytes of data... Response Time: 0.16522312164307<br>
DEBUG [L0241] [175ms]: <b>[Function]()</b>: Server Response Time: 0.17415308952332<br>
---------------[ 17-Apr-2014 23:02:50 +0600 (PID: 14283) ]---------------

---------------[ 17-Apr-2014 23:02:51 +0600 (PID: 14283) ]---------------
DEBUG [L0411] [1ms]: <b>[Function]()</b>: URI: /api/amf/api.php IP Address: 27.147.166.56<br>
DEBUG [L0413] [1ms]: <b>[Function]()</b>: Version: 7.3.4 Edition: 10 Production: 1 Database: Type: postgres8 Name: timetrex Config: /var/www/html/timetrex.servicenginebd.net/includes/../timetrex.ini.php Demo Mode: 0<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: PHP ERROR - WARNING(2): date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you u<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: sed any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Dacca' for 'BDT/6.0/no DST' instead File: /var/www/html/timetrex.<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: servicenginebd.net/includes/Database.inc.php Line: 117<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #0.Debug::backTrace()<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #1.Debug::ErrorHandler(2, date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Dacca' for 'BDT/6.0/no DST' instead, /var/www/html/timetrex.ser<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: vicenginebd.net/includes/Database.inc.php, 117, Array(41))<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #2.date(e)<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #3.require_once(/var/www/html/timetrex.servicenginebd.net/includes/Database.inc.php)<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #4.require_once(/var/www/html/timetrex.servicenginebd.net/includes/global.inc.php)<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: <br>
DEBUG [L0167] [7ms]: <b>TTDate::setTimeZone()</b>: Setting TimeZone: Asia/Dacca<br>
DEBUG [L0402] [7ms]: <b>TTi18n::setLocale()</b>: Set Master Locale To: en_US<br>
DEBUG [L0520] [7ms]: <b>TTi18n::chooseBestLocale()</b>: Using Locale: en_US<br>
DEBUG [L0154] [9ms]: <b>SabreAMF_CallbackServer::exec()</b>: Protocol: AMF3<br>
DEBUG [L0091] [9ms]: <b>ServiceMapper::unauthenticatedInvokeService()</b>: Service: APIAuthentication Method: Login<br>
DEBUG [L0108] [9ms]: <b>ServiceMapper::invokeService()</b>: Service: APIAuthentication Method: Login Class: APIAuthentication<br>
DEBUG [L0116] [9ms] Array: <b>ServiceMapper::invokeService()</b>: Arguments:
<pre>array(2) {
[0]=>
string(4) "test"
[1]=>
string(4) "test"
}

</pre><br>
DEBUG [L0058] [10ms]: <b>APIAuthentication::Login()</b>: User Name: test Password Length: 4 Type: USER_NAME<br>
DEBUG [L0571] [10ms]: <b>Authentication::Login()</b>: Login Type: USER_NAME<br>
DEBUG [L0260] [18ms]: <b>Authentication::checkCompanyStatus()</b>: Company Status: 10<br>
DEBUG [L0258] [19ms]: <b>TTLDAP::authenticate()</b>: LDAP: Host: ldap.servicenginebd.net Port: 389 Bind User Name: anonymous Bind Password: Bind DN: test, ou=People,dc=servicenginebd,dc=net Base DN: ou=People,dc=servicenginebd,dc=net Bind Authenticatio<br>
DEBUG [L0258] [19ms]: <b>TTLDAP::authenticate()</b>: n Mode: 0 Password: test<br>
DEBUG [L0277] [93ms]: <b>TTLDAP::authenticate()</b>: LDAP Anonymous Bind Authentication Mode...<br>
DEBUG [L0284] [166ms]: <b>TTLDAP::authenticate()</b>: LDAP Connection Result: 1<br>
DEBUG [L0291] [166ms]: <b>TTLDAP::authenticate()</b>: LDAP Filter User: <br>
DEBUG [L0367] [166ms]: <b>TTLDAP::authenticate()</b>: LDAP authentication result: 0 Total Time: 0.14745903015137s<br>
DEBUG [L0772] [166ms]: <b>UserFactory::checkPassword()</b>: LDAP authentication failed, falling back to local password...<br>
DEBUG [L1531] [167ms]: <b>Factory::StartTransaction()</b>: StartTransaction(): Transaction Count: 0 Trans Off: 0<br>
DEBUG [L1586] [167ms]: <b>Factory::Save()</b>: Calling preSave()<br>
DEBUG [L1624] [168ms]: <b>Factory::Save()</b>: Insert ID: 375<br>
DEBUG [L1509] [168ms]: <b>Factory::getInsertQuery()</b>: Insert<br>
DEBUG [L1541] [172ms]: <b>Factory::CommitTransaction()</b>: CommitTransaction(): Transaction Count: 1 Trans Off: 1<br>
DEBUG [L0095] [173ms]: <b>TTLog::addEntry()</b>: LogDetail Disabled... Object ID: 2 Action ID: 510 Table: users Description: LDAP Authentication failed, falling back to local password for username: testIP Address: 27.147.166.56<br>
DEBUG [L0634] [173ms]: <b>Authentication::Login()</b>: Login Failed! Attempt: 1<br>
DEBUG [L0792] [174ms]: <b>Validator::Error()</b>: Validation Error: Label: user_name Value: "0" Msg: User Name or Password is incorrect<br>
DEBUG [L0282] [174ms] Array: <b>APIFactory::returnHandler()</b>: returnHandler ERROR: 0
<pre>array(2) {
["api_retval"]=>
bool(false)
["api_details"]=>
array(5) {
["code"]=>
string(10) "VALIDATION"
["description"]=>
string(12) "INVALID DATA"
["record_details"]=>
array(3) {
["total"]=>
int(1)
["valid"]=>
int(0)
["invalid"]=>
int(1)
}
["user_generic_status_batch_id"]=>
bool(false)
["details"]=>
array(1) {
[0]=>
array(1) {
["user_name"]=>
array(1) {
[0]=>
string(34) "User Name or Password is incorrect"
}
}
}
}
}

</pre><br>
DEBUG [L0155] [174ms]: <b>ServiceMapper::invokeService()</b>: Returning 337 bytes of data... Response Time: 0.16522312164307<br>
DEBUG [L0241] [175ms]: <b>[Function]()</b>: Server Response Time: 0.17415308952332<br>
DEBUG [L0184] [175ms]: <b>Debug::Text()</b>: Detected PHP errors (1), emailing log...<br>
DEBUG [L0184] [175ms]: <b>Debug::Text()</b>: ---------------[ 17-Apr-2014 23:02:50 +0600 (PID: 14283) ]---------------<br>
DEBUG [L0213] [180ms] Array: <b>TTMail::Send()</b>: Attempting to send email To:
<pre>string(19) "errors@timetrex.com"

</pre><br>
DEBUG [L0225] [180ms]: <b>TTMail::Send()</b>: Sending Email: Body Size: 6194 Method: soap To: <br>
DEBUG [L0267] [1149ms] Array: <b>TTMail::Send()</b>: Send Email Failed To: errors@timetrex.com
<pre>bool(false)

</pre><br>
DEBUG [L0275] [1149ms] Array: <b>TTMail::Send()</b>: Send Email Failed!
<pre>bool(false)

</pre><br>
---------------[ 17-Apr-2014 23:02:51 +0600 (PID: 14283) ]---------------


#############

Log Ends
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: LDAP Configuration problem with 7.3.4

Post by shaunw »

Okay, so why are you trying to do anonymous binding, typically that would only be used if you need to somehow search the LDAP directory to lookup other data in which you later want to use to authenticate based on. But you haven't specified any way to lookup that other data, so nothing is really happening.
dewanshamsul
Posts: 8
Joined: Wed Apr 16, 2014 5:54 am

Re: LDAP Configuration problem with 7.3.4

Post by dewanshamsul »

Current config is
Capture.PNG
Log Start:


---------------[ 17-Apr-2014 23:46:52 +0600 (PID: 14377) ]---------------
DEBUG [L0411] [1ms]: <b>[Function]()</b>: URI: /api/amf/api.php IP Address: 27.147.166.56<br>
DEBUG [L0413] [1ms]: <b>[Function]()</b>: Version: 7.3.4 Edition: 10 Production: 1 Database: Type: postgres8 Name: timetrex Config: /var/www/html/timetrex.servicenginebd.net/includes/../timetrex.ini.php Demo Mode: 0<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: PHP ERROR - WARNING(2): date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you u<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: sed any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Dacca' for 'BDT/6.0/no DST' instead File: /var/www/html/timetrex.<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: servicenginebd.net/includes/Database.inc.php Line: 117<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #0.Debug::backTrace()<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #1.Debug::ErrorHandler(2, date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Dacca' for 'BDT/6.0/no DST' instead, /var/www/html/timetrex.ser<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: vicenginebd.net/includes/Database.inc.php, 117, Array(41))<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #2.date(e)<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #3.require_once(/var/www/html/timetrex.servicenginebd.net/includes/Database.inc.php)<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #4.require_once(/var/www/html/timetrex.servicenginebd.net/includes/global.inc.php)<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: <br>
DEBUG [L0167] [6ms]: <b>TTDate::setTimeZone()</b>: Setting TimeZone: Asia/Dacca<br>
DEBUG [L0402] [7ms]: <b>TTi18n::setLocale()</b>: Set Master Locale To: en_US<br>
DEBUG [L0520] [7ms]: <b>TTi18n::chooseBestLocale()</b>: Using Locale: en_US<br>
DEBUG [L0174] [8ms]: <b>SabreAMF_CallbackServer::exec()</b>: Protocol: AMF0<br>
DEBUG [L0091] [8ms]: <b>ServiceMapper::unauthenticatedInvokeService()</b>: Service: core.APIProgressBar Method: get<br>
DEBUG [L0108] [8ms]: <b>ServiceMapper::invokeService()</b>: Service: APIAuthentication Method: get Class: APIAuthentication<br>
DEBUG [L0116] [9ms] Array: <b>ServiceMapper::invokeService()</b>: Arguments:
<pre>array(1) {
[0]=>
string(36) "37ECD02F-53CF-31FC-50B5-70CCD75F59E7"
}

</pre><br>
DEBUG [L0241] [9ms]: <b>[Function]()</b>: Server Response Time: 0.0083131790161133<br>
---------------[ 17-Apr-2014 23:46:52 +0600 (PID: 14377) ]---------------

---------------[ 17-Apr-2014 23:46:53 +0600 (PID: 14377) ]---------------
DEBUG [L0411] [1ms]: <b>[Function]()</b>: URI: /api/amf/api.php IP Address: 27.147.166.56<br>
DEBUG [L0413] [1ms]: <b>[Function]()</b>: Version: 7.3.4 Edition: 10 Production: 1 Database: Type: postgres8 Name: timetrex Config: /var/www/html/timetrex.servicenginebd.net/includes/../timetrex.ini.php Demo Mode: 0<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: PHP ERROR - WARNING(2): date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you u<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: sed any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Dacca' for 'BDT/6.0/no DST' instead File: /var/www/html/timetrex.<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: servicenginebd.net/includes/Database.inc.php Line: 117<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #0.Debug::backTrace()<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #1.Debug::ErrorHandler(2, date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Dacca' for 'BDT/6.0/no DST' instead, /var/www/html/timetrex.ser<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: vicenginebd.net/includes/Database.inc.php, 117, Array(41))<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #2.date(e)<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #3.require_once(/var/www/html/timetrex.servicenginebd.net/includes/Database.inc.php)<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #4.require_once(/var/www/html/timetrex.servicenginebd.net/includes/global.inc.php)<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: <br>
DEBUG [L0167] [6ms]: <b>TTDate::setTimeZone()</b>: Setting TimeZone: Asia/Dacca<br>
DEBUG [L0402] [7ms]: <b>TTi18n::setLocale()</b>: Set Master Locale To: en_US<br>
DEBUG [L0520] [7ms]: <b>TTi18n::chooseBestLocale()</b>: Using Locale: en_US<br>
DEBUG [L0174] [8ms]: <b>SabreAMF_CallbackServer::exec()</b>: Protocol: AMF0<br>
DEBUG [L0091] [8ms]: <b>ServiceMapper::unauthenticatedInvokeService()</b>: Service: core.APIProgressBar Method: get<br>
DEBUG [L0108] [8ms]: <b>ServiceMapper::invokeService()</b>: Service: APIAuthentication Method: get Class: APIAuthentication<br>
DEBUG [L0116] [9ms] Array: <b>ServiceMapper::invokeService()</b>: Arguments:
<pre>array(1) {
[0]=>
string(36) "37ECD02F-53CF-31FC-50B5-70CCD75F59E7"
}

</pre><br>
DEBUG [L0241] [9ms]: <b>[Function]()</b>: Server Response Time: 0.0083131790161133<br>
DEBUG [L0184] [9ms]: <b>Debug::Text()</b>: Detected PHP errors (1), emailing log...<br>
DEBUG [L0184] [9ms]: <b>Debug::Text()</b>: ---------------[ 17-Apr-2014 23:46:52 +0600 (PID: 14377) ]---------------<br>
DEBUG [L0213] [12ms] Array: <b>TTMail::Send()</b>: Attempting to send email To:
<pre>string(19) "errors@timetrex.com"

</pre><br>
DEBUG [L0225] [12ms]: <b>TTMail::Send()</b>: Sending Email: Body Size: 3199 Method: soap To: <br>
DEBUG [L0267] [696ms] Array: <b>TTMail::Send()</b>: Send Email Failed To: errors@timetrex.com
<pre>bool(false)

</pre><br>
DEBUG [L0275] [697ms] Array: <b>TTMail::Send()</b>: Send Email Failed!
<pre>bool(false)

</pre><br>
---------------[ 17-Apr-2014 23:46:53 +0600 (PID: 14377) ]---------------

---------------[ 17-Apr-2014 23:46:54 +0600 (PID: 14281) ]---------------
DEBUG [L0411] [1ms]: <b>[Function]()</b>: URI: /api/amf/api.php IP Address: 27.147.166.56<br>
DEBUG [L0413] [1ms]: <b>[Function]()</b>: Version: 7.3.4 Edition: 10 Production: 1 Database: Type: postgres8 Name: timetrex Config: /var/www/html/timetrex.servicenginebd.net/includes/../timetrex.ini.php Demo Mode: 0<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: PHP ERROR - WARNING(2): date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you u<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: sed any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Dacca' for 'BDT/6.0/no DST' instead File: /var/www/html/timetrex.<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: servicenginebd.net/includes/Database.inc.php Line: 117<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #0.Debug::backTrace()<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #1.Debug::ErrorHandler(2, date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Dacca' for 'BDT/6.0/no DST' instead, /var/www/html/timetrex.ser<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: vicenginebd.net/includes/Database.inc.php, 117, Array(41))<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #2.date(e)<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #3.require_once(/var/www/html/timetrex.servicenginebd.net/includes/Database.inc.php)<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #4.require_once(/var/www/html/timetrex.servicenginebd.net/includes/global.inc.php)<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: <br>
DEBUG [L0167] [7ms]: <b>TTDate::setTimeZone()</b>: Setting TimeZone: Asia/Dacca<br>
DEBUG [L0402] [7ms]: <b>TTi18n::setLocale()</b>: Set Master Locale To: en_US<br>
DEBUG [L0520] [7ms]: <b>TTi18n::chooseBestLocale()</b>: Using Locale: en_US<br>
DEBUG [L0174] [9ms]: <b>SabreAMF_CallbackServer::exec()</b>: Protocol: AMF0<br>
DEBUG [L0091] [9ms]: <b>ServiceMapper::unauthenticatedInvokeService()</b>: Service: core.APIProgressBar Method: get<br>
DEBUG [L0108] [9ms]: <b>ServiceMapper::invokeService()</b>: Service: APIAuthentication Method: get Class: APIAuthentication<br>
DEBUG [L0116] [9ms] Array: <b>ServiceMapper::invokeService()</b>: Arguments:
<pre>array(1) {
[0]=>
string(36) "37ECD02F-53CF-31FC-50B5-70CCD75F59E7"
}

</pre><br>
DEBUG [L0241] [9ms]: <b>[Function]()</b>: Server Response Time: 0.0086269378662109<br>
---------------[ 17-Apr-2014 23:46:54 +0600 (PID: 14281) ]---------------

---------------[ 17-Apr-2014 23:46:55 +0600 (PID: 14281) ]---------------
DEBUG [L0411] [1ms]: <b>[Function]()</b>: URI: /api/amf/api.php IP Address: 27.147.166.56<br>
DEBUG [L0413] [1ms]: <b>[Function]()</b>: Version: 7.3.4 Edition: 10 Production: 1 Database: Type: postgres8 Name: timetrex Config: /var/www/html/timetrex.servicenginebd.net/includes/../timetrex.ini.php Demo Mode: 0<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: PHP ERROR - WARNING(2): date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you u<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: sed any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Dacca' for 'BDT/6.0/no DST' instead File: /var/www/html/timetrex.<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: servicenginebd.net/includes/Database.inc.php Line: 117<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #0.Debug::backTrace()<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #1.Debug::ErrorHandler(2, date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Dacca' for 'BDT/6.0/no DST' instead, /var/www/html/timetrex.ser<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: vicenginebd.net/includes/Database.inc.php, 117, Array(41))<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #2.date(e)<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #3.require_once(/var/www/html/timetrex.servicenginebd.net/includes/Database.inc.php)<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #4.require_once(/var/www/html/timetrex.servicenginebd.net/includes/global.inc.php)<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: <br>
DEBUG [L0167] [7ms]: <b>TTDate::setTimeZone()</b>: Setting TimeZone: Asia/Dacca<br>
DEBUG [L0402] [7ms]: <b>TTi18n::setLocale()</b>: Set Master Locale To: en_US<br>
DEBUG [L0520] [7ms]: <b>TTi18n::chooseBestLocale()</b>: Using Locale: en_US<br>
DEBUG [L0174] [9ms]: <b>SabreAMF_CallbackServer::exec()</b>: Protocol: AMF0<br>
DEBUG [L0091] [9ms]: <b>ServiceMapper::unauthenticatedInvokeService()</b>: Service: core.APIProgressBar Method: get<br>
DEBUG [L0108] [9ms]: <b>ServiceMapper::invokeService()</b>: Service: APIAuthentication Method: get Class: APIAuthentication<br>
DEBUG [L0116] [9ms] Array: <b>ServiceMapper::invokeService()</b>: Arguments:
<pre>array(1) {
[0]=>
string(36) "37ECD02F-53CF-31FC-50B5-70CCD75F59E7"
}

</pre><br>
DEBUG [L0241] [9ms]: <b>[Function]()</b>: Server Response Time: 0.0086269378662109<br>
DEBUG [L0184] [9ms]: <b>Debug::Text()</b>: Detected PHP errors (1), emailing log...<br>
DEBUG [L0184] [9ms]: <b>Debug::Text()</b>: ---------------[ 17-Apr-2014 23:46:54 +0600 (PID: 14281) ]---------------<br>
DEBUG [L0213] [12ms] Array: <b>TTMail::Send()</b>: Attempting to send email To:
<pre>string(19) "errors@timetrex.com"

</pre><br>
DEBUG [L0225] [12ms]: <b>TTMail::Send()</b>: Sending Email: Body Size: 3199 Method: soap To: <br>
DEBUG [L0267] [721ms] Array: <b>TTMail::Send()</b>: Send Email Failed To: errors@timetrex.com
<pre>bool(false)

</pre><br>
DEBUG [L0275] [721ms] Array: <b>TTMail::Send()</b>: Send Email Failed!
<pre>bool(false)

</pre><br>
---------------[ 17-Apr-2014 23:46:55 +0600 (PID: 14281) ]---------------

---------------[ 17-Apr-2014 23:46:55 +0600 (PID: 14282) ]---------------
DEBUG [L0411] [1ms]: <b>[Function]()</b>: URI: /api/amf/api.php IP Address: 27.147.166.56<br>
DEBUG [L0413] [1ms]: <b>[Function]()</b>: Version: 7.3.4 Edition: 10 Production: 1 Database: Type: postgres8 Name: timetrex Config: /var/www/html/timetrex.servicenginebd.net/includes/../timetrex.ini.php Demo Mode: 0<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: PHP ERROR - WARNING(2): date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you u<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: sed any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Dacca' for 'BDT/6.0/no DST' instead File: /var/www/html/timetrex.<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: servicenginebd.net/includes/Database.inc.php Line: 117<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #0.Debug::backTrace()<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #1.Debug::ErrorHandler(2, date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Dacca' for 'BDT/6.0/no DST' instead, /var/www/html/timetrex.ser<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: vicenginebd.net/includes/Database.inc.php, 117, Array(41))<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #2.date(e)<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #3.require_once(/var/www/html/timetrex.servicenginebd.net/includes/Database.inc.php)<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #4.require_once(/var/www/html/timetrex.servicenginebd.net/includes/global.inc.php)<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: <br>
DEBUG [L0167] [6ms]: <b>TTDate::setTimeZone()</b>: Setting TimeZone: Asia/Dacca<br>
DEBUG [L0402] [7ms]: <b>TTi18n::setLocale()</b>: Set Master Locale To: en_US<br>
DEBUG [L0520] [7ms]: <b>TTi18n::chooseBestLocale()</b>: Using Locale: en_US<br>
DEBUG [L0174] [8ms]: <b>SabreAMF_CallbackServer::exec()</b>: Protocol: AMF0<br>
DEBUG [L0091] [8ms]: <b>ServiceMapper::unauthenticatedInvokeService()</b>: Service: core.APIProgressBar Method: get<br>
DEBUG [L0108] [8ms]: <b>ServiceMapper::invokeService()</b>: Service: APIAuthentication Method: get Class: APIAuthentication<br>
DEBUG [L0116] [9ms] Array: <b>ServiceMapper::invokeService()</b>: Arguments:
<pre>array(1) {
[0]=>
string(36) "37ECD02F-53CF-31FC-50B5-70CCD75F59E7"
}

</pre><br>
DEBUG [L0241] [9ms]: <b>[Function]()</b>: Server Response Time: 0.0083169937133789<br>
---------------[ 17-Apr-2014 23:46:55 +0600 (PID: 14282) ]---------------

---------------[ 17-Apr-2014 23:46:56 +0600 (PID: 14282) ]---------------
DEBUG [L0411] [1ms]: <b>[Function]()</b>: URI: /api/amf/api.php IP Address: 27.147.166.56<br>
DEBUG [L0413] [1ms]: <b>[Function]()</b>: Version: 7.3.4 Edition: 10 Production: 1 Database: Type: postgres8 Name: timetrex Config: /var/www/html/timetrex.servicenginebd.net/includes/../timetrex.ini.php Demo Mode: 0<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: PHP ERROR - WARNING(2): date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you u<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: sed any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Dacca' for 'BDT/6.0/no DST' instead File: /var/www/html/timetrex.<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: servicenginebd.net/includes/Database.inc.php Line: 117<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #0.Debug::backTrace()<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #1.Debug::ErrorHandler(2, date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Dacca' for 'BDT/6.0/no DST' instead, /var/www/html/timetrex.ser<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: vicenginebd.net/includes/Database.inc.php, 117, Array(41))<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #2.date(e)<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #3.require_once(/var/www/html/timetrex.servicenginebd.net/includes/Database.inc.php)<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #4.require_once(/var/www/html/timetrex.servicenginebd.net/includes/global.inc.php)<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: <br>
DEBUG [L0167] [6ms]: <b>TTDate::setTimeZone()</b>: Setting TimeZone: Asia/Dacca<br>
DEBUG [L0402] [7ms]: <b>TTi18n::setLocale()</b>: Set Master Locale To: en_US<br>
DEBUG [L0520] [7ms]: <b>TTi18n::chooseBestLocale()</b>: Using Locale: en_US<br>
DEBUG [L0174] [8ms]: <b>SabreAMF_CallbackServer::exec()</b>: Protocol: AMF0<br>
DEBUG [L0091] [8ms]: <b>ServiceMapper::unauthenticatedInvokeService()</b>: Service: core.APIProgressBar Method: get<br>
DEBUG [L0108] [8ms]: <b>ServiceMapper::invokeService()</b>: Service: APIAuthentication Method: get Class: APIAuthentication<br>
DEBUG [L0116] [9ms] Array: <b>ServiceMapper::invokeService()</b>: Arguments:
<pre>array(1) {
[0]=>
string(36) "37ECD02F-53CF-31FC-50B5-70CCD75F59E7"
}

</pre><br>
DEBUG [L0241] [9ms]: <b>[Function]()</b>: Server Response Time: 0.0083169937133789<br>
DEBUG [L0184] [9ms]: <b>Debug::Text()</b>: Detected PHP errors (1), emailing log...<br>
DEBUG [L0184] [9ms]: <b>Debug::Text()</b>: ---------------[ 17-Apr-2014 23:46:55 +0600 (PID: 14282) ]---------------<br>
DEBUG [L0213] [12ms] Array: <b>TTMail::Send()</b>: Attempting to send email To:
<pre>string(19) "errors@timetrex.com"

</pre><br>
DEBUG [L0225] [12ms]: <b>TTMail::Send()</b>: Sending Email: Body Size: 3199 Method: soap To: <br>
DEBUG [L0267] [711ms] Array: <b>TTMail::Send()</b>: Send Email Failed To: errors@timetrex.com
<pre>bool(false)

</pre><br>
DEBUG [L0275] [711ms] Array: <b>TTMail::Send()</b>: Send Email Failed!
<pre>bool(false)

</pre><br>
---------------[ 17-Apr-2014 23:46:56 +0600 (PID: 14282) ]---------------

---------------[ 17-Apr-2014 23:46:57 +0600 (PID: 14280) ]---------------
DEBUG [L0411] [1ms]: <b>[Function]()</b>: URI: /api/amf/api.php IP Address: 27.147.166.56<br>
DEBUG [L0413] [1ms]: <b>[Function]()</b>: Version: 7.3.4 Edition: 10 Production: 1 Database: Type: postgres8 Name: timetrex Config: /var/www/html/timetrex.servicenginebd.net/includes/../timetrex.ini.php Demo Mode: 0<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: PHP ERROR - WARNING(2): date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you u<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: sed any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Dacca' for 'BDT/6.0/no DST' instead File: /var/www/html/timetrex.<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: servicenginebd.net/includes/Database.inc.php Line: 117<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #0.Debug::backTrace()<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #1.Debug::ErrorHandler(2, date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Dacca' for 'BDT/6.0/no DST' instead, /var/www/html/timetrex.ser<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: vicenginebd.net/includes/Database.inc.php, 117, Array(41))<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #2.date(e)<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #3.require_once(/var/www/html/timetrex.servicenginebd.net/includes/Database.inc.php)<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #4.require_once(/var/www/html/timetrex.servicenginebd.net/includes/global.inc.php)<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: <br>
DEBUG [L0167] [7ms]: <b>TTDate::setTimeZone()</b>: Setting TimeZone: Asia/Dacca<br>
DEBUG [L0402] [7ms]: <b>TTi18n::setLocale()</b>: Set Master Locale To: en_US<br>
DEBUG [L0520] [7ms]: <b>TTi18n::chooseBestLocale()</b>: Using Locale: en_US<br>
DEBUG [L0154] [9ms]: <b>SabreAMF_CallbackServer::exec()</b>: Protocol: AMF3<br>
DEBUG [L0091] [9ms]: <b>ServiceMapper::unauthenticatedInvokeService()</b>: Service: APIAuthentication Method: Login<br>
DEBUG [L0108] [9ms]: <b>ServiceMapper::invokeService()</b>: Service: APIAuthentication Method: Login Class: APIAuthentication<br>
DEBUG [L0116] [9ms] Array: <b>ServiceMapper::invokeService()</b>: Arguments:
<pre>array(2) {
[0]=>
string(4) "test"
[1]=>
string(4) "test"
}

</pre><br>
DEBUG [L0058] [9ms]: <b>APIAuthentication::Login()</b>: User Name: test Password Length: 4 Type: USER_NAME<br>
DEBUG [L0571] [10ms]: <b>Authentication::Login()</b>: Login Type: USER_NAME<br>
DEBUG [L0260] [17ms]: <b>Authentication::checkCompanyStatus()</b>: Company Status: 10<br>
DEBUG [L0258] [18ms]: <b>TTLDAP::authenticate()</b>: LDAP: Host: ldap.servicenginebd.net Port: 389 Bind User Name: uid=root,ou=People,dc=servicenginebd,dc=net Bind Password: ######## Bind DN: test, ou=People,dc=servicenginebd,dc=net Base DN: ou=Pe<br>
DEBUG [L0258] [18ms]: <b>TTLDAP::authenticate()</b>: ople,dc=servicenginebd,dc=net Bind Authentication Mode: 0 Password: test<br>
DEBUG [L0280] [3676ms]: <b>TTLDAP::authenticate()</b>: LDAP BindUser Authentication Mode...<br>
DEBUG [L0284] [3764ms]: <b>TTLDAP::authenticate()</b>: LDAP Connection Result: 1<br>
DEBUG [L0291] [3764ms]: <b>TTLDAP::authenticate()</b>: LDAP Filter User: <br>
DEBUG [L0367] [3764ms]: <b>TTLDAP::authenticate()</b>: LDAP authentication result: 0 Total Time: 3.7460830211639s<br>
DEBUG [L0772] [3764ms]: <b>UserFactory::checkPassword()</b>: LDAP authentication failed, falling back to local password...<br>
DEBUG [L1531] [3765ms]: <b>Factory::StartTransaction()</b>: StartTransaction(): Transaction Count: 0 Trans Off: 0<br>
DEBUG [L1586] [3765ms]: <b>Factory::Save()</b>: Calling preSave()<br>
DEBUG [L1624] [3766ms]: <b>Factory::Save()</b>: Insert ID: 388<br>
DEBUG [L1509] [3766ms]: <b>Factory::getInsertQuery()</b>: Insert<br>
DEBUG [L1541] [3770ms]: <b>Factory::CommitTransaction()</b>: CommitTransaction(): Transaction Count: 1 Trans Off: 1<br>
DEBUG [L0095] [3771ms]: <b>TTLog::addEntry()</b>: LogDetail Disabled... Object ID: 2 Action ID: 510 Table: users Description: LDAP Authentication failed, falling back to local password for username: testIP Address: 27.147.166.56<br>
DEBUG [L0634] [3771ms]: <b>Authentication::Login()</b>: Login Failed! Attempt: 5<br>
DEBUG [L0792] [5773ms]: <b>Validator::Error()</b>: Validation Error: Label: user_name Value: "0" Msg: User Name or Password is incorrect<br>
DEBUG [L0282] [5773ms] Array: <b>APIFactory::returnHandler()</b>: returnHandler ERROR: 0
<pre>array(2) {
["api_retval"]=>
bool(false)
["api_details"]=>
array(5) {
["code"]=>
string(10) "VALIDATION"
["description"]=>
string(12) "INVALID DATA"
["record_details"]=>
array(3) {
["total"]=>
int(1)
["valid"]=>
int(0)
["invalid"]=>
int(1)
}
["user_generic_status_batch_id"]=>
bool(false)
["details"]=>
array(1) {
[0]=>
array(1) {
["user_name"]=>
array(1) {
[0]=>
string(34) "User Name or Password is incorrect"
}
}
}
}
}

</pre><br>
DEBUG [L0155] [5773ms]: <b>ServiceMapper::invokeService()</b>: Returning 337 bytes of data... Response Time: 5.7639050483704<br>
DEBUG [L0241] [5773ms]: <b>[Function]()</b>: Server Response Time: 5.7726919651031<br>
---------------[ 17-Apr-2014 23:46:57 +0600 (PID: 14280) ]---------------

---------------[ 17-Apr-2014 23:46:57 +0600 (PID: 14376) ]---------------
DEBUG [L0411] [1ms]: <b>[Function]()</b>: URI: /api/amf/api.php IP Address: 27.147.166.56<br>
DEBUG [L0413] [1ms]: <b>[Function]()</b>: Version: 7.3.4 Edition: 10 Production: 1 Database: Type: postgres8 Name: timetrex Config: /var/www/html/timetrex.servicenginebd.net/includes/../timetrex.ini.php Demo Mode: 0<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: PHP ERROR - WARNING(2): date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you u<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: sed any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Dacca' for 'BDT/6.0/no DST' instead File: /var/www/html/timetrex.<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: servicenginebd.net/includes/Database.inc.php Line: 117<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #0.Debug::backTrace()<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #1.Debug::ErrorHandler(2, date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Dacca' for 'BDT/6.0/no DST' instead, /var/www/html/timetrex.ser<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: vicenginebd.net/includes/Database.inc.php, 117, Array(41))<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #2.date(e)<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #3.require_once(/var/www/html/timetrex.servicenginebd.net/includes/Database.inc.php)<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #4.require_once(/var/www/html/timetrex.servicenginebd.net/includes/global.inc.php)<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: <br>
DEBUG [L0167] [6ms]: <b>TTDate::setTimeZone()</b>: Setting TimeZone: Asia/Dacca<br>
DEBUG [L0402] [7ms]: <b>TTi18n::setLocale()</b>: Set Master Locale To: en_US<br>
DEBUG [L0520] [7ms]: <b>TTi18n::chooseBestLocale()</b>: Using Locale: en_US<br>
DEBUG [L0174] [8ms]: <b>SabreAMF_CallbackServer::exec()</b>: Protocol: AMF0<br>
DEBUG [L0091] [8ms]: <b>ServiceMapper::unauthenticatedInvokeService()</b>: Service: core.APIProgressBar Method: get<br>
DEBUG [L0108] [8ms]: <b>ServiceMapper::invokeService()</b>: Service: APIAuthentication Method: get Class: APIAuthentication<br>
DEBUG [L0116] [8ms] Array: <b>ServiceMapper::invokeService()</b>: Arguments:
<pre>array(1) {
[0]=>
string(36) "37ECD02F-53CF-31FC-50B5-70CCD75F59E7"
}

</pre><br>
DEBUG [L0241] [9ms]: <b>[Function]()</b>: Server Response Time: 0.0081801414489746<br>
---------------[ 17-Apr-2014 23:46:57 +0600 (PID: 14376) ]---------------

---------------[ 17-Apr-2014 23:46:58 +0600 (PID: 14376) ]---------------
DEBUG [L0411] [1ms]: <b>[Function]()</b>: URI: /api/amf/api.php IP Address: 27.147.166.56<br>
DEBUG [L0413] [1ms]: <b>[Function]()</b>: Version: 7.3.4 Edition: 10 Production: 1 Database: Type: postgres8 Name: timetrex Config: /var/www/html/timetrex.servicenginebd.net/includes/../timetrex.ini.php Demo Mode: 0<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: PHP ERROR - WARNING(2): date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you u<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: sed any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Dacca' for 'BDT/6.0/no DST' instead File: /var/www/html/timetrex.<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: servicenginebd.net/includes/Database.inc.php Line: 117<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #0.Debug::backTrace()<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #1.Debug::ErrorHandler(2, date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Dacca' for 'BDT/6.0/no DST' instead, /var/www/html/timetrex.ser<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: vicenginebd.net/includes/Database.inc.php, 117, Array(41))<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #2.date(e)<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #3.require_once(/var/www/html/timetrex.servicenginebd.net/includes/Database.inc.php)<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #4.require_once(/var/www/html/timetrex.servicenginebd.net/includes/global.inc.php)<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: <br>
DEBUG [L0167] [6ms]: <b>TTDate::setTimeZone()</b>: Setting TimeZone: Asia/Dacca<br>
DEBUG [L0402] [7ms]: <b>TTi18n::setLocale()</b>: Set Master Locale To: en_US<br>
DEBUG [L0520] [7ms]: <b>TTi18n::chooseBestLocale()</b>: Using Locale: en_US<br>
DEBUG [L0174] [8ms]: <b>SabreAMF_CallbackServer::exec()</b>: Protocol: AMF0<br>
DEBUG [L0091] [8ms]: <b>ServiceMapper::unauthenticatedInvokeService()</b>: Service: core.APIProgressBar Method: get<br>
DEBUG [L0108] [8ms]: <b>ServiceMapper::invokeService()</b>: Service: APIAuthentication Method: get Class: APIAuthentication<br>
DEBUG [L0116] [8ms] Array: <b>ServiceMapper::invokeService()</b>: Arguments:
<pre>array(1) {
[0]=>
string(36) "37ECD02F-53CF-31FC-50B5-70CCD75F59E7"
}

</pre><br>
DEBUG [L0241] [9ms]: <b>[Function]()</b>: Server Response Time: 0.0081801414489746<br>
DEBUG [L0184] [9ms]: <b>Debug::Text()</b>: Detected PHP errors (1), emailing log...<br>
DEBUG [L0184] [9ms]: <b>Debug::Text()</b>: ---------------[ 17-Apr-2014 23:46:57 +0600 (PID: 14376) ]---------------<br>
DEBUG [L0213] [12ms] Array: <b>TTMail::Send()</b>: Attempting to send email To:
<pre>string(19) "errors@timetrex.com"

</pre><br>
DEBUG [L0225] [12ms]: <b>TTMail::Send()</b>: Sending Email: Body Size: 3199 Method: soap To: <br>
DEBUG [L0267] [707ms] Array: <b>TTMail::Send()</b>: Send Email Failed To: errors@timetrex.com
<pre>bool(false)

</pre><br>
DEBUG [L0275] [707ms] Array: <b>TTMail::Send()</b>: Send Email Failed!
<pre>bool(false)

</pre><br>
---------------[ 17-Apr-2014 23:46:58 +0600 (PID: 14376) ]---------------

---------------[ 17-Apr-2014 23:46:58 +0600 (PID: 14280) ]---------------
DEBUG [L0411] [1ms]: <b>[Function]()</b>: URI: /api/amf/api.php IP Address: 27.147.166.56<br>
DEBUG [L0413] [1ms]: <b>[Function]()</b>: Version: 7.3.4 Edition: 10 Production: 1 Database: Type: postgres8 Name: timetrex Config: /var/www/html/timetrex.servicenginebd.net/includes/../timetrex.ini.php Demo Mode: 0<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: PHP ERROR - WARNING(2): date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you u<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: sed any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Dacca' for 'BDT/6.0/no DST' instead File: /var/www/html/timetrex.<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: servicenginebd.net/includes/Database.inc.php Line: 117<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #0.Debug::backTrace()<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #1.Debug::ErrorHandler(2, date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Dacca' for 'BDT/6.0/no DST' instead, /var/www/html/timetrex.ser<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: vicenginebd.net/includes/Database.inc.php, 117, Array(41))<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #2.date(e)<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #3.require_once(/var/www/html/timetrex.servicenginebd.net/includes/Database.inc.php)<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: #4.require_once(/var/www/html/timetrex.servicenginebd.net/includes/global.inc.php)<br>
DEBUG [L0117] [6ms]: <b>Debug::ErrorHandler()</b>: <br>
DEBUG [L0167] [7ms]: <b>TTDate::setTimeZone()</b>: Setting TimeZone: Asia/Dacca<br>
DEBUG [L0402] [7ms]: <b>TTi18n::setLocale()</b>: Set Master Locale To: en_US<br>
DEBUG [L0520] [7ms]: <b>TTi18n::chooseBestLocale()</b>: Using Locale: en_US<br>
DEBUG [L0154] [9ms]: <b>SabreAMF_CallbackServer::exec()</b>: Protocol: AMF3<br>
DEBUG [L0091] [9ms]: <b>ServiceMapper::unauthenticatedInvokeService()</b>: Service: APIAuthentication Method: Login<br>
DEBUG [L0108] [9ms]: <b>ServiceMapper::invokeService()</b>: Service: APIAuthentication Method: Login Class: APIAuthentication<br>
DEBUG [L0116] [9ms] Array: <b>ServiceMapper::invokeService()</b>: Arguments:
<pre>array(2) {
[0]=>
string(4) "test"
[1]=>
string(4) "test"
}

</pre><br>
DEBUG [L0058] [9ms]: <b>APIAuthentication::Login()</b>: User Name: test Password Length: 4 Type: USER_NAME<br>
DEBUG [L0571] [10ms]: <b>Authentication::Login()</b>: Login Type: USER_NAME<br>
DEBUG [L0260] [17ms]: <b>Authentication::checkCompanyStatus()</b>: Company Status: 10<br>
DEBUG [L0258] [18ms]: <b>TTLDAP::authenticate()</b>: LDAP: Host: ldap.servicenginebd.net Port: 389 Bind User Name: uid=root,ou=People,dc=servicenginebd,dc=net Bind Password: ######## Bind DN: test, ou=People,dc=servicenginebd,dc=net Base DN: ou=Pe<br>
DEBUG [L0258] [18ms]: <b>TTLDAP::authenticate()</b>: ople,dc=servicenginebd,dc=net Bind Authentication Mode: 0 Password: test<br>
DEBUG [L0280] [3676ms]: <b>TTLDAP::authenticate()</b>: LDAP BindUser Authentication Mode...<br>
DEBUG [L0284] [3764ms]: <b>TTLDAP::authenticate()</b>: LDAP Connection Result: 1<br>
DEBUG [L0291] [3764ms]: <b>TTLDAP::authenticate()</b>: LDAP Filter User: <br>
DEBUG [L0367] [3764ms]: <b>TTLDAP::authenticate()</b>: LDAP authentication result: 0 Total Time: 3.7460830211639s<br>
DEBUG [L0772] [3764ms]: <b>UserFactory::checkPassword()</b>: LDAP authentication failed, falling back to local password...<br>
DEBUG [L1531] [3765ms]: <b>Factory::StartTransaction()</b>: StartTransaction(): Transaction Count: 0 Trans Off: 0<br>
DEBUG [L1586] [3765ms]: <b>Factory::Save()</b>: Calling preSave()<br>
DEBUG [L1624] [3766ms]: <b>Factory::Save()</b>: Insert ID: 388<br>
DEBUG [L1509] [3766ms]: <b>Factory::getInsertQuery()</b>: Insert<br>
DEBUG [L1541] [3770ms]: <b>Factory::CommitTransaction()</b>: CommitTransaction(): Transaction Count: 1 Trans Off: 1<br>
DEBUG [L0095] [3771ms]: <b>TTLog::addEntry()</b>: LogDetail Disabled... Object ID: 2 Action ID: 510 Table: users Description: LDAP Authentication failed, falling back to local password for username: testIP Address: 27.147.166.56<br>
DEBUG [L0634] [3771ms]: <b>Authentication::Login()</b>: Login Failed! Attempt: 5<br>
DEBUG [L0792] [5773ms]: <b>Validator::Error()</b>: Validation Error: Label: user_name Value: "0" Msg: User Name or Password is incorrect<br>
DEBUG [L0282] [5773ms] Array: <b>APIFactory::returnHandler()</b>: returnHandler ERROR: 0
<pre>array(2) {
["api_retval"]=>
bool(false)
["api_details"]=>
array(5) {
["code"]=>
string(10) "VALIDATION"
["description"]=>
string(12) "INVALID DATA"
["record_details"]=>
array(3) {
["total"]=>
int(1)
["valid"]=>
int(0)
["invalid"]=>
int(1)
}
["user_generic_status_batch_id"]=>
bool(false)
["details"]=>
array(1) {
[0]=>
array(1) {
["user_name"]=>
array(1) {
[0]=>
string(34) "User Name or Password is incorrect"
}
}
}
}
}

</pre><br>
DEBUG [L0155] [5773ms]: <b>ServiceMapper::invokeService()</b>: Returning 337 bytes of data... Response Time: 5.7639050483704<br>
DEBUG [L0241] [5773ms]: <b>[Function]()</b>: Server Response Time: 5.7726919651031<br>
DEBUG [L0184] [5773ms]: <b>Debug::Text()</b>: Detected PHP errors (1), emailing log...<br>
DEBUG [L0184] [5773ms]: <b>Debug::Text()</b>: ---------------[ 17-Apr-2014 23:46:57 +0600 (PID: 14280) ]---------------<br>
DEBUG [L0213] [5779ms] Array: <b>TTMail::Send()</b>: Attempting to send email To:
<pre>string(19) "errors@timetrex.com"

</pre><br>
DEBUG [L0225] [5779ms]: <b>TTMail::Send()</b>: Sending Email: Body Size: 6259 Method: soap To: <br>
DEBUG [L0267] [6778ms] Array: <b>TTMail::Send()</b>: Send Email Failed To: errors@timetrex.com
<pre>bool(false)

</pre><br>
DEBUG [L0275] [6778ms] Array: <b>TTMail::Send()</b>: Send Email Failed!
<pre>bool(false)

</pre><br>
---------------[ 17-Apr-2014 23:46:58 +0600 (PID: 14280) ]---------------
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: LDAP Configuration problem with 7.3.4

Post by shaunw »

The issue is the exact same, only instead of anonymous binding you are binding as a specific user, but you aren't looking up any other data (such as bind attributes/filters, etc...) so there is nothing for TimeTrex to do.

If the usernames specified in TimeTrex can authenticate directly with LDAP, try not specifying any bind username/password, so it will attempt to bind with the specified employee username/password instead. You should probably specify the Base DN and Bind Attribute (uid?) though.
dewanshamsul
Posts: 8
Joined: Wed Apr 16, 2014 5:54 am

Re: LDAP Configuration problem with 7.3.4

Post by dewanshamsul »

Current config is
Capture.PNG
And it worked! Thanks a lot for helping me out.

I would recommend removing the help text that says for anonymous binding enter: anonymous
That's what created all the confusion in the first place.
Locked