We help IT Professionals succeed at work.

Error DSMod Group

cescentman
cescentman asked
on
Medium Priority
1,873 Views
Last Modified: 2009-12-16
I have a user:-

"CN=Jeff Bartles,OU=office-Users,DC=sslonline,DC=co,Dc=uk"

and I want to add it to another group:-

DSMod group "CN=TS Users,OU=Users,DC=sslonline,DC=Co,Dc=uk" -addmbr "CN=Jeff Bartles,OU=office-Users,DC=sslonline,DC=co,Dc=uk"

Yet I get the error
dsmod failed:CN=TS Users,OU=Users,DC=umisonline,DC=Co,Dc=uk:Directory object not found.

However this group does exist inthe Users OU am I neing really thick here - I have pored over this for hours.
Comment
Watch Question

PowerShell Developer
CERTIFIED EXPERT
Top Expert 2010
Commented:

> OU=Users

If it's the default Users folder then it's not really an OU. Change it to:

CN=TS Users,CN=Users,DC=sslonline,DC=Co,Dc=uk

Which should work quite nicely :)

Cheers,

Chris

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
or your syntax is just off:

DSMod group "CN=TS Users,******OU=office-Users*********,DC=sslonline,DC=Co,Dc=uk" -addmbr "CN=Jeff Bartles,OU=office-Users,DC=sslonline,DC=co,Dc=uk"

Note the info in between the asterisks.  You may have just forgot the office-

Author

Commented:
Nope not a typing error. The firts suggestion comes up trumps. Thanks
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.