Re: Remote user creation
From: Oli Restorick [MVP] (oli_at_mvps.org)
Date: 07/27/04
- Next message: Mark-Allen: "Re: connect to \\server computer at login"
- Previous message: Mark-Allen: "Re: set SpoolDirectory for printers in registry"
- In reply to: Chris Dahl: "Remote user creation"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 27 Jul 2004 23:56:25 +0100
I've come across this exact same issue. I ended up using a command called
setacl.exe along with script by Richard Mueller
http://groups.google.com/groups?selm=OYXlsATuDHA.2072%40TK2MSFTNGP10.phx.gbl&output=gplain
Basically, you can create the user and get the SID back straight away.
Then, when setting the file ACL, you provide the SID rather than the
username.
It's not pretty and I've come across some weird issues with the inheritence
of ACLs on profile directories. I was planning to share the script I have,
but these issues have got in the way of me doing that.
Hope this helps
Oli
"Chris Dahl" <ChrisDahl@discussions.microsoft.com> wrote in message
news:5DF8E12A-3AB8-4C89-898D-272D875B0740@microsoft.com...
> Is there a way within a script to ensure that an AD user account is
> created on a specific server?
>
> I have a need to create student accounts (15-16K) with home directories
> on remote servers. When run though I receive errors about home
> directories and find the newly created user does have permissions.
>
> It appears that when the home directory is created on a server it does not
> know about the account that was just created and cannot assign the proper
> permissions.
>
> Thanks in advance
>
> Chris Dahl
- Next message: Mark-Allen: "Re: connect to \\server computer at login"
- Previous message: Mark-Allen: "Re: set SpoolDirectory for printers in registry"
- In reply to: Chris Dahl: "Remote user creation"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|