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. Advertisements

  2. 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. Advertisements

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.