Quantcast
Channel: Directory Services Forum
Viewing all articles
Browse latest Browse all 2536

AD does not update

$
0
0

Hello.

Iam having a strange issue.

I noticed this first when i added some users to a group and then i did run a powershell command that lists all users in a group and he command dident output the new users that i had added to the group.

I was connected to the AD server with RDP and i did run users and computers local on computer and also the powershell local from the same server, after a while the powershell command gived me the right result, so the the guess was that for some reason my powershell was connected to another dc.

Now to my second notice.

I created a C# program that connects to AD and read / write user information iam using DirectoryEntry and connects to a dc by ip-address.

If i run the program and read all values and then i make a change lets say i delete the userinfo "city" if i open upp user and computers on the dc that the program connects to then the change has not been done, but if i read back the values with my program then the value "city" is deleted.

Anyone with any idees why this is happening?


Viewing all articles
Browse latest Browse all 2536