I had a similar problem. It was solved by
this syntax:
dsget group "<DN of source
group>" -members | dsmod group "<DN of destination
group>" –addmbr
This way you are only going to add members
that are not already there.
Hth,
Mike Thommes
-----Original Message-----
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Frank Abagnale
Sent: Thursday, February 09, 2006
2:24 PM
To: [email protected]
Subject: Re: [ActiveDir] Merging
Multiple AD Groups
dsmod
failed:CN=USHR_PROJSAP_RO,ou=GGroups,dc=Intara,dc=com:The specified account
name is already a member of the local group
Dan - I have also tried the -c switch to no avail.
thanks
Al Mulnick
<[EMAIL PROTECTED]> wrote:
Can you give us an example of the error you're
getting?
On 2/9/06, Frank Abagnale <[EMAIL PROTECTED]> wrote:
I have two existing groups:
1. USAT_HR_RO (24 members)
2. USNY_HR_RO (45 members)
I created a new group to merge members of both groups
above into the new group.
3. USHR_PROJSAP_RO (0 members)
Some users are members of groups 1 & 2.
I want to copy the users from groups 1 & 2 into
the new group 3 so this would contain 69 members.
I tried the following command 1st....
dsget group
"CN=USAT_HR_RO,OU=GGroups,dc=Intara,dc=com" -members | dsmod group
"CN=USHR_PROJSAP_RO,ou=GGroups,dc=Intara,dc=com" -addmbr
then I tried the following command
dsget group "CN=USNY_HR_RO,OU=GGroups,dc=Intara,dc=com"
-members | dsmod group
"CN=USHR_PROJSAP_RO,ou=GGroups,dc=Intara,dc=com" -addmbr
but this does not work...does this make sense?
complains?
Can you give more detail?
On 2/9/06, Frank Abagnale <[EMAIL PROTECTED]
> wrote:
I have two global groups which I need to merge the
users in both into one new group. What is the best way to do this, I have used
DSGET & DSMOD but it complains about existing users
Brings words and photos together (easily) with
PhotoMail
- it's free and works with Yahoo! Mail.
|