Cognos Analytics

 View Only
  • 1.  LDAP entities only show when you search for them

    Posted Mon January 28, 2019 09:37 AM
    I created a group in our OpenLDAP setup with a user. I can see that group and user when I go to People > Accounts and then search for my group, not when I open the group.

    When I create a Security Definition and click my LDAP namespace, a spinner starts that says: "Loading Data..."

    Well, it says that, but Cognos is not loading anything. You must search for whatever you are looking for, and only then will you find your groups & users.

    While not a 100% bug, it is surely a usability issue.

    ------------------------------
    Reinier Battenberg
    https://github.com/CognosExt
    ------------------------------

    #CognosAnalyticswithWatson


  • 2.  RE: LDAP entities only show when you search for them

    Posted Tue January 29, 2019 01:50 PM
    Hi Reinier,

    So when in Cognos you are not able to see users unless you search them ?

    What security definition did you define ?

    Are there any errors that you can see from the network tab in the browser?

    IE - Setting -> F12 developer tools -> Network -try and load users
    Firefox - Three dots -> Web Developer -> Network -> try and load users
    Chrome -> Three dots -> More Tools -> Developer Tools -> Network tab -> try and load users

    ------------------------------
    Adebimpe Adefowora
    IBM
    Ottawa Canada
    ------------------------------



  • 3.  RE: LDAP entities only show when you search for them

    Posted Wed January 30, 2019 02:06 PM
    Hi Adebimpe,

    I create security filters (sorry, I used the wrong name) on tables in a datamodule.

    Here are my findings:



    Accounts > People> LDAP namespace:
    https://myserver/ibmcognos/bi/v1/namespaces/xQ29nbm9zRXh0/items?sorting=defaultName|asc&page=0|201&_=1548874052852

    response: {"data":[]}

    Data Module security filter LDAP namespace:
    https://myserver/ibmcognos/bi/v1/namespaces/xQ29nbm9zRXh0/items?_=1548874588415&sorting=defaultName|asc&page=0|0

    response: {"data":[]}

    Data Module security filter Cognos namespace:
    https://srv06.gologic.eu/ibmcognos/bi/v1/namespaces/xOg__/items?_=1548874671746&sorting=defaultName|asc&page=0|0

    response: lots of entries in the json

    When I search for 'bel' in the LDAP namespace:

    https://myserver/ibmcognos/bi/v1/namespaces/xQ29nbm9zRXh0/search?types=namespace,namespaceFolder,account,role,group&method=contains&fields=position,email,surname,givenName,userName,format,options,contentLocale,productLocale,timeZoneID,searchPath,tenantID,ancestors,permissions,disabled,defaultName,objectClass,defaultDescription&filter=bel&sort=+defaultName&limit=200&offset=0

    And that returns entries successfully, too.

    The entries also work, as in, once you searched them and selected for example a group, Cognos knows which users are in that group, so it seems that the LDAP config is working.

    rgds,
    Reinier

    ------------------------------
    Reinier Battenberg
    https://github.com/CognosExt
    ------------------------------



  • 4.  RE: LDAP entities only show when you search for them

    Posted Thu January 31, 2019 02:55 PM
    Hi Reinier, 

    I am not able to access your environment. 

    I would recommend opening a ticket with support so that they can better help diagnose the issue you are seeing.

    ------------------------------
    Adebimpe Adefowora
    IBM
    Ottawa Canada
    ------------------------------