active-directory

Retrieve NTLM Active Directory user data to Rails w/o IIS

I believe that we can allow Firefox to sent NTLM data to SharePoint sites to do automatic authentication, and I think that this is doable with IIS. I'd like to do the same thing with an internal Rails site. Does anyone know of way that I could authenticate NTLM type user information through a Apache/mongrel setup (provided of course th...

Problem with NTFRS - Missing Sysvol and Netlogon on a 2003 Server

This is a problem that is affecting me. Although this description wasn´t written by me (seen at www.experts-exchange.com (1), one of the kind of sites stackoverflow was created because of) it applies 95% to the problem I´m having. Next time I won´t follow MS advice, The domain was working until I tried the suggested solution on the event...

Finding a User in Active Directory with the Login Name

I'm possibly just stupid, but I'm trying to find a user in Active Directory from C#, using the Login name ("domain\user"). My "Skeleton" AD Search Functionality looks like this usually: de = new DirectoryEntry(string.Format("LDAP://{0}", ADSearchBase), null, null, AuthenticationTypes.Secure); ds = new DirectorySearcher(de); ds.SearchSc...

Sql Server 2005 how to change dbo login name

I have a database with user 'dbo' that has a login name "domain\xzy". How do I change it from "domain\xzy" to "domain\abc". ...

How can I configure Microsoft ADAM to be similar to Active Directory?

I want to put users into an instance of ADAM so that ADAM looks similar to a typical, real, Active Directory server. I'm developing an application that integrates with LDAP. I've tested with OpenLDAP and its core.schema. Now I'd like to test with with Active Directory, but the closest I can get to that using my equipment is by testi...

Authenticating in PHP using LDAP through Active Directory

I'm looking for a way to authenticate users through LDAP with PHP (with Active Directory being the provider). Ideally, it should be able to run on IIS 7 (adLDAP does it on Apache). Anyone had done anything similar, with success? Edit: I'd prefer a library/class with code that's ready to go... It'd be silly to invent the wheel when some...

I want to use an LDAP client here at work to talk to Active Directory. How can I discover on my own the IP I should be aiming at?

I know I could just ask, but that would involve bureaucratic entanglements. ...

customer-configurable asp.net web site security for fine-grained control of page and button access

I have an ASP.NET 2.0 [no ajax...yet] web site that will be deployed in compiled form on multiple customer sites. Typically the site will be intranet only. Some customers trust all of their people and don't care about limiting access to the site and/or page functions, others trust no one and want only certain people and/or groups to be a...

Users not showing up in Sharepoint Audiences

We are running MOSS 2007 with profiles coming from our active directory. One feature we use is "Audiences" which get compiled based on specific AD groups. We have problems with very few of the accounts where they do not get included in the audience. We have for example AD group of "Procurement" where 15 out of 16 users get included in th...

credential cache

Does anyone know how to use the credential cache or network credential to get the user's personal info from the Active Directory using C# or VB? I need to get personal info such as name, telephone ID and so on. ...

bind Linux to Active Directory using kerberos

We are trying to bind a Linux machine (debian 4.0) to W2k3 AD. We have configured kerberos properly so that we can get TGTs. And users authenticate properly. However, PAM seems to be the sticky wicket. For example when we try to SSH to the linux machine as one of the AD users, the authentication succeeds (as per the auth.log) but I n...

How to lock Active Directory accounts programmatically?

I have to lock user accounts in Active Directory programmatically in C#. Unfortunately it doesn't work via the userAccountControl attribute. Every time I set userAccountControl to 528 (=normal account w/ lockout flag), Active Directory won't accept the value and resets it without further notice to 512 (=normal account). Now I tried to...

Is it a good idea to use Active Directory user login to your application.

I am developing a web based intranet for my company. I just want to know is it a good thing for users to login the application using the active directory login details or shall i create a login together with the application db. If there is anything better that this please suggest. This is my first application development so need help fr...

Script to assign Extended Rights in AD, Special Permissions

How would you script extended rights in AD for a group to be able to unlock accounts. Need to know what the GUID is for this key? Is this possible to do, it is possible to script a user to be able to change the password using ACL. ...

Getting all direct Reports from Active Directory

I'm trying to get all the direct reports of a User through Active Directory, recursively. So given a user, i will end up with a list of all users who have this person as manager or who have a person as manager who has a person as manager ... who eventually has the input user as manager. My current attempt is rather slow: private static...

How to grab AD credentials from client machine in a web application.

Is it possible to grab activedirectory credentials for the user on a client machine from within a web application? To clarify, I am designing a web application which will be hosted on a client's intranet. There is a requirement that the a user of the application not be prompted for credentials when accessing the application, and that i...

Importing Active Directory Users and Groups into SQL Server (possibly via c#)

I need to import all ad groups in a few OUs into a table in SQL Server 2008. Once I have those I need to import all the members of those groups to a different table. I can use c# to do the work and pass the data to SQL server or do it directly in SQL server. Suggestions on the best way to approach this? ...

How do you reset a password in AD using LDP.exe?

I can connect with a user who has permissions to set passwords. I'm able to change attributes, but I can't set the password. Found some instructions to set the attribute unicodePwd to \UNC:"*password*", but it says: Error: Modify: Unwilling To Perform. <53> Setting LDAP_OPT_ENCRYPT to 1 didn't work either. The port I'm using is 38...

How do I add custom properties to an AD group in Windows?

I'd like to know how to script this. Also, is there an out of the box GUI tool that will let me do this? ...

What is the best way to implement mixed ASP.NET forms auth (AD + DB)?

I want to implement forms authentication on an ASP.NET website, the site should seek the user on the database to get some data and then authenticate against LDAP (Active Directory) to validate the user/password combo. After that I need to keep a instance of class that represents the user to use it in various forms. I tried to do it bef...