+ Post New Thread
Results 1 to 3 of 3
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 ...
  1. #1

    Join Date
    Jan 2007
    Posts
    41
    Thank Post
    2
    Thanked 1 Time in 1 Post
    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

  2. #2

    Domino's Avatar
    Join Date
    Oct 2006
    Location
    Bromley
    Posts
    4,126
    Thank Post
    215
    Thanked 1,255 Times in 786 Posts
    Blog Entries
    4
    Rep Power
    505

    Re: Win32 SID path - linking sims to AD

    I'd like to see that jay, sounds a bit interesting.

  3. #3

    Join Date
    Jan 2007
    Posts
    41
    Thank Post
    2
    Thanked 1 Time in 1 Post
    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:
+ Post New Thread

Similar Threads

  1. Linking 2 Buildings..
    By Grommit in forum Wireless Networks
    Replies: 35
    Last Post: 13th December 2007, 08:03 PM
  2. SIMS .net backup path
    By Jawloms in forum MIS Systems
    Replies: 2
    Last Post: 26th October 2007, 03:17 PM
  3. SIMS System Manager backup path
    By Quatermass in forum MIS Systems
    Replies: 2
    Last Post: 12th September 2007, 09:24 AM
  4. Deploy/run SIMS from UNC path?
    By ajbritton in forum MIS Systems
    Replies: 8
    Last Post: 4th April 2007, 02:25 PM
  5. trojan.win32.patched.i - HELP please!
    By elsiegee40 in forum Windows
    Replies: 5
    Last Post: 15th January 2007, 09: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
  •