active-directory

Performance and counters error

Hi. i'm trying to watch system performance and counters on the remote desktop (Win XP pro). my Active Directory account already in Administartors group on this machine. but when i'm trying to watch system performance by mmc console manage computer it return error 0xC0000BC6. How can i resolve this? ...

How to setup up Single Sign On with a Windows 2008 RC2 and IIS7 server. [updated]

So a couple of weeks ago I installed an intranet solution for a client.. For this, they also wanted to integrate their (local) Active Directory with auto login (Single Sign On). After several tries and fails with Apache's solutions, I desided to use IIS7 on a Windows 2008 RC2. The problem was, I've had no experience with neither a Windo...

Integrating Active Directory in my asp.net website

In my website i want to use active directory users for authentication. how can i do this. ...

Trouble Shooting Help: Active Directory Bind Fails

Hi, I'm trying to diagnose a problem with a server application running on a Client site. Said application authenticates user credentials against a Domain Controller in an AD environment. The behavior we're seeing is periodically no users can authenticate through the server. We've essentially traced the failure to the "bind" failing. T...

Reading/Filtering Distribution Group's Subgroups of an active directory ?

I've an Active Directory with domain myDomain.local, under it there exists a Distribution Group that contains many groups. How can I read (programmatically) all these subgroups to retrieve a list of their names ? And how to optimize the query to filter the result so that it just retrieves all the groups that ends with the word Region ?...

Java LDAP password authentication

The below search term seems to return match if a user simply exists in the active directory: NamingEnumeration<SearchResult> ne = dirContext.search( baseDN, userObjectQuery, new String[] { userName }, SearchControls) The userObjectQuery is ...

How does ActiveDirectory cross-domain trust carry over to an LDAP query?

I am using LDAP inside Plone running behind Apache on RHEL5 to authenticate users against ActiveDirectory. This worked great until we implemented cross-domain trust. Now the LDAP client doesn't know how to authenticate against the other trusted domains so our other users cannot use the web service. Is there a nice way for the standard L...

Redirect directory to file using htaccess?

I'm trying to do something like this... Redirect mysite.com/directory/ To mysite.com/directory/do But ONLY when "/directory/" is opened without pointing to a file. I am aware that "DirectoryIndex" can help with this, but I want the file's name (which is "do") to appear in the url the users sees. Is there a way to accomplish this with ....

How to disable Active Directory 'change password' when creating the Account from Java?

I can create an Active Directory account, from Java, using sample code from : http://forums.sun.com/thread.jspa?threadID=582103 In active directory 2008, how can I create an Active Directory account whereby the user cannot change password - the sample code suggests setting userAccountControl flag to 0x0040. Can anyone confirm that this...

Active Directory Account locking out on first try

I have a website which requires users to enter their corporate network username and password. It then looks for that account in Active Directory and gets a list of any email addresses associated with that account. The problem I am having is that ONE incorrect password is locking out an account. Our domain policy is that an account will ...

Modify LDAP PhoneNumber and IPPhone attribute using C#

I have a .csv file with EmployeeNumber, TelephoneNumber, IPPhone Number listed in a text file I need a way to loop thru all the records in the text file and modify the 2 phone attributes in LDAP please help. This is totally frustrating ...

Query all the users in a system with LDAP

I am using ruby's net/ldap library for this problem but in reality the driver language shouldn't really matter. I need to find a way to be able to get all the users from a system and find out which users do not have emails assigned to the account. Is it possible? I can connect to and even create new records through LDAP, and can return...

List AD Groups with Access to a File or Directory in VB.Net

I'm writing code to parse through a list of file directories and identify which AD groups have access. That info is available in the operating system under the file properties security tab, but I can't find any code examples that retrieve that info in vb.net (or c#). Anyone have code that will do that? ...

Find If User is Member of Active Directory Group ASP.NET VB?

I am using Active Directory to authenticate users for an intranet site. I would like to refine the users that are authenticated based on the group they are in in Active Directory. Can someone show me or point me to directions on how to find what groups a user is in in ASP.NET 4.0 (VB)? ...

Updating properties for multiple users

How do I update a list of different Telephone, IPPhone using this static void Main(string[] args) { Console.Write("Enter userid : "); // I would pass this in from the first //Field in the .csv file 2439009 String username = Console.ReadLine(); try ...

Error enumerating users in LDAP

I am getting the following error when trying to enumerate users in LDAP(Lightweight Directory Access Protocol). I have verified my connection string to the server (LDAP://domainname). The server is of course online and operational. Error Message: Server is not operational Stack Trace [2264] System.Transactions Critical: 0 : [2264] <T...

finding out if user used for DirectoryEntry connection is an administrator.

Hi, I have an existing DirectoryEntry connection and I want to check if the user that was used for the creation of this DirectoryEntry belongs to a specific group. anyone knows how to achieve this? Thanks, Shuky ...

facing problem while accessing active directory in asp.net without impersonate?

can anyone help me to solve this problem? ...

Ambiguous Name Resolution (anr=*ma*) equivalent in .NET 3.5 DirectoryServices.AccountManagement

Out with the old and in with the new(er). I am shelving an old vb.net asp.net 2.0 "asmx" service in favor of a shiny new c#.net asp.net 4.0 WCF service. My old service used System.DirectoryServices.DirectorySearcher with an anr= filter to good effect and allowed for a Google style search for user objects from a single input field. I wo...

List of users in specific Active Directory Distribution Group

I'm trying to get a list of users and some properties about the user from within an active directory group. Update: Here are the two methods I currently have: Dim adGroup As New DirectoryEntry("LDAP://CN=MyGroup,OU=Groups,OU=Accounts,OU=All,DC=domain,DC=com") Dim adMembers As Object Dim objUser As ActiveDirectoryUser D...