Last post May 22, 2006 01:22 PM by dfrauzel
May 18, 2006 04:28 PM|dfrauzel|LINK
Maybe this is on the site or the CD somewhere, but I haven't been able to track it down yet. I'm using the conslidated solution, which means MPSSampleCP, though the back-end (the MPF server) is the same between the two solutions, to my understanding.
I'm extending the MPSSampleCP app, and though I suppose I could just code straight to ADSI, I'd like to stick with the MPF idiom as much as possible. That means using the ClientWrapper, but I have no idea what I can pass to the MPF server or if it'll accept
any arbitrary AD / LDAP attribute.
For example. On the add user page, I'd like to add a field for profile path. The LDAP attribute is simply profilePath. I know I can easily set that using ADSI. But MPF wraps everything up into this opaque XML object, with some properties that are LDAP cognates
(sAMAccountName), and some that are not (isAdmin). Then there's an additional "properties" node that gets tacked on, further confusing me.
So, what's the correct way to add new LDAP attributes into an XML request? Do I just AddNode? Or do I need to stuff it into AddPropertyNode? Or is SubmitRequest hard-coded and I need to resort to ADSI after all? I know I can probably discover all this on
my own with some experimenting, but if anyone has some experience and insight here, it could really save me some time and frustration.
May 20, 2006 08:39 PM|dfrauzel|LINK
Well, I got part of it figured out. I wasn't able to AddNode, but I am able to AddPropertyNode for at least the two attributes I've tried; profilePath and scriptPath. I'm tentatively assuming I can just throw in any LDAP property I want into that additional
parameter, which I suppose makes sense for the sake of extensibility - I don't have to hack the HostedExchange namespace after all, just edit NewUser.aspx.cs.
I'm still unsure of how I'd do something like set the description of the OU when creating a new organization, but I suppose for some things I am just going to have to resort to ADSI.
May 21, 2006 08:07 PM|leonsay|LINK
Hi try doing a search for Microsoft Provisioning Framework on the MS site it should return a fairly in depth document that runs through everything you can do.
We used it about 6 months ago to build a document we can give our resellers of our Whitelabel HMC solution to be able to integrate their existing control panels to be able to talk to our MPS engine in our solution.
If you have trouble finding it that way let me know and i'll dig through the documentation here and find it for you.
May 22, 2006 01:22 PM|dfrauzel|LINK
Huh. Sounds exactly like what I need. I tried that search, on both Microsoft.com and MSDN, but the best I came up with was a 3 year old whitepaper. Perhaps they've taken it down or moved it off to some obscure part of the site? If you find a copy you can
forward, I'd appreciate it a lot!