|
by: Mario Rodriguez |
last post by:
Hi People, I'm try to access an Active Directory using both DirectoryEntry
and DirectorySearcher (.NET DirectoryServices) and OLEDB Active Directory,
in all cases I'm receiving this error:
No error information available: DB_E_NOTABLE(0x80040E37).
My application was working until I read the active directory path from the
Web.config path, because when was working the ADPath was hardcoded
Any idea????
|
by: Andrew Connell |
last post by:
I have a case where I need to be able to query Active Directory to
look up a user by their WINNT:\\DOMAIN\USERACCOUNT. The site is
authenticating the users (it's a CMS site and they must be
authenticated). I have Integrated Authentication & Anon access
checked in IIS. I also have the following in my web.config:
<authentication mode="Windows" />
<identity impersonate="true" />
<trust level="Full" originUrl="" />
However, after...
|
by: Tash |
last post by:
I am having a weird problem. I am trying to use the following code to query
active directory.
Function IsExistInAD(ByVal loginName As String) As Boolean
Dim userName As String = ExtractUserName(loginName)
Dim search As DirectorySearcher = New DirectorySearcher
search.Filter = String.Format("(SAMAccountName={0})", userName)
search.PropertiesToLoad.Add("cn")
Dim result As SearchResult = search.FindOne
If result Is Nothing Then
|
by: Jim in Arizona |
last post by:
My goal, somehow, is to populate a dropdownlist with all the user names
in active directory. I don't even know where to begin, really.
I added a reference to System.DirectoryServices so I could use the
System.DirectoryServices.ActiveDirectory namespace. I don't even know if
this is the right way to go as I can't seem to find anything in that
namespace that would help me query active directory for names.
I can't use an LDAP query...
|
by: J Ames |
last post by:
Please, if this is the incorrect forum for this question, let me know which
forum is most appropriate. I want to make sure I get visibility with the
proper gurus!
I have a .NET console app that consumes an external web service. It has
passed a userid and password to a web proxy object to pass through our
corporate proxy server and has been running fine for weeks. Our operations
staff has just changed the proxy server so that it now...
|
|
by: David Bear |
last post by:
Is it possible to use python to make calls agains microsoft active
directory? I suppose this should be qualified by what is needed to do it
from windows (I assume the win32all package) and from linux (if possible).
Any code samples would be great.
--
David Bear
-- let me buy your intellectual property, I want to own your thoughts --
|
by: MuZZy |
last post by:
Hi,
I'm trying to find a way to call a standard ActiveDirectory search
dialog from my C# app, so i can pick a domain or computer user an
dreturn it to the app. It's a search like one showing when you call:
rundll32 dsquery,OpenQueryWindow
I'm sure there is a Win32 API method to do that but i can't find one.
|
by: justintaitt |
last post by:
Hi,
I am new to active directory and am trying to query it for the user name and ID of members of a group to populate a drop down list in the form: firstname lastname (userID)
When I run the page which calls this function through visual studio it works fine and the drop down list is populated. However when I run the page over the intranet I get this error.
Unknown error (0x8000500c)
Description: An unhandled exception occurred during the...
|
by: John Gault |
last post by:
I'm in need of some guidance... I want to query Active Directory using a
user's alias and want to find all the distribution groups that they are a
member of. Are there any examples of doing this?
--
JG
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|