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 Security
How can I copy current version of Lawson Security from one server (environment) and install it on another ? Thanks
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:
366
Members:
0
Total:
366
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 Security
How can I copy current version of Lawson Security from one server (environment) and install it on another ? Thanks
Please
login
to post a reply.
18 Replies
0
Subscribed to this topic
16 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
RobertL
Basic Member
Posts: 17
3/24/2010 3:51 PM
Jimmy Chiu
Veteran Member
Posts: 641
3/24/2010 4:37 PM
Split
Are you on LAUA security or LS security? ( And the lawson version you are on)
RobertL
Basic Member
Posts: 17
3/24/2010 5:05 PM
Split
I am on LS Security (version is Release 9.0.0). I am trying to copy the current version of LS security from Production and install it on Devlopment for testing new models. The Production and Devlopment both have version 9.0.0
MattM
Veteran Member
Posts: 82
3/24/2010 5:10 PM
Split
Use LS dump and dump all of the security classes from your source profile. Use LS load and load the security classes to a new empty profile on your destination system. If you dump/load the profile, there is a bunch of metadata pointing to your original profile which will break ESS among other things.
You will have to reassociate the classes to roles as a part of this but, there is no way around that. Also, you may need to recreate your roles on the destination server if they do not exist which would require associating your users to the roles also.
Hope this helps.
RobertL
Basic Member
Posts: 17
3/24/2010 5:20 PM
Split
I use lsdump -f copyProd.dmp PROFILE PRD in Production, lsload PROFILE copyProd.dmp -p PRD1 in Development. But I cannot find the new profile PRD1 when I login LS Administrator in Development. Please advise. Thanks.
MattM
Veteran Member
Posts: 82
3/24/2010 5:32 PM
Split
I would not recommend doing the Profile dump and load. Create the profile by hand in the LS tools and then dump the security classes and load them to the newly created profile. Dumping and loading profiles, in my experience, is problematic.
I have seen the LDAP corrupted in a situation that sounds similar to yours, so, I would back your LDAP up prior to making any more changes.
MattD
Veteran Member
Posts: 94
3/24/2010 5:33 PM
Split
Is PRD1 a valid profile code? I thought it could only be 3 characters.
MattM
Veteran Member
Posts: 82
3/24/2010 5:40 PM
Split
Good call!!
RobertL
Basic Member
Posts: 17
3/24/2010 5:47 PM
Split
I ran the command again and use lsload PROFILE copyProd.dmp -p PR1. Still I cannot the find the new profile PR1
MattD
Veteran Member
Posts: 94
3/24/2010 5:56 PM
Split
Are you sure the file is being transferred correctly? Are you receiving any errors?
What is your exact version of LSF? If you are on 9.0.0.7 or higher you should not have to relink any of the classes to roles.
RobertL
Basic Member
Posts: 17
3/24/2010 6:26 PM
Split
After I reran the command I got an error "lsload is Secured"
MattD
Veteran Member
Posts: 94
3/24/2010 6:27 PM
Split
If you are on 9.0.0.7 or higher you can add the -addRoleMapping command onto the end of the lsdump and lsload commands and it will actually assign the roles as well.
I have used it and it works very well.
See the below guide from Lawson for details.
System Utilities Reference Guide
MattD
Veteran Member
Posts: 94
3/24/2010 6:28 PM
Split
Are you running it as the lawson user?
RobertL
Basic Member
Posts: 17
3/24/2010 6:46 PM
Split
I ran the command in LID using my own userID, not as lawson. After I ran th lsload command, I got an error "lsload is Secured"
MattD
Veteran Member
Posts: 94
3/24/2010 8:06 PM
Split
I would check the permissions on lsload and lsdump ($GENDIR/bin). I can only run lsload as the lawson user.
TBonney
Veteran Member
Posts: 281
8/16/2010 12:32 PM
Split
MattD (or anyone else who may have experience using this utility),
I hope you see this post and are able to comment...
When you use the -addRoleMapping switch with the lsload utility, does it overwrite all data on any userids that already exist in the target evironment? In other words, if my lsdump file only pulls two roles for a given userid, but in the target environment, that user actually has six roles (two of which match those he/she had in the environment from which the lsdump was created)...after I do the lsload, will that user still have six roles, or only the two that were included in the lsdump/lsload file?
I'd like to use this utility for some profile claenups, but am leary of what may or may not be overwritten in the target environment by doing so.
Thank you.
MattD
Veteran Member
Posts: 94
8/16/2010 12:47 PM
Split
This will only add the additional roles it will not remove the previous roles assigned.
Core patches are patching these functions regularly so I suggest taking a backup before using these functions in production, since it may act differently on your system depending on the version. We are on 9.0.1.5.
But by definition of the lsload function you should have no problems. It does not remove it just assigns, similar to the mass assign function in the RM Admin.
If you need anymore help please let me know.
Greg Moeller
Veteran Member
Posts: 1498
8/16/2010 7:40 PM
Split
You will need to use the -addRoleMapping on both the dump and the load sides. In case you didn't realize.
Kwane McNeal
Veteran Member
Posts: 479
10/1/2010 1:09 PM
Split
Also, to run this command as a user other than Lawson, you'd need to do the following:
1) Using tokendef, ensure that lsdump/lsload are listed
2) In Lawson Security, add a class that grants these to the ENV profile
3) Add it to the SuperAdminRole
...The tools are hard-coded to work for lawson, root, QSECOFR, and any member of a Windows Admin Group
Please
login
to post a reply.