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:
chaoticist
Past 24 Hours:
2
Prev. 24 Hours:
0
Overall:
5185
People Online:
Visitors:
262
Members:
0
Total:
262
Online Now:
New Topics
Lawson Landmark
LPL INSTR Functions
4/5/2024 8:32 PM
I'm writing a simple report using the Create R
Infor SCM
Translating 856 to get the ~ REF^CN^ field
4/3/2024 8:24 PM
We are trying to get the tracking number which is
IPA/ProcessFlow
Sample XML file create Flow
4/3/2024 3:43 PM
Hello everyone, I am new to creating XML files
Lawson S3 HR/Payroll/Benefits
bn105 error message
3/26/2024 6:40 PM
I need to change some of the set ups in our Life I
IPA/ProcessFlow
IPA executing Job
3/13/2024 7:08 PM
New to the IPA world and was wondering, can an IPA
Lawson S3 HR/Payroll/Benefits
Life Age Reduction on benefits plans
3/12/2024 7:15 PM
For our optional life we have an age based coverag
Lawson S3 HR/Payroll/Benefits
BN53.1 Add-In
3/7/2024 3:31 PM
We are migrating to Solstice. They require a
Lawson Business Intelligence/Reporting/Crystal
Domain Name Change
3/5/2024 7:45 PM
Our domain name needs to change and was hoping I c
S3 Customization/Development
Cobol calling Shell Script
2/29/2024 1:27 PM
Has anyone created or modified a Lawson Cobol prog
Infor ION
ION vs IPA
2/29/2024 1:24 AM
We had a person new to Lawson and Infor go to Info
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3288
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1348
Roger French
1311
mark.cook
1244
Forums
Unanswered
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
Lawson Business Intelligence/Reporting/Crystal
Using Smart Notifications To Query LDAP
Sort:
Oldest First
Most Recent First
You are not authorized to post a reply.
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
Senior Member
Posts: 3348
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.
<passwd>
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.
You are not authorized to post a reply.