Browse by Tags

Related Posts

  • Re: Retrieve physical path of an IIS Application (Virtual Directory)

    Sorry to bother you guys, but it seems that I have found a solution. When using the DirectoryEntry object, and iterating through all the child objects - if a child object is of type "IIsWebServer" or "IIsWebVirtualDir" calling the DirectoryEntry e -> e.Path resulted in the path...
    Posted to Free For All (Forum) by klausk on 06-16-2009, 12:00 AM
    Filed under: DirectoryEntry
  • Re: Help me, Logon failure: unknown user name or bad password

    When you are instantiating a directory object, pass the username and password along with the ldap path as arguments. Example: Dim oRoot As DirectoryEntry = New DirectoryEntry("LDAP://" & ldapServerName & "/dc=gm,dc=co,dc=id", username, password) Username format: domain\username...
    Posted to Active Directory and LDAP (Forum) by olji on 02-19-2009, 12:00 AM
    Filed under: Active Directory, Active Directory Application Mode, ActiveDirectory ADAM, AD, AD LDAP, ADAM, ADSI, DirectoryEntry
  • Re: LDAP connection help DirectoryService Information ??

    The error specifies that the root directory object and/or its children doesnt have such attribute/value pair i.e. the (id="value") pair. To make successful search use the correct attribute names. Verify which attribute you have to compare and get the result. Hope this helps!
    Posted to Active Directory and LDAP (Forum) by olji on 02-19-2009, 12:00 AM
    Filed under: DirectoryEntry, DirectorySearcher
  • WebApplication can't find Directory.Services

    Hello, I'm develloping and web app that needs access to Active Directoy. I'm doing this trough LDAP. It's was working fine until I changed the type of project in my Visual Studio 2008 from web site to web application. Now it gives me some errors: "The type or namespace name 'DirectoryEntry'...
    Posted to Active Directory and LDAP (Forum) by achor on 01-24-2009, 12:00 AM
    Filed under: DirectoryEntry, WebApplication
  • Error in Changing Password using DirectoryEntry.Invoke

    Hi I am facing an error while changing/Setting the password. I am getting the below error U nknown name. (Exception from HRESULT: 0x80020006 (DISP_E_UNKNOWNNAME))” . DirectoryEntry usr = new DirectoryEntry(" LDAP://server.domain.com "); usr.Invoke("ChangePassword", new object[] {...
    Posted to Active Directory and LDAP (Forum) by ssshan on 10-13-2008, 12:00 AM
    Filed under: Active Directory, active Directory C# user groups, AD, AD C# LDAP, AD C# LDAP single sign-on, AD LDAP, ADSI, AdsPath, Directory Services, DirectoryEntry, DirectoryServices, LDAP in c#, list fields active directory
  • Connect to OpenLdap : The specified directory service attribute or value does not exist.

    Hi, I dont undertsand how my code below doesnt work. I've read docs and forums whitout any success. All I want it s to connect to my openldap directory to grab some user informations. The error message "The specified directory service attribute or value does not exist." apears. I'v...
    Posted to Active Directory and LDAP (Forum) by chalagif on 08-18-2008, 12:00 AM
    Filed under: OpenLDAP, DirectoryEntry, DirectorySearcher
  • Re: Adding Existing User to Existing AD Group

    First, (and no offence intended to anyone here) but you might be better posting questions like this to microsoft.public.adsi.general via Google Groups - that group is dedicated to Active Directory programming and there are some really good guys there who've given me loads of help. Second, if you're...
    Posted to Active Directory and LDAP (Forum) by ssg31415926 on 08-07-2008, 12:00 AM
    Filed under: Active Directory, AD, DirectoryEntry, DirectoryServices, ADSI
  • Re: Map certificate to an account

    I have solved the problem myself. Below is the solution: 1 private void btnKoppel_Click( object sender, EventArgs e) 2 { 3 //Instantiate an object of the type EIDCard 4 EIDCard card = new EIDCard(); 5 //Prepare the card to be able to read from it 6 card.InitReader(); 7 try 8 { 9 //Get the lenght from...
    Posted to Active Directory and LDAP (Forum) by jeetn86vm on 07-18-2008, 12:00 AM
    Filed under: .Net, Active Directory, AD, AD LDAP, ASP.Net, asp.net 2.0, DirectoryEntry, DirectoryServices, LDAP, LDAP in c#, asp.net2.0, active Directory C# user groups, asp.net 2, C#, Directory Services, VS 2008, asp net 2.0
  • Issue in Listing user in Active Directory

    When i try to List the users from Active directory, i get this exception. Error while processing.System.Runtime.InteropServices.COMException (0x80072020): An operations error occurred at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail) at System.DirectoryServices.DirectoryEntry.Bind...
    Posted to Active Directory and LDAP (Forum) by palavesh on 07-17-2008, 12:00 AM
    Filed under: Active Directory, ActiveDirectory ADAM, ActiveDirectoryMembershipProvider, authentication, authorization, DirectoryEntry, DirectoryServices, eDirectory, System.DirectoryServices.Protocols, active Directory C# user groups, Directory Services
  • C# Directory browsing in Server

    Hi, Is it possible to allow users to browse a particular subfolder but not every folder in the site? I have security on the directory but all I seem to be able to do with that is allow or disallow access. Please provide some sample examples or resources. Thank you.
    Posted to Security (Forum) by Sudheendra B on 06-23-2008, 12:00 AM
    Filed under: Access, Access is denied, asp .net 2.0, C# Directory Browsing, directory permissions, DirectoryEntry, Asp .net, ASP.NET 2.0, Directory Browsing, DirectorySearcher, .net security
Page 1 of 5 (48 items) 1 2 3 4 5 Next >