Help needed on simple command line utility (dsadd)
mobri09
Users Awaiting Email Confirmation Posts: 723
Ok, This command line works below and succeededs at the command prompt for me but, my question is how can i add another user in the Retail group besides jack dimm at the same time?. Thank you
\>dsadd group "cn=retail group,cn=users,dc=retail,dc=rt,dc=net"
-secgrp yes -scope g -members "cn=jack dimm,ou=ADMIN,dc=retail,dc=rt,dc=net" -desc "Retail only"
\>dsadd group "cn=retail group,cn=users,dc=retail,dc=rt,dc=net"
-secgrp yes -scope g -members "cn=jack dimm,ou=ADMIN,dc=retail,dc=rt,dc=net" -desc "Retail only"
Comments
-
Webmaster Admin Posts: 10,292 AdminI think this should work:
\>dsadd group "cn=retail group,cn=users,dc=retail,dc=rt,dc=net"
-secgrp yes -scope g -members "cn=jack dimm,ou=ADMIN,dc=retail,dc=rt,dc=net" "cn=mike domm,ou=ADMIN,dc=retail,dc=rt,dc=net" "cn=nick damm,ou=ADMIN,dc=retail,dc=rt,dc=net" "cn=vicky dumm,ou=ADMIN,dc=retail,dc=rt,dc=net" -desc "Retail only"
"cn=jack dimm,ou=ADMIN,dc=retail,dc=rt,dc=net" is the value of -members
You can specify multiple values for -members (and -memberof as well) by separating them with spaces.
I hope this helps! -
mobri09 Users Awaiting Email Confirmation Posts: 723Just figured it out Webmaster...I forgot to put the "S" on - members to add more user..thanks for your time like always!