Hello,
I am working on improving our user creation process. I currently have a Powershell script that prompts for some inputs, and then via SSH handles creating the unix account, building the XML files, and running the "loadusers" utility to create the user with the correct security roles. I have hit two bottlenecks I haven't been able to work around.
First issue, I am having trouble finding a documented method for adding the unix account to the "User Group Definition" in the LAENV utility (laenv -> System Administration -> Environment Group Utilities -> User Group Definition). Does anyone know if this is actually possible without using the GUI through LID?
Second, in LSA is there a way to set values in the "Lawson Environment Information" for a user in some fashion that does not require the UI? This is for the User Group, Printer Group, Job Queue Group, Dist List Group options when right clicking on a user in LSA. I had hoped this was stored in Lawson's LDAP as I don't mind directly updating that, but this information does not appear to be there.
Thank you,
(1) For inserting user account in usergrpdef in LID:
You can update USERGRPDTL table directly in GEN database.
(2) For the "third" screen, environment variables for the user in LSA:
You can update USERINFO table directly in GEN database.
You need to update both tables for it to work. An custom IPA flow can create account from start to finish automatically without you ever touching the LSA.