active-directory

How do you add an Active Directory user to SharePoint using WSS?

Is it possible to introduce existing AD users into SharePoint using WSS? If I create a new list item manually, and there is a User / People Picker field in the list, if I type a username in the field and submit, SP finds the user and adds it in as a SP user. Why does that not work when adding new items through WSS? I cannot get WSS to ...

Filtering Active Directory Users in Alphabetical Order

I've got to modify a property in active directory for each user throughout the company I work for. This is the code that I am user to get all users. String domain = Properties.Settings.Default.ADConn; String user = Properties.Settings.Default.ADAdmin; String pass = Properties.Settings.Default.ADPass; Di...

ActiveDirectory Provider fail over Best Practices

ActiveDirectory Server 2003 I am using the ActiveDirectoryMembershipProvider and ADroleProvider. They work great. Until my active directory server restarts in the middle of the day to get updates. (I'm not in charge of the server and can't change this). When this happens, for the five minutes the server is rebooting, my users can't u...

In Python, How Do I Set an Expiration Date on a User Object in Active Directory?

Setup: I have the user object in hand, via win32com.client.Dispatch('ADsNameSpaces'), in a standard Windows environment, using ActiveState Python of the 2.6 flavor. Apparently, Get() and Put()/SetInfo() methods are the appropriate ways to read from and write to properties of the object. My approach has been to simply adapt examples fro...

Sharepoint Server 2007 - Change Authentication to AD

I set up a test Sharepoint 2007 Server before I set up a test AD Server to add it to. Based on what I read I did this backwards and if I would have set it up the other way around Sharepoint would use AD by default. Is there a way I can change the configuration so this Sharepoint server will authenticate against the domain? I did some ...

Does Active Directory commitChanges method work the same as a DataBase Commit transaction?

Hello: I do not have a way to test now so is it possible for you to confirm me the question of the title? I mean in a ADO.NET database transaction, I can update/insert thousands of records before commiting to the database. In Active Directory using System.Directory.Services it seems I need to commit for every entry (or record) that I u...

System.DirectoryServices.AccountManagement Performance Issue?

The following C# code (.NET Framework 3.5) returns name and description of all users for an AD Group "xyz". It works great as long as it returns a few number of records. But, it is very slow when it returns more than 100+ records. Any suggestions would be greately appreciated. Thank you in advance! var context = new PrincipalContext...

how to integrate smart card with wonderware authentication?

I want to integrate the smart badge with the archestra authentication . The user will enter his pin and he will be allowed to see the pages based on his privilages. The user is issued a smart badge that has been mapped to his user account in Active directory. Wonderware intouch window viewer is running on the workstation computer.when t...

Mercurial server on Windows using ActiveDirectory for authentication

I'm running Mercurial's hgwebdir.cgi on WinXP over IIS as a central repo for sharing code with my team. I'd like to use ActiveDirectory to authenticate to the server when pushing/pulling through TortoiseHg and/or the command-line hg client. Has anyone done this or seen instructions on how to do this? ...

C# Active Directory Library

Has anyone seen any solid libraries for working with active directory (mainly user related stuff) in C# and asp.net. Am I better off intergrating with asp membership or building something customised. I took a look at LINQtoAD but it doesnt seem to be active anymore. ...

DirectorySearcher null comparison in filters

I am trying to find LDAP objects which don't have any value in their "manager" property. What should be the filter string? I am trying with this to no avail: "(&(objectClass=user)(objectCategory=person)(manager=NULL))" ...

Active Directory testing on Windows XP Home (With Groups, new users, etc)

I am working on a project for a client at home. I use Windows XP Home edition as my main development (at home). The client needs some Active Directory projects that require setting up new users, new groups, editing users, etc. However, I can't seem to get a test environment setup for testing. I am running VirtualBox and in the past...

User does not have access to the AnalysisServices database

We have a analysis services olap cube (SSAS 2008) deployed at a test server (MS Serve 2008) in our domain, you can browse the olap cube via ssms without problem. No problems with olap cube itself so far. The user account is admin on the analysis services server. We also have reporting services (SSRS 2008) installed at the same test serv...

Replicating Active Directory - testing scenarios

Replicating a production server's Active Directory is possible through a number of approaches as mentioned here and here. I'm looking for a simpler approach if one exists. I have a mixed-mode authentication site that I need to test. Quite simply AD users (internal) will have more privilege's than someone who logs in via forms (external)...

Where to store complete first names, middle name and last name in Active Directory?

Hello: I have the next name in my country: Juan Jose Perez Gomez where (1) first name is "Juan Jose", (2) middle name (Father's surname) is "Perez" and (3) second name (Mother's surname) is "Gomez" Which Active Directory property names do you recommend to use for storing separately (1), (2) and (3) ? Thanks. ...

How do I authenticate user between ASP.NET and WCF?

Hi, We are developing a browser based intranet application. All users have active directory account, so obvious choice would be use Integrated Windows Authentication. But there will be multiple users accessing same client machine so we decided to use form based authentication (but authenticated against AD). In this scenario what is the ...

LDAP: using a filter to avoid a sub CN in Active Directory

I am trying to query nearly all users in Active Directory. My normal users are in various OUs, and I want to retrieve those. But my system users are stored in the Users CN, and I don't want to retrieve those. It looks a lot like another question, but their answer didn't help me. I'm using the hint provided here, but its not helping out ...

Integrating linux into Active Directory- best approach?

We have a bunch of RHEL5/CENTOS5 boxes. And now, despite our best efforts, we are having XP desktops and AD (WS2003) shoved down our throats. Currently the linux boxes are all standalone, and use the usual /etc/passwd authentications, /etc/group groups, /etc/sudoers sudoers, and so forth. So this could actually be a constructive th...

Creating Active Directory user with password in C#

Hi all, I'm looking for a way to create Active Directory users and set their password, preferably without giving my application/service Domain Admin privileges. I've tried the following: DirectoryEntry newUser = _directoryEntry.Children.Add("CN=" + fullname, USER); newUser.Properties["samAccountName"].Value = username; newUser.Propert...

ASP.NET web.config Could not find the specified membership provider

Hi, I got this error message Could not find the specified membership provider Here's my web.config setting: <connectionStrings> <add name="MyConnectionString" connectionString="Data Source=MyHostName;Initial Catalog=MyDB;User ID=userid;Password=*****" providerName="System.Data.SqlClient" /> <add name="ADConnectionString" con...