Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. LDAP, centos6, x64, LDAP could not get search results, ...

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

Scheduled Pinned Locked Moved Support
2 Posts 1 Posters 19.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S
    S
    sodalist
    wrote on last edited by
    #1

    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


    image_20151020-9.png

    1 Reply Last reply
    0
    • S
      S
      sodalist
      wrote on last edited by
      #2

      Solved in v2.0.0.

      Br, Ales

      1 Reply Last reply
      0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      Powered by NodeBB Contributors
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups