Welcome Guest! Log in

Topic-icon Question How to use Generic Ldap Server Metadata ?

  • Nicolas Verscheure
  • Nicolas Verscheure's Avatar Topic Author
  • Offline
More
01 Jun 2016 09:17 #1 by Nicolas Verscheure
Nicolas Verscheure created the topic: How to use Generic Ldap Server Metadata ?
Hello,

I need to retrieve informations from my LDAP / AD server.
Do you know how to do it with Stambia ?

Or is there another way to do it.

Nicolas

Please Log in or Create an account to join the conversation.

More
01 Jun 2016 16:56 - 01 Jun 2016 16:57 #2 by Thomas BLETON
Thomas BLETON replied the topic: How to use Generic Ldap Server Metadata ?
Hi Nicolas,

the idea is to use the "TOOL Ldap Extractor", available in the Generic templates distribution.
Then create a metadata, for example with a provider URL which specifies the "request" parameters: ldap://ldapserver:554/ou=COMPANY01,ou=customer,ou=people,dc=stambia,dc=org
Also create a File metadata, where the field names will match your LDAP attribute names.
Drag and drop this ldap metadata + the file metadata on the TOOL. => the LDAP data will be unloaded to the file.

I hope this helps
Last Edit: 01 Jun 2016 16:57 by Thomas BLETON.

Please Log in or Create an account to join the conversation.

More
27 Jul 2016 11:40 #3 by Virginie_Samson
Virginie_Samson replied the topic: How to use Generic Ldap Server Metadata ?
Hello Thomas
We are also interested by the extraction of LDAP directory.
Could you create an article with screen capture about it ?

How to create the metadata LDAP Server (what goes where), how to test it ?
How to use the LDAP Tool ? What does it needs ? How to test it ?

Thanks for all
Virginie

Please Log in or Create an account to join the conversation.

More
28 Jul 2016 17:39 #4 by Cyril Dussud
Cyril Dussud replied the topic: How to use Generic Ldap Server Metadata ?
Hi,

Here is a little more details and screenshots for the explanation provided by Thomas.
The TOOL Ldap Extractor can be found in the generic templates and is used to extract information from an LDAP server to a file.

To use it:
1. First create a LDAP Metadata:



Make sure to specify the LDAP request in the URL.
For example we want here all ldap objects from ou=test,dc=example,dc=com

2. Create a File Metadata
This Metadata will contain a field for each LDAP attribute returned by the request.
In our example it will return two attributes:



This screenshot is from Apache Directory Studio that can be used to manage and view the structure of an LDAP server.

So our file will be like this:



3. Create a process
a. Drag and drop the TOOL Ldap Extractor on it.
b. Drag and drop your LDAP and File Metadata on the tool.
c. Execute the Process.
The file will be filled by the information retrieved from the LDAP server.



Note that for debug purposes, the extracted information are printed too on the Runtime Console.
Attachments:

Please Log in or Create an account to join the conversation.

More
29 Jul 2016 14:02 #5 by Virginie_Samson
Virginie_Samson replied the topic: How to use Generic Ldap Server Metadata ?
Thanks !
In the file, does the physical name needs to be exactly like the ldap object name?
Or only the name is ok?

In our case, the object name has a '-' in, and the process refused to create the file

Please Log in or Create an account to join the conversation.

More
29 Jul 2016 18:02 #6 by Cyril Dussud
Cyril Dussud replied the topic: How to use Generic Ldap Server Metadata ?
Hi,

Yes, both the physical name of the file fields and the ldap attributes should be the same.
For the '-' character, we are doing some tests and we we'll answer on the ticket you opened in the support.

Please Log in or Create an account to join the conversation.

More
24 Oct 2018 14:24 #7 by Thomas BLETON
Thomas BLETON replied the topic: How to use Generic Ldap Server Metadata ?
Here is a screenshot showing the "uid" attribute for the Security authentication :

Attachments:

Please Log in or Create an account to join the conversation.