Browse by Tags

Related Posts

  • 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
  • AD fetching limits to 1000 records - how to work with PageSize property

    All, Our requirement goes like we have to display all the users under one LDAP. Everytime, we query with the AD and display, only 1000 records are displayed. But itseems we have more than 1000 records. If we try to modify the PageSize value to set more than 1000, it is either getting hanged or getting...
    Posted to Active Directory and LDAP (Forum) by aravind.pk on 08-22-2008, 12:00 AM
    Filed under: pagesize, Active Directory, AD, AD LDAP, DirectorySearcher, DirectoryServices, LDAP, active Directory C# user groups, C#, Directory Services
  • Re: Unable to connect to active directory

    What error message are you getting? This doesn't look right: "LDAP://ou=HYHC,ou=HYHCusers,dc=dchyhc01.ministryhealth,dc=net" What is this: dchyhc01.ministryhealth ? dc, in this context, means Domain Component i.e. part of the DNS name of your domain. E.g., if your domain was ministryhealth...
    Posted to Active Directory and LDAP (Forum) by ssg31415926 on 08-09-2008, 12:00 AM
    Filed under: Active Directory, DirectoryServices
  • Re: Questions on connecting Active Directory to my application

    Most of your answers are probably here: http://forums.asp.net/t/907421.aspx Quick Primer: Add a reference to System.DirectoryServices Add Imports System.DirectoryServices DirectorySearcher is used to return one or a set of results (two methods: FindOne(), FindAll()) - you can use the tool LDP to build...
    Posted to Active Directory and LDAP (Forum) by ssg31415926 on 08-09-2008, 12:00 AM
    Filed under: Active Directory, DirectoryServices
  • Re: Active Directory and Employee Information

    I don't believe there are any specific recommendations other than only using fields for what they were intended. E.g. Don't use employeeNumber to store bit-flag that gives application permissions or some such. You can use any of the fields that ActiveDirectory itself doesn't use. The list...
    Posted to Active Directory and LDAP (Forum) by ssg31415926 on 08-08-2008, 12:00 AM
    Filed under: Active Directory, Attributes, DirectoryServices, Schema
  • Re: How Do I Display Active Directory Sites and Subnets

    Okay, here you go. Create a Console App and add a reference to System.DirectoryServices. using System; using System.Collections.Generic; using System.Text; using System.DirectoryServices; using System.DirectoryServices.ActiveDirectory; namespace ADTester1 { class Program { static void Main(string[] args...
    Posted to Active Directory and LDAP (Forum) by ssg31415926 on 08-07-2008, 12:00 AM
    Filed under: Sites, Subnets, Active Directory, DirectoryServices
  • 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
  • Error message "The directory service is unavailable"

    Hello, I am building an asp .net website that does many things. One of them is to check if a particular group is a valid group in active directory . If it can be found then it returns a true boolean and if it can not be found it returns a false. Unfortunately i have received various error's so far...
    Posted to Active Directory and LDAP (Forum) by mylesmolloy on 04-24-2008, 12:00 AM
    Filed under: Active Directory, ASP.Net, DirectoryEntry, DirectoryServices, LDAP
Page 1 of 2 (19 items) 1 2 Next >