0
голосов
1ответов
994 просмотров

Active Directory Autologin without Popup

Is there a way to auto-log a user in who is logged into active-directory without propmting them to use the login dialog. I cannot set the Auth method to windows as there are 5 differant login methods. Thanks

2
голосов
1ответов
5640 просмотров

Accessing Custom Resource Properties of a Resource Mailbox in Active Directory

(This post is referencing Exchange 2010 but the capability of resource mailboxes was introduced in Exchange 2007) Exchange allows you to create different types of mailboxes for conference rooms - resource mailboxes - and assign custom properties to them, e.g. "Whiteboard", "A/V". These propert...

1
голосов
1ответов
474 просмотров

Security using the Membership provider that will support Active Directory and your own bespoke provider

I have a task of dealing with security on my .Net web application, the way it is to work is that if the user is logged in to Active Directory and the users AD name is in a database then they will be let in. On the same bases if the users AD name is not in the database then they will be asked to ...

1
голосов
1ответов
262 просмотров

Missing AD server makes website go down

In our CMS solution we have a module that is handling integration towards an AD, the module uses a standard connection string in web.config. The customer has a setup of two AD-servers and routinely takes them down for maintenance one at a time. Unfortunately the AD-module only allows connection t...

1
голосов
3ответов
1678 просмотров

java web application integrating with active directory on OC4J server

I would like to make a servlet (application deployed on OC4J ) which will allow to enter users logged in domain (Active Directory) without any prompt for login and password. Is it possible to retrive in servlet : user name via getRemoteUser or getUserPrincipal methods without authentication form?...

8
голосов
2ответов
12254 просмотров

Does System.DirectoryServices.DirectoryEntry contain a constructor that actually uses "domain\username" with Ldap?

Microsoft has a general purpose KB article (Q316748) describing how to authenticate against Active Directory using the DirectoryEntry object. In their example they produce a username value by concatenating the domain name and username into the standard NetBIOS format("domain\username") and passin...

2
голосов
4ответов
11187 просмотров

How do I get the current logged in Active Directory username from VBA?

I am new to Active Directory. I have a VBA Excel Add-In that should run if, and only if, the computer that it is running on is currently logged into the Active Directory, whether locally or through a VPN. Knowing the domain name, how would I retrieve the user name for the currently logged in us...

5
голосов
4ответов
5721 просмотров

ASP .NET authentication against Active Directory and Roles via ASP.NET role provider

In my current project, we need to authenticate users of an ASP.NET application against Active Directory. I think it can be achieved using the membership provider without too much problems. but we need also to manage user roles that will be kept in the ASP roles management tool. Did anyone implem...

0
голосов
1ответов
517 просмотров

