active-directory

AD user impersonation does not propagate to database with integrated security

I have a setup where I impersonate an AD user as described here. The app connects to the (Oracle) database using integrated security, but the impersonated credentials are not propagated to the database. Are there any known issues with impersonating AD users and accessing the database with integrated security? ...

How to design User authentication for 2 servers

I need to authenticate a user from 2 servers. First, a user would be authenticated from Server A, on success, his AD (Active Directory) credentials would be authenticated to Server B (which is AD). Should, server A, send an OKAY signal to Server B (Active Directory) that server A has done with authentication and its okay. I am confused...

Documents and Reports unavailable for AD account

Documents and Reports are unavailable when I log in with my AD account. I also can't add new team project with my AD account even when its set as TSF administrator, I get TF30224 permission error for the tfsservice account. These all work when I log in TFS server local Administrator account. TFS service runs under domain\account. How c...

add user to an organizational unit in active directory

I'm gonna build a webpart for creating user in active directory. i want to add created user to an organizational unit if the organizational unit exist. how i can do that? ...

How can I list all SPUser objects in a SPGroup?

I need to retrieve all SPUser's from a SPGroup. Unfortunately, the group may contain Active Directory groups, so a simple SPGroup.Users is not enough (I'd just get a single SPUser for the AD group, with the IsDomainGroup property set to true). Does anyone have a good idea how can I obtain a list of all SPUser's, descending into any Acti...

Using Active Directory with Microsoft Azure

I'm researching whether or not it makes sense for my company to use Azure for some outward facing applications. We need it to integrate with Active Directory so that it knows who they are without having to login to the site, kind of a single sign-on. Has anyone done anything like this or what tools I'd need to use to do it? To elaborate...

get first name last name of logedin windows user?

How I can get my first name last name with c# in my system (logging in windows with Active Directory username and pass)? Is it possible to do that without going to the AD? ...

Access Hardware Information Using ASP.Net

Our PC Tech's are having to go around our company and write down information about every PC within the company (OS, CPU Speed, Memory). Is there any way to gather this information through ASP.Net? I know you can do it using Winforms, and i know there is also a security risk, but all that aside is it still possible? ...

LDAP using UserPrincipal missing a few fields in ActiveDirectory

I am accessing the Active Directory to fetch the employee Id from the Directory Server from my ASP.Net MVC account using the below code. I am able to get the Given Name,SurName and voice telephone number but not the Employee ID.But I know for sure that it is there. I am developing in one machine and deploying in another so can I by som...

How to display logged in users Active Directory full name using PHP?

Hello, I am trying to display the full name of a user in Active Directory on an Intranet page. I can display their user id with: $eadUserName = $_SERVER['LOGON_USER']; echo $eadUserName; but need to figure out a way to display their full name instead. I am new to PHP so any info would be greatly appreciated. Thank you! ...

Setup active directory with myBB

Is there a way to use the users in active directory as the users in myBB? ...

Possible to inject thumbnail photos into AD via cfldap?

Does anyone have a way to inject thumbnail photos of users into AD? When I get data via cfldap, I can see the entry for thumbnailphoto, but the entry for MY record (which has a photo attached to it manually) has an empty string in that field. Any suggestions? Thanks! Chris ...

Get calendar events from Calendar (possibly using ActiveDirectory)

Hi, I need to start extracting events in a microsoft calendar. I've never done this before, so just want pointing in the right direction. Does anyone know if this is possible using Active directory? Anyone have any examples of where this has been done before? Thanks, Ian ...

How can I specify alternate credentials in code?

I want to run this function, or at least the bit that deletes the machine account from AD with different credentials: public static void DeleteMachineAccount(String MachineName) { String MachineLdapPath = LdapPath(MachineName); String OuLdapPath = MachineLdapPath.Replace("CN=" + MachineName + ",", ""); ...

Thread.CurrentPrincipal.Identity And Active Directory

Hi All I want to authenticate Thread.CurrentPrincipal.Identity when it has entry in active directory or redirect user to login page to check the database for valid user. MBM ...

c# Active Directory Services findAll() returns only 1000 entries

I am searching for existing logins using ADS Directory searcher findAll() method (as in following code). It appears the findall method returns only 1000 entries although there are more entries than that. How do I findAll() of every login ? IList<string> adslist = new List<string>(); using (DirectoryEntry de = new DirectoryEntry(...

ASP.NET Active Directory Nested Authorization Issue

Hello, I'm working on an internal ASP.NET application that uses an Active Directory distribution list for managing who has access to the web site. However, due to the fact that this distribution list could contain both users and groups, I had to develop a solution for checking to see if the current user is able to access this site (e.g...

LDAP connection with PHP web-application

We have a web-application, hosted externally. One client now asks for a SSO (single sign on) solution and suggested a LDAP link with our web-application. Our website uses PHP. We prefer not to use something like VPN, but we have no experience at all with this stuff. Is it possible to use Windows authentication and somehow automatically...

How to reliably check the windows domain id of current user on a workstation

I am using C# and .Net Framework 4. I am looking for a foolproof method to get the login id of the currently logged in windows user that is not susceptible to impersonation or hacking. I am looking for this in the form of: DOMAINNAME\USERNAME e.g. SOMEDOMAIN\JohnDoe Currently the best I have is: var identity = System.Security.Princi...

Can I allow anonymous and active directory users to browse the same IIS 7.5 site?

I have a site through which the majority of users will be anonymous but a few will be active directory users. I'd like to; Enable full anonymous access for everyone without logins. Detect the AD users. Check if the AD users are members of a specific admin group. I'm using .Net 4.0, C# and IIS 7.5 running on Windows Server 2008 R2. ...