Thanks Craig and Carl for the replies. I sussed the record format from a combination of ascii dumping the returned record, and in part thanks to a few hits of "rightslist.dat" in groups.google.com.


Craig: I don't use VMS::Process because some of our accounts' rightslists are too long and blow the current fixed sized buffer Dan S. used when he coded that module up. This issue was talked about in the list before - I found my own message in the archives last night when I was researching this. :-)

Carl, an updated VMS::User would be wonderful if you have the time to do it.

Meanwhile, I still have to figure out how to find all rights assigned to a specific user (holder). Sigh.

Thanks,
-- Pat

Patrick Spinler wrote:

Hello:


We have a frequently called procedure which need to determine whether an account possesses certain sets of rights ids.

Our current DCL code gets this information by calling dumping mcr authorize show /rights to a file and parsing the results. This, however, is slow and icky to maintain.

I'd like to use VMS::Indexedfile, open rightslist.dat directly, and determine the same info.

I have code which successfully opens the rightlist.dat (for key 1, "holder") and finds at least one record matching the passed UIC. My next questions are:

a) what's the format of the returned record ? Can anyone point me to the appropriate documentation. Guide to System Security was a bust. :-(

b) how may I find any other records after the first with that particular UIC as the holder ?

Thanks !
-- Pat





Reply via email to