LDAP using zentyal 4.1

Topics brought up by the TimeTrex open source community.
Post Reply
wiki
Posts: 25
Joined: Wed Apr 29, 2015 8:29 pm

LDAP using zentyal 4.1

Post by wiki » Sat May 02, 2015 2:32 am

Hi!

This is my first time here!

Currently in testing mode, played around the timetrex interface. Test the LDAP feature which is I'm sure a part of the community version. but cannot make it to work. Is there any step by step guide or implementation on setting the LDAP.

I'd search everywhere but It seems that there's no working guide about this matter.

here's my log!

------------------------------
DEBUG [L0254] [26ms]: TTLDAP::authenticate(): LDAP: Host: icaspdc.icascalarian.edu Port: 389 Bind User Name: sysadmin Bind Password: bios042103 Bind DN: userPrincipalName=sysadmin, CN=Users,DC=icascalarian,DC=edu Base DN: CN=Users,DC=icascalarian
DEBUG [L0254] [26ms]: TTLDAP::authenticate(): ,DC=edu Bind Authentication Mode: 0 Password: ************
DEBUG [L0276] [338ms]: TTLDAP::authenticate(): LDAP BindUser Authentication Mode...
DEBUG [L0283] [342ms]: TTLDAP::authenticate(): LDAP Connection Failed!: ldap error: [49: Binding: Invalid credentials] in CONNECT(icaspdc.icascalarian.edu, 'sysadmin', '****', CN=Users,DC=icascalarian,DC=edu)

DEBUG [L0287] [342ms]: TTLDAP::authenticate(): LDAP Filter User:
DEBUG [L0364] [342ms]: TTLDAP::authenticate(): LDAP authentication result: 0 Total Time: 0.31663513183594s
DEBUG [L0815] [342ms]: UserFactory::checkPassword(): LDAP authentication failed, falling back to local password...
--------------------------------


Thanks

Arniel

shaunw
Posts: 7483
Joined: Tue Sep 19, 2006 2:22 pm

Re: LDAP using zentyal 4.1

Post by shaunw » Thu May 07, 2015 9:44 am

The LDAP credentials you specified are incorrect, therefore TimeTrex can't connect to your LDAP server.

wiki
Posts: 25
Joined: Wed Apr 29, 2015 8:29 pm

Re: LDAP using zentyal 4.1

Post by wiki » Tue May 12, 2015 12:42 am

shaunw wrote:The LDAP credentials you specified are incorrect, therefore TimeTrex can't connect to your LDAP server.

I double check all my LDAP setting, also playing with other different settings from the other thread but it just doesn't work, It gives the same error on the timerex log.
---------------[ 12-May-2015 15:35:25 +0800 [1431416125.7734] (PID: 1878) ]---------------
DEBUG [L0438] [2ms]: [Function](): URI: /icashr/api/json/api.php?Class=APIAuthentication&Method=Login&v=2&StationID=749204270fb48b808a8cc359737f68c3&MessageID=dca23531-87da-b858-3008-50d83dfe3494 IP Address: 192.168.1.8
DEBUG [L0441] [2ms]: [Function](): USER-AGENT: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0
DEBUG [L0445] [2ms]: [Function](): Version: 8.0.7 Edition: 10 Production: 1 Database: Type: mysqli Name: icashr Config: /var/www/html/icashr/includes/../timetrex.ini.php Demo Mode: 0
DEBUG [L0163] [11ms]: TTDate::setTimeZone(): Setting TimeZone: Asia/Manila
DEBUG [L0224] [12ms]: [Function](): Handling JSON Call To API Factory: APIAuthentication Method: Login Message ID: dca23531-87da-b858-3008-50d83dfe3494
DEBUG [L0259] [12ms] Array: [Function](): Arguments: (Size: 47)
array(2) {
[0]=>
string(8) "sysadmin"
[1]=>
string(10) "***********"
}


DEBUG [L0283] [13ms]: [Function](): No SessionID or calling non-authenticated function...
DEBUG [L0433] [14ms]: TTi18n::getBrowserLanguage(): HTTP_ACCEPT_LANGUAGE: en-US,en;q=0.5
DEBUG [L0417] [15ms]: TTi18n::setLocale(): Set Master Locale To: en_US
DEBUG [L0537] [15ms]: TTi18n::chooseBestLocale(): Unable to find and set a locale.
DEBUG [L0082] [15ms]: unauthenticatedInvokeService(): Handling UNAUTHENTICATED JSON Call To API Factory: APIAuthentication Method: Login Message ID: dca23531-87da-b858-3008-50d83dfe3494
DEBUG [L0054] [16ms]: APIAuthentication::Login(): User Name: sysadmin Password Length: 10 Type: USER_NAME
DEBUG [L0608] [16ms]: Authentication::Login(): Login Type: USER_NAME
DEBUG [L0259] [28ms]: Authentication::checkCompanyStatus(): Company Status: 10
DEBUG [L0254] [30ms]: TTLDAP::authenticate(): LDAP: Host: 192.168.1.251 Port: 389 Bind User Name: Bind Password: Bind DN: uid=sysadmin, DC=icascalarian,DC=edu Base DN: DC=icascalarian,DC=edu Bind Authentication Mode: 1 Password: *****
DEBUG [L0264] [30ms]: TTLDAP::authenticate(): aLDAP Bind Authentication Mode...
DEBUG [L0268] [34ms]: TTLDAP::authenticate(): bLDAP Bind Authentication Mode...
DEBUG [L0283] [36ms]: TTLDAP::authenticate(): LDAP Connection Failed!: ldap error: [49: Binding: Invalid credentials] in CONNECT(192.168.1.251, 'uid=sysadmin, DC=icascalarian,DC=edu', '****', DC=icascalarian,DC=edu)

DEBUG [L0287] [36ms]: TTLDAP::authenticate(): LDAP Filter User:
DEBUG [L0364] [36ms]: TTLDAP::authenticate(): LDAP authentication result: 0 Total Time: 0.0070140361785889s
DEBUG [L0815] [36ms]: UserFactory::checkPassword(): LDAP authentication failed, falling back to local password...
DEBUG [L1661] [38ms]: Factory::StartTransaction(): StartTransaction(): Transaction Count: 0 Trans Off: 0

zwe
Posts: 1
Joined: Fri Jul 20, 2018 3:20 am

Re: LDAP using zentyal 4.1

Post by zwe » Sat Jul 21, 2018 12:30 am

Hi ,


Anyone updated for this post? i am also facing same issues .If anyone suggest , thanks .

Post Reply