Orphaned users jobs.

 8 Replies
 0 Subscribed to this topic
 27 Subscribed to this forum
Sort:
Author
Messages
Brett
Basic Member
Posts: 19
Basic Member
    Is there any way to see what jobs are assigned to an orphaned user? We use LAUA for security and LSA for user maintenance. We have an abundance of orphaned users and I believe their accounts were deleted from active directory before they were removed from Lawson.
    Greg Moeller
    Veteran Member
    Posts: 1498
    Veteran Member
      If you have access to LID yet... run jobinteg -v to view all of the issues.
      Run jobinteg -dv to delete the bad records
      Brett
      Basic Member
      Posts: 19
      Basic Member
        Greg,
         I ran that and don't have any issues. Where do the orphaned users come from. I thought that if you deleted a user account from windows active directory before deleting them from Lawson that they became and orphaned user. I just deleted a user from test that hasn't worked here in awhile and their user profile disappeared from LID and doesn't show up as orphaned but they are still showing up in user maintenance in LSA. Am I missing something here? What I would like to do is delete all the orphaned users from production but I don't want to lose any jobs or reports they may have assigned to them. Is there a way to show jobs and reports associated with an orphaned user?.
        Greg Moeller
        Veteran Member
        Posts: 1498
        Veteran Member
          you could dump the JOBSTEPRPT table in gen with something like this from LID...
          rngdbdump -ct gen JOBSTEPRPT -v UserName=userid_cared_about
          and look at the jobname column (2nd) and the PrtFileName column (4th)

          You will still have to delete them from LSA....
          Greg Moeller
          Veteran Member
          Posts: 1498
          Veteran Member
            If you really find yourself doing this a lot... I suppose you could even create a connection to gen and write a Crystal report... (if you really wanted to get fancy!)
            Brett
            Basic Member
            Posts: 19
            Basic Member
              So I'm guessing if no data is returned using this command then this UserName had no jobs or reports associated with its profile. Would that be a correct assumption?
              Fancy isn't my style. I'm just cleaning up after previous Administrators. Thanks for your help.
              Greg Moeller
              Veteran Member
              Posts: 1498
              Veteran Member
                Do this before you assume: rngdbdump -ct gen JOBSTEPRPT | head -15
                to see that you are using the UserName in the same format that is actually stored in the table.... if you are, then your assumption is correct.
                Brett
                Basic Member
                Posts: 19
                Basic Member
                  Yes that pulls many records. I did try this on a user with known jobs and it showed all of of the ones he owns.
                  Thanks.
                  Where can a find information about the commands Lawson uses?
                  kflores01
                  Veteran Member
                  Posts: 43
                  Veteran Member
                    I am looking for the proper syntax to run jobinteg -dv from IPA (new Process Flow). I am familiar with WebRun node, but, have not hit upon the correct syntax yet. Any help would be appreciated.

                    Feel free to email me at flores@cshl.edu