Hi,
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 without having to log on. This client has u...
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?
...
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 to do this.
I cannot duplicate their AD ...
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 they have the same range IP address.
A l...
I have used the ADCCSharp.dll to check if a user exists in Active Directory. I use this in the login form of a windows application. The problem is that some users can not access the program and they are (exists) in active directory. I guess there must be some right| permissions|security problem.
How can i set rights to the dll i use? t...
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 only allow users in a specific GAL group on our AD server and that doesn't seem to work with these settin...
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 script.
...
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 portion of User.Identity.Name by querying ...
In active directory there are a bunch of INT64 fields (like lastlogintimestamp, accountexpires, etc)
How do I convert these to datetime values in C#?
...
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 Students to have access to:
/students/..
I wou...
Using VB6, is it possible to get a list of all available domains in active directory?
Thanks,
Alex
...
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 = ldap_bind($ds, $username, $upasswd);
if (...
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", "password", "domain")
$webpage = $webclient.Downlo...
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 they are on the same level, their manager...
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 search two seperate OUs.
So what I do is r...
How do I setup SVN (On a linux box - Centos 5.2) to authenticate using Active Directory?
Also:
Any tips or tricks?
What should I watch out for?
How fine grain can I set the access? This group have access to these projects, etc?
And how does this work if I use something like tortoissvn to access my repository?
What I have learned ...
I want to query Active Directory from SQL Server like this, but retrieving only current users. I presume the way to do this is to check the 'accountExpires' field.
This is made slightly tricky since dates in AD are stored as the number of 100 nanosecond intervals since January 1, 1601 (UTC). In the accountExpires field a value of 0 or...
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 DirectorySearcher for objectGUID, if I pass in the actual ...
Hello:
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.PropertiesToLoad.Add(propertyActDir)
res...
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 to search and retrieve it. Getting the in...