How do you do....it? Thread, Win32 SID path - linking sims to AD in Technical; I've developed a web application which enables me to create and delete users based on the information in SIMS. It ...
-
22nd June 2007, 08:49 AM #1
- Rep Power
- 0
Win32 SID path - linking sims to AD
I've developed a web application which enables me to create and delete users based on the information in SIMS. It creates accounts, mailboxes, home folders and disk quotas etc, deletes them fully, and records its actions to a db. When I look at the logs it seems that it is taking a full minute to set up the disk quotas, everything else happens in seconds! It sometimes fails the disk quota setup too because it can't find the account.
I wondered, given windows disk quota mechanism, if it would work faster if I fed the account information to the script as a SID, but no matter how I set it up the system returns account not found, or sometimes invalid object path. I wondered if anyone knows what the correct path information for a Win32_Account reference should be if using the SID, or if I should be using a different Win32 reference altogether.
By the way, if anyone is interested in the code, it's nothing very clever but helps us a good deal. I'd be happy to post it.
Best wishes
Jay
-
-
IDG Tech News
-
22nd June 2007, 09:25 AM #2 Re: Win32 SID path - linking sims to AD
I'd like to see that jay, sounds a bit interesting.
-
-
22nd June 2007, 09:40 AM #3
- Rep Power
- 0
Re: Win32 SID path - linking sims to AD
No problem - I'm on holiday till next friday (why can't I take my head out of work). I'll post it the essentials next week, at the moment it's very site specific (server names and domain names are hard coded) but it shouldn't be too hard to reconfigure. There are a couple of extra bits we've found useful, sending files to specific exam accounts, clearing said accounts etc.
Anyway I'll post the code next week.
Jay
-
SHARE:
Similar Threads
-
By Grommit in forum Networks
Replies: 35
Last Post: 13th December 2007, 09:03 PM
-
By Jawloms in forum MIS Systems
Replies: 2
Last Post: 26th October 2007, 03:17 PM
-
By Quatermass in forum MIS Systems
Replies: 2
Last Post: 12th September 2007, 09:24 AM
-
By ajbritton in forum MIS Systems
Replies: 8
Last Post: 4th April 2007, 02:25 PM
-
By elsiegee40 in forum Windows
Replies: 5
Last Post: 15th January 2007, 10:44 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules