Wednesday, September 7, 2011

Hmm. Windows Live Writer

 

So I’m trying out this new program called Windows Live Writer, I guess the idea is to use this little application that will then upload the content to the blog site??

Be right back11-09-01 Frank Rodgers 012 

Recently went to visit a old fraternity buddy on mine.  Haven’t seen (or heard from him) in 19 years.  Wow time really flies.  Luckily he found me in LinkedIn.  It was great visiting with him.

Monday, August 29, 2011

FIM RCDC Tool

I'm sure most of you by now have had the chance to see how great the FIM Portal is. I remember when I first saw it; I couldn't believe how slick the interface looked. I thought, what a great place for a User Directory! How many times have clients asked for an interface that offered the ability to view employees, and even a place where employees can update some of their own information.

To this day, I still feel this is one of the best selling points for the FIM Portal. However, clients are always looking to customize those pages and offer up possible attributes that aren't out of the box. FIM doeslet you extend the schema and then you can add those attributes to pages, or RCDCs, so those new attributes come through. Good stuff until you actually see what it looks like to edit the RCDC. As the song goes, 'Could make a grown man cry...'

The way the RCDC looks and behaves is all done through XML and hence an xml file; an ugly, unforgiving and complicated file. After you play around with it for a while, you might finally figure out how it works. Unfortunately all it takes is a single typo and FIM barfs by not rendering the page and offers no explanation as to why it doesn't like what you did. Then it's a matter of going back over and over and over just to figure out what you did wrong. I've spent hours working on these just making small changes each time to make sure it works. Unfortunately, it consumes a lot of time, especially if you're a consultant and it starts burning too many hours on the project. You wonder what was Microsoft thinking when they put FIM together and fell short on some easy way to manipulate these pages! Microsoft, always the king of wizards configurations and WYSIWYG GUI.

Recently I discovered a tool, that does just that! It's a WYSIWYG tool that lets you manipulate RCDCs by dragging attributes around the page, and to other tabs. In addition, it offers easy to use wizards to add new attributes or tabs, or change the properties of existing attributes. After exporting the full FIM configuration, you load it into the tool, called RCDC Editor, and it loads the RCDC configuration and renders the page just like it was the FIM Portal.






Now you can move things around anyway you wish. Once you're finished, you save the project and it creates the needed xml file to be imported back to FIM. Run IISreset and that's it, you're done! Imagine sitting there with your client and decided together exactly what they'd like to see in the FIM Portal.

All the controls that are available in FIM are available through the RCDC Editor like: TextBox, Label, Check Box, Radio Button, etc. When adding new controls, the creators have tried to guide you in the right direction by pre-populating certain properties that you will probably want, this in turn makes using the tool that much easier and reduces the risk that the RCDC won't work. For example, let's say you created a new user attribute in the FIM database called 'User Laptop #', using the RCDC editor you click on Add New Control and you are offered a list of attributes that aren't currently used in the RCDC. You find 'User Laptop #' and click it, then decide what sort of control you want. Whether it's TextBox or MultiValue Control, etc, it immediately populates the control with what you might typically want, like Caption to be User Laptop #, and the Control Value to come from the FIM Database and from that actual attribute.











Now that being said, it does have an advanced option that will allow you to change any attribute property you want. Of course at this point you're on your own whether it'll work on not. The tool will let you enter any sort of information or gibberish, at that point.

Check it out, you can find it on www.tools4fim.com. You can download and play around with it, but until you buy a license, you can't save any of your work.

One final trick up this tool's sleeve is the Resultant Rights Evaluator. This is a nifty way of querying FIM and lets you see who will, and will not have rights to certain RCDC attributes. You want to know who can see or modify attributes in the RCDC. You define the requestor and the target and it'll return whether that requestor can Create, Delete, Modify or Read, it's very granular. I'll talk more about this piece of the tool next time.

Friday, August 26, 2011

OpenLDAP and password sync

Recently at a client's site and they wanted to flow passwords from AD to their OpenLDAP directory.

Went out to SourceForge and downloaded their latest OpenLDAP XMA which can be found here: http://sourceforge.net/projects/openldap-xma/. Very impressed with it's packaging, just run the MSI installer and puts everything where it needs to be. Even includes some handy user guides. For the most part you configure according to the guides and it works. Except if you want to do password sync. Instead you get a warning 6901: The password extension does not implement the entry point.

This will explain what you need to do to get the password sync functionality working. After cruising around I finally found an entry in the sourceforce forum where Randy Weimer mentions an error with password sync that he had to add some missing code. But this was May of 2010 (over a year ago), I'm sure this has been fixed - but it smells the same. Unfortunately it is the same issue. So here's what you have to do.

1. download the code from Sourceforge which is not an intuitive task. Luckily Carrol explains it nicely here: http://www.wapshere.com/missmiis/compiling-the-openldap-xma-to-use-with-fim-2010 Though it seems when you read her post there was no nice msi installer like there is now. But you can figure out how to get the latest code: Read Get the Right Source Code section.

