This project has moved. For the latest updates, please go here.

ldapcp constructor issue

Jan 28, 2013 at 10:12 PM

In the constructor there is a test if an SPContext exists, if not class is not initialized.
This is a big error (two weeks hard work to figure it out) because when you are in the context of powershell (running cmdlet that can build powerpoint object like profilemanager and from this you can get a userprofile an for example call the CreatePersonalSite() method) or OWSTIMER.EXE there is no SPContext but you NEED the claim provider for sure!!!

Just comment out the test form the code and the claim provider will work better! (for example you can create personal site otherwise you get user not found error).

My best, Marco.

Coordinator
Jan 29, 2013 at 12:58 PM

hello Marco,

thanks for your input, this sounds very interesting. I'll investigate your change and release an update quickly if I validate your point and do not find any drawback.

cheers,

Yvan