Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Infor / Lawson Platforms
S3 Systems Administration
copy users
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
John Bonin
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5270
People Online:
Visitors:
302
Members:
0
Total:
302
Online Now:
New Topics
Lawson S3 Procurement
Tolerance Settings
3/31/2025 2:01 PM
I've been trying to set a tolerance for some t
Dealing with Lawson / Infor
Printing Solutions other than MHC
3/27/2025 1:00 PM
What are others using for printing solutions besid
Lawson S3 Procurement
Green check marks in Lawson 9.0.1
3/20/2025 4:55 PM
Hi, How to remove green check mark on items when o
Lawson S3 HR/Payroll/Benefits
Pay Rate History to Show All Positions
2/26/2025 3:34 PM
Does anyone know how to modify payratehistory.htm
Infor CloudSuite
How to build a Pre-Prod tenant
2/7/2025 1:28 AM
After we finished our implementation and ended our
Lawson S3 Procurement
Browser issue with RQC Shopping
1/28/2025 5:49 PM
Since the recent Chrome/Edge updates, our RQC shop
Lawson S3 Procurement
S3-Procurement New Company
1/22/2025 10:38 PM
My Accounting Department has created a new Company
S3 Customization/Development
JUSTIFIED RIGHT
1/15/2025 7:41 PM
Is there a way in Lawson COBOL to make a character
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
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
1375
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
Infor / Lawson Platforms
S3 Systems Administration
copy users
Please
login
to post a reply.
12 Replies
0
Subscribed to this topic
27 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
TJ Mann
Veteran Member
Posts: 70
5/20/2013 12:31 PM
lsdump/lsload takes care security perfectly, but i want to use loadusers. how do i extract user(s) infor from prod (ADAM ldap) so i can use userload to load to test/qa server.
John Henley
Posts: 3351
5/20/2013 1:23 PM
Split
There is a way to do it and it's now documented and supported
On the source
ldifgen ldapdatatoxml > prodldap.xml
On the target
ldifgen xmltodataldif prodldap.xml proddata.ldif
Then load proddata.ldif using ldapmodify (for TDS) or ldifde (for ADAM/LDS)
TJ Mann
Veteran Member
Posts: 70
5/22/2013 12:45 PM
Split
i searched for ldifgen in c:/windows/ADAM, nothing there.
TJ Mann
Veteran Member
Posts: 70
5/22/2013 12:50 PM
Split
sorry, found it in $GENDIR/bin, not on windows ADAM server. thanks. will give it a try later.
Kwane McNeal
Veteran Member
Posts: 479
5/22/2013 1:18 PM
Split
It's about time they documented. I have been keeping it silent for a couple of years now, not wanting to expose it if it was intended to be so.
...but if I might add also, the ldapdatatoxml option does have a -f option
so you can do GENDIR/bin/ldifgen ldapdatatoxml -f output-file.xml
...everything else in John H's post is the same.
Kwane
TJ Mann
Veteran Member
Posts: 70
5/22/2013 1:48 PM
Split
since i dump from prod to dev, i have to replace PL on output-file.xml before ldifde, correct ?
for exampl, prod has prodline as PROD and dev has prodline as DEV.
TJ Mann
Veteran Member
Posts: 70
5/23/2013 1:04 PM
Split
i checked with CASE, and they told me that there is no documenation for this.
TJ Mann
Veteran Member
Posts: 70
5/23/2013 1:18 PM
Split
John,
i am confused on:
On the target
ldifgen xmltodataldif prodldap.xml proddata.ldif
ldifgen will dump and load users ?. if yes, i need to modify prodldap.xml file since it has production values such as PRODUCTLINES (PROD9) and ID (PROD).
Kwane McNeal
Veteran Member
Posts: 479
5/23/2013 2:03 PM
Split
TJ,
As for the documentation, it is listed in several install manuals, and has been so on the Landmark side for *years*. After checking on the LSF side, it has been listed for at least the last couple of ESPs.
Second, while I agree with the redirection method, I strongly suggest using the -f option instead.
Thirdly, ldifgen is what it's name says it is: LDIF GENerator. That's ALL it does. In fact the ONLY option that reads a non-file datastore directly is the LdapDataToXml option. All the other options read the LDAP as a processing filter ONLY.
Finally, to address your specific questions: ldifgen will convert the file into a suitable form for loading, ldifde/ldapmodify do the actual loading.
And yes, you will have to edit the file. LdapDataToXml provides NO filtering options for type of resource subobjects to dump, nor any preprocessing features, similar to jobdump/jobload.
Kwane
TJ Mann
Veteran Member
Posts: 44
5/24/2013 1:30 PM
Split
Kwane,
my steps:
source:
$GENDIR/bin/ldifgen ldapdatatoxml -f output-file.xml
sed -e 's/LQA/LDEV/g' output-file.xml > output-file.xml1
target:
ldifgen xmltodataldif output-file.xml1 proddata.ldif
ftp proddata.ldif from apps server to windows ADAM server, and ldifde. can you provide me proper syntax for ldifde on windows side.
Kwane McNeal
Veteran Member
Posts: 479
5/24/2013 3:52 PM
Split
TJ,
It's a bit more complicated than your single sed command is accounting for. Keep in mind this file has EVERYTHING in RM in it.
As for ldifde, if your application server is on unix, just use ldapmodify
Kwane
TJ Mann
Veteran Member
Posts: 44
5/24/2013 3:56 PM
Split
i ran this:
ldifgen xmltodataldif prodldap.xml proddata.ldif
but i don't see proddata.ldif anywhere on my server.
TJ Mann
Veteran Member
Posts: 44
5/24/2013 4:17 PM
Split
i dont see ldapmodify in $GENDIR/bin either. anyway, thanks. i will give up for now. i will stick with loadusers utilities.
Please
login
to post a reply.