We have three Windows Domain Controllers (2012 R2 and 2008 R2 mix), all DNS servers. Split-zone DNS scenario. DNS resolution is working for all internal subnets except over User VPN. All network connectivity appears to be uninhibited. Users connected to Cisco AnyConnect IOS SSL VPN are unable to resolve internet-facing DNS queries. Queries to AD Integrated Zones return correct answers. **NSLOOKUP output from working host within network boundary:** > set type=a > 4.2.2.6 Server: dc1.domain.com Address: 192.168.0.1 ------------ SendRequest(), len 38 HEADER: opcode = QUERY, id = 7, rcode = NOERROR header flags: query, want recursion questions = 1, answers …

Member Avatar
Member Avatar
+0 forum 3

A fast and universal way to get all the user information on the active directory with export to csv. Don't forget to make a reference to system.directoryServices. [CODE] 'CONNECT 'with Authentication 'Public enTry As System.DirectoryServices.DirectoryEntry = New DirectoryServices.DirectoryEntry("LDAP://YOURSERVER", "USER", "PASSWORD", DirectoryServices.AuthenticationTypes.Secure) 'no Authentication Public enTry As System.DirectoryServices.DirectoryEntry = New System.DirectoryServices.DirectoryEntry("LDAP://YOURSERVER") Sub GETUSERS() Dim Bestand As String = Application.StartupPath + "/AS_User.csv" Dim mySearcher As System.DirectoryServices.DirectorySearcher = New System.DirectoryServices.DirectorySearcher(enTry) Dim resEnt As System.DirectoryServices.SearchResult mySearcher.Filter = "(&(objectCategory=person)(objectClass=user))" Try FileClose(1) FileOpen(1, Bestand, OpenMode.Output, OpenAccess.Write, OpenShare.Shared) Print(1, "ACCOUNT;FORENAME;GIVENAME;EMAIL;LOCATION;TEL;FAX;MOBILE" + vbCrLf) Catch MsgBox("CLOSE THIS FILE : " + vbCrLf + Bestand, MsgBoxStyle.Critical, "Output file locked.") Exit …

Member Avatar
Member Avatar
+0 forum 1

Hi All, I need desperate help. I have a group "MyGroupABC" in Active Directory (AD). In this group there are close to 100 list of users. How can i write a logic to actually to get me the list of users with their particulars details such as Name, SN, GivenName, Telephone, Mail, etc? I've been trying many days to figuring it out, but not success. Below is my simple code. [CODE]DirectorySearcher ds = new DirectorySearcher(""); ds.SearchRoot = new DirectoryEntry("LDAP://myserver/CN=MyGroupABC,OU=MyProject,OU=DEVApplications,DC=myserver,DC=local"); ds.PropertyNamesOnly = true; ds.PropertiesToLoad.Add("name"); ds.PropertiesToLoad.Add("sn"); ds.PropertiesToLoad.Add("givenName"); ds.PropertiesToLoad.Add("mail"); ds.PropertiesToLoad.Add("telephoneNumber"); SearchResultCollection src = ds.FindAll(); try { foreach (SearchResult sr in src) { string …

Member Avatar
Member Avatar
+0 forum 1

Hello community! My first post here. (might probably have been under c#.. filename.asp.cs) I have a web AD management project undergoing as I am currently at testing.. the interface *yay* Extent of the project; pulling a list of employees managed by Mr X. Edit specific fields. I'm building my interface through the on_load() where I call two methods [CODE] protected void Page_Load(object sender, EventArgs e) { //Object that connects to my AD. ActiveDirectoryWrapper adWrapper = new ActiveDirectoryWrapper(); //Get the manager name - didn't hook it up from the session here since I'm testing this form only. [INDENT][/INDENT]adWrapper.PopulateUserDataStruct(adWrapper.GetUserDirectoryEntryDetails("MrX")); foreach (SearchResult result …

Member Avatar
Member Avatar
+0 forum 1

We have a Delphi app that performs user authentication using the activeds.dll library. However, when running on a 64-bit server, even though the WOW64 processing thunks the library to use the psuedo-32-bit version, we're consistently getting an app crash when attempting to use the library. Any helpful suggestions? Thanks

Member Avatar
+0 forum 0

Hello, Thank you for reading. I generally spend time with the C# forum but today have an admin issue... I have a two virtual servers; SQL1, WEB1. A web site on WEB1 is using Windows authentication. This appears to work correctly - querying the active directory on SQL1 (domain is Dev). The issues: 1) If I log in to the web site using windows authentication as Dev\Administrator, it authenticates correctly but User.Identity.Name returns Web1\Administrator. This seems strange to me. 2) Dev\RecosAdmin logs in (the web authentication succeeds) but cannot run the website resulting with the error: "Some Or All Identity …

Member Avatar
Member Avatar
+0 forum 2

I am trying to add an Active Directory user to a group, and get "The server is unwilling to process the request." on CommitChanges(). I know I am binding to the directory OK and am finding both the groupDN path and userDN path, as I can return the GUID for each. Here is my code - if anyone can help me that would be fantastic! I have been hitting a brick wall over the last day trying to resolve this. Items enclosed in {} are where I replace an actual value with a generic one for posting here (i.e {domain} …

Member Avatar
Member Avatar
+0 forum 1

The End.