LDAP, centos6, x64, LDAP could not get search results, ...

Started by sodalist, October 20, 2015, 12:55:44 PM

Previous topic - Next topic

sodalist

Environment:

-----------------------------------
os: CentOS release 6.7 (Final)
arch: x86_64
netxms: netxms-2.0-RC2
openldap: 2.4.40-6.el6_7
-----------------------------------

Ldap server:
-----------------------------------
MS AD
ldap policy: Show Values

Policy                          Current(New)

MaxPoolThreads        4
MaxDatagramRecv     4096
MaxReceiveBuffer      10485760
InitRecvTimeout        120
MaxConnections         5000
MaxConnIdleTime      900
MaxPageSize             20000
MaxQueryDuration     120
MaxTempTableSize    10000
MaxResultSetSize      262144
MinResultSets                0
MaxResultSetsPerConn    0
MaxNotificationPerConn   5
MaxValRange                 25000
ThreadMemoryLimit        0
SystemMemoryLimitPercent 0
-----------------------------------

-----------------------------------
netxmsd: debug 4
netxmsd: ldapsync

returns:
[DEBUG] LDAPConnection::initLDAP(): Connecting to LDAP server
[DEBUG] LDAPConnection::syncUsers(): LDAP could not get search results. Error code: Operations error
[DEBUG] LDAPConnection::closeLDAPConnection(): Disconnect form LDAP server
-----------------------------------

Query using command line ldapsearch works on server running netxmsd.

TcpDump shows:
-----------------------------------
1. bind was successful
2. search filter works and was applied correctly
3. search results were returned
-----------------------------------

tried:
- TLS (on/off) same results
- removal of all special characters on all places (password/bind user/ldap path)
- filter on/off
- ...


thank you for your help,

Br, Ales