Wednesday, June 09, 2010

RSA ACE Queries or how I spent my summer

Well...just got done spending way to much time writing what is probably a basic SQL query for what I know is an outdated RSA ACE server ( ver. 6.0). However, its to prepare for our eventual upgrade and help reign in the management of the system.

Problem: We have multiple business units that use SecurID authentication. These business units have various groups set-up with specific agent hosts assigned.

What I need is a list of all AgentHosts including their IP, Site, and Group. I can then send this to the POC for the site, who can verify the agent hosts and groups.

I won't bore you with my ramp-up time on OUTER and INNER joins, or the way I love to insert typos randomly, or how the ACE server only give useful 'syntax error' pop-up messages. Suffice it to say, something that should have only taken a few hours...blossomed into a couple day journey. Live and learn.

So, first the bookmarks:

The database schema's are listed here:
http://theether.net/download/RSA/SecurID/6.1/authmgr_admin_toolkit.pdf

Some info on syntax can be found:
http://theether.net/download/RSA/SecurID/6.1/authmgr_admin.pdf


Here is the first *working* version, there are no options..it just prints that information I needed for ALL AgentHosts:

SELECT SDClient.chName, SDClient.chNetAddress, SDSite.chName, SDGroup.chName FROM SDClient
LEFT JOIN SDEnabledGroup ON SDClient.iClientNum = SDEnabledGroup.iClientNum
LEFT OUTER JOIN SDGroup ON SDEnabledGroup.iGroupNum = SDGroup.iGroupNum
LEFT OUTER JOIN SDSite on SDClient.iSiteNum = SDSite.iSiteNum
ORDER BY SDSite.chName, SDGroup.chName, SDClient.chName


Easy enough, a few join statements...bam.

25 comments:

Anonymous said...

Thank you very much for this post. I have absolutely no SQL Query experience and by looking over your example i was able to modify some existing pre-built queries to produce the output i needed.

Anonymous said...

buy tramadol online tramadol dosage information - tramadol hcl 75mg

Anonymous said...

buy tramadol online tramadol many get high - tramadol 100 mg ampolla

Anonymous said...

buy carisoprodol carisoprodol dosage - carisoprodol 350 mg controlled substance

Anonymous said...

generic xanax xanax pills facts - xanax vs generic alprazolam

Anonymous said...

buy tramadol online tramadol cause high - tramadol webmd

Anonymous said...

carisoprodol no prescription soma carisoprodol controlled substance - soma carisoprodol dosage

Anonymous said...

carisoprodol no prescription carisoprodol 350 mg what is it for - soma carisoprodol drug interactions

Anonymous said...

buy tramadol online tramadol 50 mg max dosage - many tramadol 50mg get high

Anonymous said...

tramadol 50mg buy tramadol online us pharmacy - legal buy tramadol online us

Anonymous said...

buy tramadol online tramadol good opiate withdrawal - tramadol for dogs expiration date

Anonymous said...

xanax online xanax dose for recreational use - xanax withdrawal heart rate

Anonymous said...

buy cialis online buy cialis online canadian pharmacy - buy cialis 10mg online

Anonymous said...

cialis online pharmacy cheap cialis overnight no prescription - cialis reviews for bph

Anonymous said...

xanax online buy alprazolam thailand - buy xanax online australia

Anonymous said...

buy tramadol online buy tramadol legally online - tramadol 50mg information

Anonymous said...

buy tramadol tramadol typical dosage - buy tramadol online nz

Anonymous said...

http://landvoicelearning.com/#51438 long does 50mg tramadol take kick - tramadol 50mg injection

Anonymous said...

tramadol no prescription buy tramadol american express - tramadol 50 mg buy online

Anonymous said...

tramadol online no prescription tramadol 100 mg experience - buy 200 mg tramadol online

Anonymous said...

ways to buy ativan online legal buy ativan online - ativan side effects pediatric

Anonymous said...

buy tramadol order tramadol online usa - tramadol 627 get high

Anonymous said...

ways to buy ativan online bad side effects ativan - teva lorazepam 1mg lorazepam 1mg

Anonymous said...

ways to buy ativan online ativan dosage 6 mg - can buy ativan online

Anonymous said...

buy tramadol online long develop tramadol addiction - buy tramadol online usa