I doubt Obama knew about it. The closest it could probably come to Obama is if he appointed people to certain positions or departments that let things like this go on, or encouraged them.
Even then, it's the nature of the game. When one person in power appoints people with his or her same line of thinking they tend to hire and promote and surround themselves with people of a similar line of thinking. It could certainly create a culture of political bias in an agency or department. That's not a direct reflection on Obama though. More of a human nature type thing. Probably why it's good to have turnover in office every so often. If one party gets so ingrained in power I would think there's a sort of trickle down effect over time that could lead to abuses in power.
Or it could just be a few dumbasses in a department that were doing dumbass things.