Advertisement

06.17.2008 at 06:03AM PDT, ID: 23491293
[x]
Attachment Details

dsget group piped to dsget user gives an error on groups in the group

Asked by bergsprekken in Active Directory

Tags: server, 2003

I need to find all usernames and display names in a group.
C:\>dsget group "CN=thegroup,OU=firstfloor,DC=company,DC=com" -members -expand | dsget user -samid -display
It works but if theres a group inside the group i get an error:
"dsget failed:CN=office,OU=groups,OU=department2,DC=server34,DC=company,DC=com:T
he object class of the target does not match the one specified on the command li
ne."

I think i get this error because one of the members in the group is a group..but isnt there any way of only getting the users?Start Free Trial
[+][-]06.17.2008 at 06:27AM PDT, ID: 21802695

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Active Directory
Tags: server, 2003
Sign Up Now!
Solution Provided By: Shift-3
Participating Experts: 3
Solution Grade: B
 
 
[+][-]06.17.2008 at 07:09AM PDT, ID: 21803191

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.17.2008 at 07:10AM PDT, ID: 21803198

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628