Comments (8)
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.
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.
@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.
@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.
@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.
@blaubaer OK, I'll try to change the port to 636 to check, if it works & let you know.
from adam.
@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.
@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)
- NullPointerException when loading file conveyor-config.xml HOT 2
- HowTo get meta data from echocat adam plugin? HOT 1
- Question: API call for user data from echocat ADAM HOT 1
- Upgrade API to confluence 5.10.7
- Malformed long email address in the compact view HOT 1
- Upgrade API to confluence 6.0.1 HOT 1
- Ability to set sync interval HOT 1
- Upgrade API to confluence 6.0.2
- echocat adam breaks another add-ons actions HOT 14
- point to seperate LDAP resource? HOT 1
- Telephone number not displaying
- Upgrade API to confluence 6.2.1
- Field edit permissions for administrator
- Confluence 6.6 Compatibility HOT 6
- Future of this plugin HOT 7
- Not compatible with Confluence 7 HOT 7
- Warning on sync event listener with Confluence 7.11.1 HOT 5
- With Adam enabled active directory is not synced automatically anymore
- Compatibility with Confluence 7.13.2 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adam.