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

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.
Similar Threads
  1. Marcel Stör

    memberOf not showing

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

    Member and MemberOf Attributes

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

    memberOf property usin CSVDE

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

    LDP search for memberof

    gordonah, Feb 22, 2005, in forum: Active Directory
    Replies:
    2
    Views:
    1,977
    gordonah
    Feb 22, 2005
  6. Joe Kaplan \(MVP - ADSI\)

    Re: Missing MemberOf Attribute in Active Directory Objects.

    Joe Kaplan \(MVP - ADSI\), May 9, 2005, in forum: Active Directory
    Replies:
    1
    Views:
    471
    Joe Kaplan \(MVP - ADSI\)
    May 9, 2005
  7. Eric - ARUP

    LDAP Search for memberOf zero returns

    Eric - ARUP, Jun 2, 2005, in forum: Active Directory
    Replies:
    5
    Views:
    1,250
    Eric - ARUP
    Jun 3, 2005
  8. Mo Childs

    DSADD user -memberof usage

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