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:
Saef
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5226
People Online:
Visitors:
436
Members:
0
Total:
436
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
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: 3353
5/20/2013 1:23 PM
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
i searched for ldifgen in c:/windows/ADAM, nothing there.
TJ Mann
Veteran Member
Posts: 70
5/22/2013 12:50 PM
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
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
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
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
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
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
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
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
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
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.