15,891,785 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by quincarroll (Top 3 by date)
quincarroll
7-Apr-11 9:55am
View
Sorry... My post above is the xml result of one of the AD records. The site seems to have stripped the tags.
The query I'm using is:
LDAP://OU=groups,OU=NetworkLocation,DC=eu,DC=CompanyName,DC=com
quincarroll
7-Apr-11 9:41am
View
My GroupTypes are all -2147483640, so from your edit above, I can assume that they are the security groups. I'm not getting any with other numbers?
This is one of the groups that is returned by my query:
<adspath>LDAP://CN=Adm-MRU-DistGroupManagers,OU=Groups,OU=Loc-Mauritius-XXXX,DC=eu,DC=mmmmmmmm,DC=com
<cn>Adm-MRU-DistGroupManagers
<description>ADS: Distribution Groups Managers
<distinguishedname>CN=Adm-MRU-DistGroupManagers,OU=Groups,OU=Loc-Mauritius-XXXX,DC=eu,DC=mmmmmmmm,DC=com
<dscorepropagationdata>3/23/2011 4:22:33 PM
<grouptype>-2147483640
<instancetype>4
<name>Adm-MRU-DistGroupManagers
<objectcategory>CN=Group,CN=Schema,CN=Configuration,DC=mmmmmmmm,DC=com</objectcategory>
<objectclass>top</objectclass>
<objectguid>System.Byte[]</objectguid>
<objectsid>System.Byte[]</objectsid>
<samaccountname>Adm-MRU-DistGroupManagers
<samaccounttype>268435456
<usnchanged>54936
<usncreated>54936
<whenchanged>6/23/2010 4:29:36 PM
<whencreated>9/6/2007 3:34:29 PM
quincarroll
7-Apr-11 9:27am
View
For example...
If I look at my Outlook address book, the distribution lists listed there are nothing like the lists returned by my lookup using:
LDAP://OU=groups,OU=loc-city-xxxx,DC=eu,DC=xxxxxxx,DC=com
If I replace "groups" with "Distribution Lists" then I get an error message "There is no such object on the server.
Do you know of any way I can find out what the correct object name I should be using?
I have successfully used "users" and "computers" for their respective lookups, but I can't find the correct one for distribution lists.