Forum solution (asp.net c#) handling Windows Authentication

We are searching for a Forum solution to integrate with one of the intranet solutions we have developed. At the moment we are testing Jitbit AspNetForum which seems to integrate quite well but it seems not to be focused on using it with Active Directory and Windows Authentication. We are not get...

2
голосов
3ответов
789 просмотров

Store SID or Username in database for AD Accounts?

A C# application I am developing needs to store some metadata for any users of the application (e.g for App Preferences, Permissions, etc). We are using AD for authorisation/authentication. Is it better to store the SID or the DOMAIN/Username in the application database to identify an AD Account?

0
голосов
4ответов
1330 просмотров

Active Directory - how to retrieve all schema entries for a user

I am wanting to develop a staff directory application, listing all people in the organization, including name, email address, phone number, office location - all of that information. We currently have that in Active Directory, and I'm wanting to develop a simple .Net application to allow people ...

3
голосов
2ответов
6482 просмотров

System.DirectoryServices vs system.directoryservices.accountmanagement

I have an array (propertyList) that contains the names of certain Active Directory properties whose data I want to retrieve. Using Ironpython and .NET library System.DirectoryServices I solve the retrieval of properties to be loaded in this way: for propertyActDir in propertyList: obj.Proper...

8
голосов
3ответов
6387 просмотров

Searching for a objectGUID in AD

I'm using the Active Directory Explorer from Mark Russinovich. It is a great tool. I'm using it to navigate active directory to make sure my program that uses DirectorySearcher from .NET returns correct data. Something happens though, when I try to search inside my program with DirectorySearche...

1
голосов
2ответов
3371 просмотров

Using DirectorySearcher to query multiple OUs

I have the following code: var directoryEntry = new DirectoryEntry(distributionListsListADSPath); var directorySearcher = new DirectorySearcher(directoryEntry) { SizeLimit = int.MaxValue, PageSize = int.MaxValue }; var result = directorySearcher.FindAll(); The problem is I want to s...

1
голосов
2ответов
314 просмотров

How to check if a another user is on the same or lower level in the company hierarchy?

I've got this: UserProfile prof = getUserProfile(properties.CurrentUserId); UserProfile toCheck = getUserProfile(anotherUsersId); "prof" user must be on a higher or on the same level as "toCheck" user. If "toCheck" is on a lower level he/she must be on the same branch of the hierarchy tree. If...

5
голосов
2ответов
7853 просмотров

powershell check sharepoint URLs

I'm trying to write a script that iterates through a bunch of sharepoint URLs and verifies that they exist. From what I can find, it looks like this should work: $webclient = new-object System.Net.WebClient $webclient.Credentials = new-object System.Net.NetworkCredential ("username", "passwor...

6
голосов
2ответов
9550 просмотров

Authenticate against ldap using PHP, active directory, while using IE/Firefox

This code below checks for the user's credentials against ldap <?php $ldaphost = "ldap.domain.com"; $ldapport = 389; $ds = ldap_connect($ldaphost, $ldapport) or die("Could not connect to $ldaphost"); if ($ds) { $username = "[email protected]"; $upasswd = "pass"; $ldapbind = l...

2
голосов
1ответов
3184 просмотров

VB6 Get List of Active Directory Domains

Using VB6, is it possible to get a list of all available domains in active directory? Thanks, Alex

0
голосов
2ответов
810 просмотров

.htaccess - list URL's to be restricted by ActiveDirectory LDAP Groups

Currently I have a .htaccess file within the directory of the folder I want to restrict, with the appropriate group that has access to it. What I want to do is have one htaccess for the entire site, and restrict groups to specific URL's. So I want staff to have access to: /staff/.. and Studen...

2
голосов
2ответов
4554 просмотров

Convert AD Timestamps to .Net DateTime

In active directory there are a bunch of INT64 fields (like lastlogintimestamp, accountexpires, etc) How do I convert these to datetime values in C#?

0
голосов
1ответов
993 просмотров

Active Directory and Network ID

I know that I can get the fully qualified domain name by using the windows NT network domain. I'd like to do the reverse: Ex: User.Identity.Name = "slaterock\fflintstone"; Active Directory returns fully qualified domain name of slaterock.bedrock.us.com. I would like to be able to get the domain ...

4
голосов
2ответов
5677 просмотров

How can I work with Active Directory from Perl?

I am considering writing some Perl scripts that interact with Active Directory. Being somewhat new to Perl, I was wondering if there were any specific modules, tools, techniques, etc. that anyone would suggest I use. As of right now, I am only looking to pull user information to process with the...

0
голосов
3ответов
1018 просмотров

web.config secure directory with gal group

So, I have the following in the web.config <authentication mode="Windows"/> <authorization> <allow users="domain\johndoe" /> <!--Deny All Others--> <deny users="*" /> </authorization> But, what I want to do, is ...

4
голосов
3ответов
15307 просмотров

A local error has occurred while connecting to AD in Windows 2008 server

There's Active directory on windows 2000 advance server, I have a web server on Windows 2008 server Enterprise Edition, the following code works fine in Winsows 2003 server but when I installed Win 2008 server, it gives me the following error, the webserver is not subdomain of the AD server. but...

3
голосов
2ответов
3311 просмотров

Mocking an Active Directory for off site development

I received a client application, using SQL Server 2005, which contains many views with joins to their active directory. They do this to secure what people can see in the database. I need to be able to run these view from my remote development environment and I am looking for suggestion on how t...

3
голосов
5ответов
17315 просмотров

LDAP DirectorySearcher with MemberOf property

I want to find all the users that are a member of a group in a certain OU, so my filter would look something like this: (&(objectClass=user)(memberOf=*OU=something,OU=yep,DC=dev,DC=local)) Is there a way to run a directorysearcher on the memberof property with a wildcard?

2
голосов
2ответов
1513 просмотров

SSO from external web app to multiple LDAP (AD) providers

We are looking into a solution for this problem: We host a ASP.NET web app externally on a dedicated web server which is on its own domain. We have a client who use the web app exclusively, and want SSO using their windows credentials to automatically authenticate into the web application withou...

3
голосов
3ответов
2177 просмотров

Is the directorysearcher object capped at 5000 even if pagesize is set to greater

Is the directorysearcher findall results method capped at 5000 results even if pagesize is set to greater. It really seems to be, because no matter what I get exactly 5000 results. This is C#

2
голосов
2ответов
1545 просмотров

Finding what Groups/Distribution lists a specific user belongs to in active directory

Let's say I'm in OU=Groups,DC=contaco,DC=com,ct I can find all the groups in a sub OU, but the only way to find all of the groups user 'bobdole' belongs to is for me to look at each group and see if he is in the 'member' field. Unfortunately, when I look at user 'bobdole', I don't see a memb...

9
голосов
3ответов
2879 просмотров

Check if AD account has "Logon on as a service" right in Active Directory

Is it possible to check if an account has "Logon as service" right programatically. I know how to setup and check this manually but I would like to check it from C# code. I need to check if this right is enabled on domain level, not just on that particular server. Edit: I am looking to find out...