Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Active directory Interfaces > LDAP query to A...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 24 Topic 2302 of 2407
Post > Topic >>

LDAP query to Active Directory

by saucily <MisterESauce@[EMAIL PROTECTED] > Jun 6, 2008 at 11:07 AM

Hi all!

I'm trying to write an LDAP query to pull users from AD who are
members of a particular group.  I'm using the 'memberOf' attribute,
which according to ADSI Edit, is set correctly for the users in
question.  My query is quite simple:

(memberOf=CN=SVN-users,OU=Distribution
Groups,OU=MyBusiness,DC=<domain>,DC=com)

but it does not return all the users!  Running a query with ldapsearch
(sorry, I'm sort of a Linux guy) :) only returns four users but the
group has many more members.

I've also perused the LDAP using ldp.exe and I find that only the same
users show as having the memberOf attribute set at all.  This is true
of ALL groups, not just the SVN-users group above (i.e. most users
don't have memberOf set AT ALL).  Why is this?

Can anybody ****ne some light on this for me?  Why does ADSI Edit show
the attribute as set, but ldp.exe does not??

PS - I'm not married to using the memberOf attribute, if there's a
better way, please let me know!

Thanks in advance for any help!
 




 24 Posts in Topic:
LDAP query to Active Directory
saucily <MisterESauce@  2008-06-06 11:07:19 
Re: LDAP query to Active Directory
<Jon Meyer>   2008-06-06 14:43:39 
Re: LDAP query to Active Directory
saucily <MisterESauce@  2008-06-06 12:00:17 
Re: LDAP query to Active Directory
<Jon Meyer>   2008-06-06 15:44:15 
Re: LDAP query to Active Directory
saucily <MisterESauce@  2008-06-06 13:03:18 
Re: LDAP query to Active Directory
saucily <MisterESauce@  2008-06-09 09:26:44 
Re: LDAP query to Active Directory
<Jon Meyer>   2008-06-09 13:43:07 
Re: LDAP query to Active Directory
=?Utf-8?B?c2ltcHNvbmVoaA=  2008-06-09 12:43:01 
Re: LDAP query to Active Directory
saucily <MisterESauce@  2008-06-09 15:41:35 
Re: LDAP query to Active Directory
"Joe Kaplan" &l  2008-06-09 23:40:45 
Re: LDAP query to Active Directory
saucily <MisterESauce@  2008-06-09 15:44:39 
Re: LDAP query to Active Directory
saucily <MisterESauce@  2008-06-10 08:48:27 
Re: LDAP query to Active Directory
"Joe Kaplan" &l  2008-06-10 12:46:08 
Re: LDAP query to Active Directory
saucily <MisterESauce@  2008-06-10 14:19:48 
Re: LDAP query to Active Directory
"Joe Kaplan" &l  2008-06-10 20:39:29 
Re: LDAP query to Active Directory
saucily <MisterESauce@  2008-06-11 10:34:00 
Re: LDAP query to Active Directory
saucily <MisterESauce@  2008-06-11 10:34:49 
Re: LDAP query to Active Directory
saucily <MisterESauce@  2008-06-11 10:37:23 
Re: LDAP query to Active Directory
"Joe Kaplan" &l  2008-06-12 22:26:15 
Re: LDAP query to Active Directory
saucily <MisterESauce@  2008-06-12 21:27:11 
Re: LDAP query to Active Directory
"Joe Kaplan" &l  2008-06-13 11:57:02 
Re: LDAP query to Active Directory
saucily <MisterESauce@  2008-06-16 12:09:51 
Re: LDAP query to Active Directory
saucily <MisterESauce@  2008-06-19 18:02:30 
Re: LDAP query to Active Directory
"Joe Kaplan" &l  2008-06-19 23:29:59 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Dec 4 21:37:17 CST 2008.