we have opened port 389 in the firewall to one of the root active directory servers in one network so that we can authenticate users of a website running on another network (with completely separate domains), I'm using C# for this and I can authenticate the user well with their [...] read more
I'm building a .net core 3 website where I'm trying to add a user to an Active Directory security group. The below code works fine in my development environment but once it's deployed to IIS I receive: > System.DirectoryServices.DirectoryServicesCOMException (0x8007202B): A > referral was returned from the server. The error [...] read more
I need to write a PowerShell script that should configure the below settings of Group policy in all the machines. Gpedit.msc → Computer Configuration → Administrative Templates → System → User Profiles → "Do not forcefully unload the users registry at user logoff" to "Enabled". As I am aware this [...] read more
I think a similar question posted HERE, but I am not sure if it is indeed the same solution for me. I have a SQL Server 2000 instance on the local domain, I can query it without error. But I need to query another active directory on a trusted domain, [...] read more
I am getting the exception (System.DirectoryServices.DirectoryServicesCOMException (0x8007202B): A referral was returned from the server.) while trying to read the manager's display name from Active Directory. Exception Snapshot: enter image description here [https://i.stack.imgur.com/GeFpL.png] The exception is occurring while doing the following check, if (grp != null && grp.Properties != null && [...] read more