views:

1525

answers:

2

Not sure if this belongs here or on Serverfault.

I have a Sharepoint installation and several Active directory domains. In each domain, I have some Security groups.

I need to create Sharepoint groups that contain those Active Directory groups, but I need to inlude the actual users instead of just the security group. (So in I have Group G1 with Users U1 and U2, my Sharepoint group needs to contain U1 and U2 instead of G1).

Before I build something like this myself (which is rather straight-forward with a Timer Job and some Management forms), I just wonder if something like this is already built in to Sharepoint 2007? Or if they are existing solutions?

Googling brought only results about the normal AD<>SP Profile import, which works fine, but nothing about Security Groups.

+3  A: 

This definitely isn't built into SharePoint. It may be available in a third party solution, however my guess is it would be an uncommon requirement so unlikely.

I would probably develop the solution myself. It shouldn't take long.

Alex Angas
+1  A: 

I would write a timer job for this (if you want to keep the AD groups and SP groups in sync).

Make sure all your groups are in 1 OU (to make for an asy stsrting point for an LDAP query), then iterate through all the security group objects with Directory Services in the TimerJob execute method. Then, iterate through all user objects in the group and add them to the corresponding SP group, remove users that are removed from the AD group from the SP group too.

Colin
That was roughly my plan as well. I'm just not sure if that is really the solution I want, something feels "wrong" about having to write a feature that should either already be in Sharepoint, or unneccessary.
Michael Stum
Hey, welcome to my world (dayly.....)
Colin