DSADD with -memberof

Discussion in 'Active Directory' started by bryan, Aug 13, 2004.

  1. bryan

    bryan Guest

    DSADD is working nicely with the exception of the -
    memberof parameter. I am trying to assign users to
    multiple groups with some group names containing spaces.
    Can somone point me to an example which will work. TIA
     
    bryan, Aug 13, 2004
    #1
    1. Advertising

  2. On Fri, 13 Aug 2004 05:55:54 -0700, "bryan"
    <> wrote:

    >DSADD is working nicely with the exception of the -
    >memberof parameter. I am trying to assign users to
    >multiple groups with some group names containing spaces.
    >Can somone point me to an example which will work. TIA


    Just use " marks around the group names.

    dsadd user "CN=OU_User1,OU=OU_TEST,DC=JSIINC,DC=COM" -samid OUUser1 -Display
    "OUUser1" -fn "OUUser1" -ln "OUUser1" -pwd abcdef123456ABCDEF -memberof
    "CN=Accounts Payables,CN=Users,DC=JSIINC,DC=COM"
    "CN=accountants,CN=Users,DC=JSIINC,DC=COM"

    Jerold Schulman
    Windows: General MVP
    JSI, Inc.
    http://www.jsiinc.com
     
    Jerold Schulman, Aug 20, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Marcel Stör

    memberOf not showing

    Marcel Stör, Nov 17, 2003, in forum: Active Directory
    Replies:
    0
    Views:
    288
    Marcel Stör
    Nov 17, 2003
  2. bchad

    Member and MemberOf Attributes

    bchad, Sep 9, 2004, in forum: Active Directory
    Replies:
    2
    Views:
    330
    Joe Richards [MVP]
    Sep 11, 2004
  3. Michael Herman \(Parallelspace\)
    Replies:
    5
    Views:
    277
    Joe Richards [MVP]
    Sep 23, 2004
  4. paulcerv

    memberOf property usin CSVDE

    paulcerv, Dec 17, 2004, in forum: Active Directory
    Replies:
    6
    Views:
    960
    Joe Kaplan \(MVP - ADSI\)
    Dec 19, 2004
  5. Mo Childs

    DSADD user -memberof usage

    Mo Childs, Mar 13, 2007, in forum: Active Directory
    Replies:
    3
    Views:
    2,688
    Mo Childs
    Mar 13, 2007
Loading...

Share This Page