Last post Oct 24, 2014 03:02 AM by smirnov
Oct 24, 2014 02:12 AM|Ncedia|LINK
I'm having problem creating an Active Directory user and direct after add the user to an existing group.
It works 8 of 10 times, and when it fails the method for assigning the user to the group can't find the newly created user.
Both methods (create and add to group) has it own DirectoryEntry object. (Different OU for user and group)
The environment has 25 Active Directory Domin Controllers, and I think the user is created at one of them and the group assignment is done at another one.
And this happend before the domain controllers has syncronized the created user account between them.
By putting an delay between creating the user and assigning the group we can get it to work better but this causes other problems.
So how can I create an Active Directory User and assign it to a group within a single connection to an Active Directory Controller?
Oct 24, 2014 03:02 AM|smirnov|LINK
Did you try to connect application always to the same domain controller? Maybe in this case it will do all operations in one place
For example, you could set MySvr