Adding contacts to DL using DSMOD
Posted on 2011-09-07
I am trying to add a long list of contact objects to a DL with DSMOD, but it fails with the error "dsmod failed:The parameter is incorrect" (Win2k8 DC) or "dsmod failed:unspecified error" (Win2k3 DC).
My command looks like this:
dsmod group "CN=Groupname,OU=Distribution Lists,OU=E-mail container,DC=London,DC=Companynavn,DC=Net" -addmbr "CN=customer@Customercompany.net,OU=Custom Recipients,OU=E-Mail Container,DC=London,DC=Company,DC=Net"
My admin account is in the 'Company' domain while the contact objects and the groups are in the London domain.
The DL is a universal group and I can't see why it doesn't work.
I have a rather long list of contacts to add to this group, so I'd rather not do it manually.