We have a script that creates a brand new user in AD and then create a
physical profile path folder. We then set permissions on the new
folder with XCACLS.VBS from our script.
We are a national company that have different regions with own DC's
etc.
When the script run in our main office ie the profile paths is close &
on same DC, then all well.
When I run the script for a region with own DC, then fail. (The folder
are created but the user permissions is not set) When I do this for a
user that was created previously (20 minutes for example) then this
would work and the user permission would be fine.
Seems that the remote DC dont know about the user yet and therefor
fail and it would anly work after the standard "sink" period. Any
advice?
Thanks, Gert
Any advice?
I'm at the point that I'm looking into xcacl.vbs itself to extract the part that resolves the user so that I can include the same code inside a loop within my script that loops until it resolves the user then it proceeds with xcacls. I hate/love scripting.
> Submitted via EggHeadCafe
> ASP.NET - Zip Selected Files and Add Files in Memory with DotNetZip
> http://www.eggheadcafe.com/tutorials/aspnet/fd2b3765-624b-47ea-a461-bf3ad6dcbf7b/aspnet--zip-selected-files-and-add-files-in-memory-with-dotnetzip.aspx
If you do not want to have to wait for this replication, I'd suggest you
find a way to ensure that all of your activities are governed by the same
DC.
/Al
"Ian Pitre" <ian....@gnb.ca> wrote in message
news:201012151...@eggheadcafe.com...