hi,
i would like to be able to login on a webpage using a valid active directory username and password.
user name and password are entered in textboxes. if they are correct then i would like to redirect to another page.
how can this be coded.
in a second task
after some code is performed, log in as an administrator using code and un...
I have this situation:
I have a website and needs to use the users base from a users database (SQL Server, Oracle, etc) and from a NT user database (computer or domain) for security/authentication of the site.
The scenario is this:
A user logs into the site and enters his/her username and password.
The site looks up to the users data...
Hello
I am working on a project using the Active Directory, intensively. I set up a few unit tests for several things against the AD, some of which I achieve using mocked objects, some which I achieve through real calls against the AD.
As one of the functions of my project, I have to retrieve a so called "user profile". This user profi...
How would one add a group of users to Active Directory from a csv file using PowerShell?
The csv file would contain the first, last, email, temp password, and description for the users. The OU, permissions, and etc. could be hard coded.
The script should also add an Exchange 2007 email box.
...
Using the .net 3.5 framework and C# I'm trying to add a new user to AD from C# and can't find any examples. I see that the PrincipalCollection object has an overloaded 'add' method but can't seem to figure out how it works. Can anyone help?
How create a new user object, add it into AD.
Secondly, the user that will be adding in new...
All,
I have a WCF web service (let's called service "B") hosted under IIS using a service account (VM, Windows 2003 SP2). The service exposes an endpoint that use WSHttpBinding with the default values except for maxReceivedMessageSize, maxBufferPoolSize, maxBufferSize and some of the time outs that have been increased.
The web service...
As the title mentions I need a way to get all groups a group is member of in ActiveDirectory.
To get all groups a user is member of I use
public static DirectoryEntry[] GetGroupsUserIsMemberOf(DirectoryEntry directoryEntry)
{
ArrayList groupsUserIsMemberOf = new ArrayList();
object groups = null;
...
I need to secure a legacy help site on our network that points out to the world. Ideally, I want to have people authenticate with their active directory logins, because everybody in the company is already there, and they already know that stuff. Ideally, I'd need to set the default domain so people don't have to type that.
I have an e...
I have been tasked with securing a pure HTML website for someone, and I'm not entirely sure how to approach the problem. Here are the constraints:
All logins must link in with our current Active Directory domain.
(Optional, but desired) The solution must whitelist requests coming from inside our intranet - that is, if someone attempts...
I'm attempting to implement a simple Single Sign On scenario where some of the participating servers will be windows (IIS) boxes. It looks like SPNEGO is a reasonable path for this.
Here's the scenario:
User logs in to my SSO service using his username and password. I authenticate him using some mechanism.
At some later time the user ...
Is there a:
string name =
System.DirectoryServices.AccountManagement.UserPrincipal.Current.DisplayName;
equivalence in .net 2.0 framework?
It uses the System.DirectoryServices.AccountManagement (ver 3.5) reference. I tried using that file on a .net 2.0 framework but to no avail.
Basically, I want to retrieve the full username (f...
I have a .NET MVC (1.0) application that is using the ActiveDirectoryMembershipProvider to authenticate users, and this is working fine as is. After a successful authentication, I am creating a custom profile in SQL for that user (AD username, email, etc).
In one part of the application I am sending email alerts to users, and I am loop...
The dsquery command line tool is mentioned in the solution to several questions about Active Directory. However, my workstation does not have this command line tool. Where do I get it?
...
Hey
I'm trying to set up a backup feature for the users in a Active Directory Domain.
The wish is for the clients "my docuemnts" folder to sync to a folder on the file server.
Is this doable using Active Directory only, or do one need any third party applications?
If its doable, what steps is needed to set this up, on the server, and...
Hi. I'm site collection administrator/(physical server administrator) in SharePoint (3.0), and I'm debugging other users' rights to access some of our own features. Is it possible, in any way, to log in as another user(with his/her rights) without knowing his password? I can create my own 'dummy' user assigned to same groups, but lookin...
I have been tasked with coming up with a solution where I am not sure if there is a solid answer:
How can I match username records from an application's database to users in our Active Directory?
I have two applications this needs to be done for - 1st application I only have firstname and lastname information. Second application i have ...
How can I get the Windows user and domain from an Active Directory DirectoryEntry (SchemaClassName="user") object?
The user name is in the sAMAccountName property but where can I look up the domain name?
(I can't assume a fixed domain name because the users are from various subdomains.)
...
I have created a batch job to import a “.ldf” file to exchange server with “ldifde.exe”. It is working fine in normal conditions. The issue I am facing is that, if there are any issues to import any of the account details the job will get terminated. I need to continue the execution even if importing of any of the accounts failed.
How ...
Hi,
how do I connect to Sharepoint (e.g. fetching lists) through Cocoa?
Is there any blog post or document about it?
Regards,
Stefan
...
ASP.NET Login control is very slow making the initial connection to AD when authenticating to a different domain than the domain the web server is a member of. Problem occurs for the IIS server and when using with the Visual Studio's built in web server.
It takes about 30 seconds the first time when attempting to use the control to conn...