Coder Social home page Coder Social logo

Comments (8)

feisley avatar feisley commented on June 21, 2024

Jan,

So by default it will try an use "position" and "department" as the attribute lookups from AD/LDAP. You will need to specify the "contextAttribute" to tell Adam which AD/LDAP attribute should be pulled for the particular element.

For example, this is our configuration for our LDAP server:

            <element id="position" defaultForReports="true">
                <contextAttribute id="title" />
                <template>$!{title}</template>
            </element>

The LDAP attribute that holds the users "position" is "title" so Adam will query the title and then fill it in to the "position" field during sync.

Cheers,
Jacob

from adam.

jprusch avatar jprusch commented on June 21, 2024

Jacob,
it was working before. Title (Position) and Department were shown in every report. After upgrading to the latest version the columns are still displayed but empty. I tried your suggestions -> No help.
Therefore I still like to know, if I can log the sync data of Adam to a log file to check, what is synchronized.
Some example config:

<element id="position" defaultForReports="true"> <contextAttribute id="title" /> <template>$!{title}</template> <access> <anonymous view="masked" /> <default view="allowed" edit="forbidden" /> </access> </element> <element id="department" defaultForReports="true"> <contextAttribute id="department" /> <template>$!{department}</template> <access> <anonymous view="masked" /> <default view="allowed" edit="forbidden" /> </access> </element> ... <report id="Mitarbeiter" defaultView="table" resultsPerPage="500"> <localization locale="en_US" title="All Employees" /> <localization locale="de_DE" title="Alle Mitarbeiter" /> <filter> ... <includingGroup id="Verwaltung_CON" /> ... </filter> <access> <administrator view="allowed" /> <default view="allowed" /> <anonymous view="forbidden" /> </access> <column id="name" link="profile"> <element id="fullName" /> <template>$!{fullName}</template> </column> <column id="phone" /> <column id="login" /> <column id="position" /> <column id="department" /> <column id="email" /> </report>

The columns "position" and "department" are shown in the report table, but do not display any content.
AD contains a title & department attribute for each entry.

Regards,
Jan

from adam.

blaubaer avatar blaubaer commented on June 21, 2024

@jprusch this could be caused by a switch to Microsoft ActiveDirectory LDAPS port 389/636 to 3268/3269. If you use 3268/3269 you use the global catalog and not all information could be queried. Adam and/or Confluence have to way to gather the information in this way anymore.

from adam.

jprusch avatar jprusch commented on June 21, 2024

@blaubaer we are using 3268 as port for AD. We had all positions & departments shown in Confluence, but after some time (I don't know the date or change we made), this information wasn't displayed anymore. Is it possible to get any debug logging apart from using wireshark to see if this data is transmitted from AD to narrow the problem to Confluence or our AD.

from adam.

blaubaer avatar blaubaer commented on June 21, 2024

@jprusch I already have the same problem some weeks before. I also wondering that this does not work anymore (after an update of the server). I write an example code in Java that connects in the same way that Confluence did. I got the same problem. Then I strip everything down to the simplest way and run in the same problems. Only from the moment on I change to port from 3269 to 636 this problem was gone. (... in Confluence and my test application)

from adam.

jprusch avatar jprusch commented on June 21, 2024

@blaubaer OK, I'll try to change the port to 636 to check, if it works & let you know.

from adam.

jprusch avatar jprusch commented on June 21, 2024

@blaubaer Changing the port to 389 solved the issue. Still intersting to find out why 3268/3269 are not working for these attributes anymore.

from adam.

blaubaer avatar blaubaer commented on June 21, 2024

@jprusch Please have a look at https://technet.microsoft.com/en-us/library/how-global-catalog-servers-work(v=ws.10).aspx it explains something about the Global Catalog (3268/3269) behavior.

from adam.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.