Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Performance Management
Lawson Business Intelligence/Reporting/Crystal
Using Smart Notifications To Query LDAP
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Saef
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5226
People Online:
Visitors:
333
Members:
0
Total:
333
Online Now:
New Topics
User Group Announcements
Carolina User Group Meeting
12/20/2024 3:15 PM
Date & Time: February 6, 2025, 8:30am - 4:00pm
S3 Systems Administration
ADFS certificate - new cert
12/3/2024 9:38 PM
The certificates on the windows boxes expired and
Lawson S3 HR/Payroll/Benefits
Post Tax Benefit Plan Table
11/14/2024 9:16 PM
Hi, totally new to Laswon. I have a repor
Lawson S3 Procurement
ED501 Error: Map 850 not supported by /law/c15vda/lawson/test10/edi/bin/laws_out_91
11/12/2024 3:47 PM
Tried runnning ED501 and getting the atathced erro
Lawson S3 HR/Payroll/Benefits
Error
11/6/2024 9:54 PM
When I try to enroll a retiree in 72.1 health plan
Infor ERP (Syteline)
Syteline: New Data Maintenance Wizard (Error) Need help
11/1/2024 4:24 PM
Hi, I need help with an error on syteline while us
Dealing with Lawson / Infor
Implementing Lawson v10 with Cerner Surginet, Case Cart Picking, and Quick Adds for the OR
10/29/2024 4:20 PM
Hi Everyone, I am wondering if there is any org
Lawson S3 HR/Payroll/Benefits
Canada Tax Calculation (Federal and Provincial) Issue
10/23/2024 5:00 AM
Initially, we had problem with CPP2 calculation is
Lawson S3 HR/Payroll/Benefits
CA Section 125 401k Plan
10/22/2024 10:13 PM
Does anyone have any recommendations on how to fac
S3 Systems Administration
Running AC120 deleted records from ACMASTER table
10/22/2024 3:40 PM
We recently ran the AC120 as normal and somehow it
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3291
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1372
Roger French
1315
mark.cook
1244
Forums
Filtered Topics
Unanswered
Unresolved
Announcements
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
Performance Management
Lawson Business Intelligence/Reporting/Crystal
Using Smart Notifications To Query LDAP
Please
login
to post a reply.
13 Replies
0
Subscribed to this topic
22 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
Ruma Malhotra
Veteran Member
Posts: 412
7/13/2010 4:38 PM
I am using smart notifications to query LDAP and am able to get data. However I need certain fields in a container and I am not able to write the right syntax to query LDAP to get data for only certain fields. Has anyone able to get this to work and can share the exact syntax for those queries.
I believe there are also certain oracle commands to query LDAP but I cannot get any to work and I am sure that the syntax is not right. Has anyone got this to work and willing to share the queries as well ?
Ruma Malhotra
Veteran Member
Posts: 412
7/13/2010 8:18 PM
I was finally able to find a solution which I am sharing. On the infoset the quey would be
CN=* and then the next step or step 3 where you build the columns you would have to define the column to be each field that ldap displays. For eg we are using jexplorer to query LDAP so the column names would be the name of the field that jexplorer shows while querying LDAP.
You can get all the fields in the query by specifying ecah column name to be the field name that LDAP displays"
For eg the group name column in RM that the employee belongs to is zzlwsnattrGroup in jexplorer. This would be the name of the column in the infoset.
Greg Moeller
Veteran Member
Posts: 1498
7/14/2010 12:58 PM
Could you elaborate a little bit more. I'm just starting with LDAP and I would love to know how the infoset gets set up and which values go into which boxes. Thanks a BUNCH!
mark.cook
Veteran Member
Posts: 444
7/14/2010 2:12 PM
Ruma,
Did you get what you needed. I can put together some screen shots for you. I also have a web-ex on this but it is 8 MB so I doubt it will make it out of our mail server. Let me know if you need this and I will send it offline.
Ruma Malhotra
Veteran Member
Posts: 412
7/14/2010 3:28 PM
I am uploading my screen shots that I used to query LDAP. The way I built the Search base is the way you would build a query for a single user in jexplorer.
However Mark I would like to see your screen shots to make sure if there is anything I missed. If you can send me the webex offline that would be great. thanks for all your help.
Ruma Malhotra
Veteran Member
Posts: 412
7/14/2010 3:29 PM
I am not able to upload a MS-word 7 document. When I try to attach it says file type is not allowed.
John Henley
Posts: 3353
7/14/2010 3:46 PM
Zip it and upload the .zip =
Ruma Malhotra
Veteran Member
Posts: 412
7/14/2010 4:31 PM
I am zipping the file and uploading.
Attachments
LDAP_Query.txt.zip
Ruma Malhotra
Veteran Member
Posts: 412
7/14/2010 4:52 PM
In addition to querying it using smart notifications on step 4 of the infoset we are checking the option that this is a large notification which then generates a table in the Lawson smart notifications schema and names the table the infoset id. I am writing a crystal report to go against this table to list all the different groups and roles a user belongs to. The Groups and roles are the ones defined for a user in RM and sec admin.
I am looking for a way to query LDAP that tells me which security profiles belong to a given group for a user.
Greg Moeller
Veteran Member
Posts: 1498
7/14/2010 6:00 PM
I think I've got a Unix script that does very close to what you are looking for Ruma. Are you running Unix or Windows?
Ruma Malhotra
Veteran Member
Posts: 412
7/14/2010 6:31 PM
Unix AIX
Greg Moeller
Veteran Member
Posts: 1498
7/14/2010 7:19 PM
This script will produce a web page containing all Roles and the users that belong to those roles. You could modify it to pull back other information as well. Note: I've put the areas that I know you will have to change in greater than and less than signs along with a description of what needs to be put there. ie.
Feel free to modify the script to your liking. I just ask that you leave me as the original author in the comments.
Attachments
001_groupheader_users.zip
Greg Moeller
Veteran Member
Posts: 1498
7/14/2010 7:48 PM
Hey, Ruma!! Thanks bunches for the screen shots!! I now have a working Infoset.
Now I just need to base some notifications off of it.
Ruma Malhotra
Veteran Member
Posts: 412
7/15/2010 2:18 PM
Thanks for the unix script. Will make sure that the original author does not change.
Please
login
to post a reply.