Home
Get Started
Learn
Downloads
AJAX
Community
Wiki (Beta)
Forums
Sign in
|
Join
Home
›
All Tags
»
LDAP
»
ADSI
(
RSS
)
Browse by Tags
Active Directory
ActiveDirectory ADAM
ActiveDirectoryMembershipProvider
AD
AD LDAP
ADAM
Application Blocks
asp net 2.0
ASP.Net
asp.net 2.0
ASP.NET Futures
asp.net2.0
authentication
authorization
Authorization Manager
AzMan
C#
ChangePassword
Connection String
DAAB
Data Access Application Blocks
date calculation
Directory Services
DirectoryEntry
eDirectory
Forest authentication S.DS login ldap
IIS6
Invoke
LDAP authentication eDirectory
LDAP domain subdomain filter
LDAP in c#
ldap tutorial directoryservices
local error directoryservicescomexception directorysearcher findall ldap active directory
lockdown
Machine
password
rows not released
Security
service account
Slow
Statistics
System
tokengroups nested
User
Web Application
Web Developer
Related Posts
Re: How to check User Enabled or Locked with LDAP Server ?
The lockoutTime is trickier than that. You either need the calculation, or you need to use msDs-User-Account-Control-Computed in Windows 2003/ADAM. You can see how it is done in Ch. 10's samples. The links to the samples are at the top of this forum.
Posted to
Active Directory and LDAP
(Forum)
by
dunnry
on 09-20-2006, 12:00 AM
Filed under: LDAP, ADSI
Re: Retrieve only name and telephonenumber
bdesmond: You need to check that the value isn't null before you use it: if (!(sr.Properties[ "telephonenumber" ][0] == null )) { // Do something } Unfortunately, that will blow up if the attribute does not exist on the object (since index 0 won't exist). You need to use the .Contains...
Posted to
Active Directory and LDAP
(Forum)
by
dunnry
on 09-20-2006, 12:00 AM
Filed under: LDAP, ADSI
Re: Return users in an OU and filter out certain accounts
Without a distinguishing attribute on the objects you don't want (or a location that is different), it becomes more difficult to do this filtering, since by definition they must be different for a filter to work. You could add them to a security group and filter them by the 'memberOf' attribute...
Posted to
Active Directory and LDAP
(Forum)
by
dunnry
on 09-20-2006, 12:00 AM
Filed under: LDAP, ADSI, Directory Services
Re: Return users in an OU and filter out certain accounts
Thanks for the quick response Ryan. I haven't been successful getting that to work. The code I'm using returns all users, including two users that are members of the group "ExcludeFromWebApp". One user is in "TESTDEPARTMENT" the other user is in another department. With the...
Posted to
Active Directory and LDAP
(Forum)
by
TimD
on 09-21-2006, 12:00 AM
Filed under: LDAP, ADSI, Directory Services
Re: Return users in an OU and filter out certain accounts
Update... I've got it working, thank you for the syntax Ryan. The filter worked great when I queried new or existing security groups that were outside of the "OU=DEPARTMENT". Any security group contained in or below "DEPARTMENT" wouldn't return correct results when I ran the...
Posted to
Active Directory and LDAP
(Forum)
by
TimD
on 09-21-2006, 12:00 AM
Filed under: LDAP, ADSI, Directory Services
Re: Return users in an OU and filter out certain accounts
Interesting... If I have time, I might try to replicate what you are seeing. I don't believe it should be doing that (the group's location should be irrelevant). I wonder if something else is not at play there. At least it is working for you now... good luck.
Posted to
Active Directory and LDAP
(Forum)
by
dunnry
on 09-22-2006, 12:00 AM
Filed under: LDAP, ADSI, Directory Services
Re: LDAP path
Are you asking what the LDAP path for a student is? I am not sure what you are asking. If 12345 is the name of a student user object, it would be "LDAP://CN=12345,OU=Student Users,OU=Lake Spring,OU=Elementary Schools,OU=Schools,DC=mydomain,DC=org".
Posted to
Active Directory and LDAP
(Forum)
by
dunnry
on 09-22-2006, 12:00 AM
Filed under: LDAP, ADSI, Directory Services
Re: How to query LDAP using LIKE statement
bdesmond: Patrik- I would check to see if your firstName textbox is empty before I added that to the search filter. Yep. I agree. An easy thing to do is put your text boxes into a panel on the form. Then at query submit time, just loop through all the controls inside the panel. If you were clever enough...
Posted to
Active Directory and LDAP
(Forum)
by
dunnry
on 09-25-2006, 12:00 AM
Filed under: LDAP, ADSI, Directory Services
Re: ldap connection string
The only times you really need to specify this is when you are doing things from either a non-domain security context or from another domain. If you are in the same domain and with a domain security context, then serverless binding (DN alone) is a good choice. What can occasionally bite you is unrecognized...
Posted to
Active Directory and LDAP
(Forum)
by
dunnry
on 09-26-2006, 12:00 AM
Filed under: LDAP, ADSI, Directory Services
Re: Active Directory Permissions
I am assuming you are talking about doing this programmatically. If you are using .NET 2.0, this is much easier using the MACL and the ObjectSecurity property on the particular objects you want. If you are using .NET 1.1, it is more difficult. The easiest way I have found of doing this is to essentially...
Posted to
Active Directory and LDAP
(Forum)
by
dunnry
on 09-27-2006, 12:00 AM
Filed under: LDAP, ADSI, Directory Services, Security
Page 1 of 3 (21 items) 1
2
3
Next >