Re: import error with ldifde
- From: "Joe Kaplan" <joseph.e.kaplan@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 19 Jun 2008 23:37:41 -0500
To modify the membership of a group, you have to modify the member attribute
on the group. You can't modify the memberOf attribute on a user, as that is
a backlink and is not editable.
From the perspective of LDIF, it really comes down to having the DN of thegroup in question and the DN of the user you created previously to set on
the member attribute.
If you are trying to recreate a tree of groups in the new domain, you could
export the groups in question as well an them import them using a similar
transform on the DN.
Joe K.
--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
"B L Muzzy" <bob.muzzy@xxxxxxxxxxxx> wrote in message
news:eVlrzVl0IHA.2188@xxxxxxxxxxxxxxxxxxxxxxx
I exported an OU to a file with ldifde according to MS recommendation in :
http://technet.microsoft.com/en-us/library/bb727091.aspx.
I edited the file for a new domain, ie.
from : dn: CN=sean,OU=test,OU=Clients,DC=sampleXYZ,DC=com
to: dn: CN=sean,OU=test,OU=Clients,DC=qatest,DC=com
When I try to import that file into a diferent domain, I get an error
"Add error on line 1: Invalid Syntax
The server side error is "The parameter is incorrect."
as far as I can tell it's because the export file includes lines like:
memberOf: CN=testgroup1,OU=test,OU=Clients,DC=qatest,DC=com
Does anyone know if and how to get ldifde to add a user to an existing
group, or possibly how to create one?
.
- Follow-Ups:
- Re: import error with ldifde
- From: B L Muzzy
- Re: import error with ldifde
- References:
- import error with ldifde
- From: B L Muzzy
- import error with ldifde
- Prev by Date: Re: import error with ldifde
- Next by Date: Re: Active Directory to ADAM Sync Password question
- Previous by thread: Re: import error with ldifde
- Next by thread: Re: import error with ldifde
- Index(es):
Relevant Pages
|