Now I did the rest on my laptop (without FIM installed).
2. Open up the solution OpenLDAPXMA.sln in Visual Studio and choose the PasswordExtension.cs. Search for the following phrase

ConnectionSecurityLevel GetConnectionSecurityLevel

You'll find the function really doesn't do anything. so you'll need to comment out the throw statement and add a return statement within the function like this:

return ConnectionSecurityLevel.Secure;

See below for Randy's entry and the code.

3 Add the missing reference.
Since I was using my laptop, I needed to copy the Microsoft.MetadirectoryServicesEx.dll file from the FIM server over to my laptop. You can find it at ..\Microsoft Forefront Indentity Manager\2010\Synchronization Service\Bin\Assemblies\ folder.
Then add it as a reference. Build the whole solution. Which by the way is just one file called OpenLDAPXMA.dll. There is no extra password DLL file as the user guide mentions.

4. Put the newly compiled dll in the \extensions\ folder and that's it. All should work.

If by chance you don't want to do through all this just contact me at my hotmail account (pjalaff).

I want to give full credit to Carroll Wapshere - who has save me more times than I want to admit, and to Randy Weimer who figure'd out this bug. If anything this blog puts both pieces together.



Randy's original post: http://sourceforge.net/tracker/?func=detail&aid=2996718&group_id=196847&atid=959098


Sunday, April 17, 2011

troubleshooting EREs and provisioning

Just a quick note. I was having some problem with codeless provisioning and couldn't figure it out. the ERE was pending, it was being imported, the user object was reference. searching through the internet, I found this little gem. http://setspn.blogspot.com/2010/11/fim-troubleshooting-codeless.html Finally I figured out my FIM MA was the culprit. The AIF for the ERE attribute was missing from the user object . Added it back in and viola, all is well.

Tuesday, June 22, 2010

Security Questions

So now that I'm doing FIM, I must do all the new things FIM offers. Before it was just attribute synchronization. Now its web design, workflow, self service password reset to name a few. OK its fun learning new stuff.

Right now I'm dealing with password reset and I've run across a new challenge: what else do you ask besides 'What's your mother's maiden name?' ugg.. so I check my own bank website, it had some good questions. Checking the googlesphere doesn't reveal much. Then one of my colleagues, Tom, mentioned to go to www.goodsecurityquestions.com . This is a great place to get started and understand good from bad questions, it also a some great examples too.
Enjoy!

Tuesday, September 22, 2009

Request for the ILM product Team

So here I am, pounding away at creating a synchronization solution for a client. One of the last things you might want to do before committing a bunch of changes to their directory is verify the pending exports before you actually export.

Now there is functionality to do that: by searching the connector space and filtering for pending exports. But anyone who has used this knows that the window where the results are shown is small and you have to scroll through them to view more than a few objects at a time. Not very handy if you have a lot of changes going on. To make things worse, there's no 'Save to a file' button anywhere so you can review this table in something more comfortable like Excel. Now that's not totally true, because there in a CSExport.exe tool that can be found in the ...\bin\ folder that you can use to create a file. Unfortunately the file is XML. What am I supposed to do with a 90 meg XML file that has over 250,000 changes in it??? And why is this even in XML format anyways? I would love to know what they were thinking when they decided to make it XML. Why not make it in a text or CSV format, I say. So I take with huge XML file and try to open it, now the only application I know that open this is a way that will ultimately make sense to me is Excel. You wanna know how long it takes to open a file of this size? No you don't... OK it takes about 30-45 minutes and it pretty much uses all the resources on the computer too, so I can't do much else but wait around and think about writing a blog about it. Once it finally finishes I save it in TXT for XLS format, then it opens in a jiffy next time.

So here's my ask, ILM product team: Can you put a button on the GUI search result window that allows users to export that result into a file? And give us options with file formats, just like we've become accustomed to in the past with every other product Microsoft offers. At the very least, if you won't put a button on the ILM UI, would you could you please allow for different file formats in the CSExport.exe tool?

Friday, April 24, 2009

If Edgar Allan Poe only knew computer security

This is the winning entry from the RSA Conference's - Prose like Poe's Poetry Contest. This entry comes from Jamie Armstrong.

The Salesman

Once upon more malware nested, while I reflected broken and bested,
Over many hacks and attacks and safeguards that failed,
While I worried, clearly nervous, succumbed by relentless denials of service,
My blackberry did chirp with purpose - apprising me of new email,
"Tis some salesman" I muttered, surprising me with new email -
Only a salesman with products for sale.

But the caller, with his expertise, was soon to put my mind at ease,
That one meeting, all his knowledge in that one meeting he did convey,
He spoke of technical innovation - providing for security and prevention,
Access controls and authentication: hackers be gone, intruders away,
Sound the alerts of penetration: viruses contained, worms done away,
The threats of tomorrow addressed today.

Congratulations Jamie!