Error DSMod Group

Posted on 2006-04-03
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.
Question by:cescentman
    LVL 70

    Accepted Solution


    > 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 :)


    LVL 23

    Expert Comment

    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-
    LVL 1

    Author Comment

    Nope not a typing error. The firts suggestion comes up trumps. Thanks

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Many of us need to configure DHCP server(s) in their environment. We can do that simply via DHCP console on server or using MMC snap-in on each computer with Administrative Tools installed in a network. But what if we have to configure many DHCP ser…
    ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now