directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kiran Ayyagari <kayyag...@apache.org>
Subject Re: Import LDIF with operational attributes
Date Wed, 10 Apr 2013 18:49:46 GMT
just tested, it works with M11, would it be possible for you to move to
M11? (ofcourse this is the best version than any other previous versions)


On Thu, Apr 11, 2013 at 12:11 AM, Kevin Hamilton <khamilton@umem.org> wrote:

> I am binded as uid=admin,ou=system and I receive the following error:
>
> version: 1
>
> #!RESULT ERROR
> #!CONNECTION ldap://ADDRESS:10636
> #!DATE 2013-04-10T14:39:40.824
> #!ERROR [LDAP: error code 50 - INSUFFICIENT_ACCESS_RIGHTS: failed for
> MessageType : MODIFY_REQUEST Message ID : 430     Modify Request
> Object : 'ou=users,ou=umem,ou=system'             Modification[0]
>       Operation :  replace                 Modification objectClass:
> organizationalUnit objectClass: top             Modification[1]
>     Operation :  replace                 Modification ou: users
> Modification[2]                 Operation :  replace
> Modification entryUUID: 6d8d6e5d-487d-4d75-abc8-27e8e847f22a
> org.apache.directory.api.ldap.model.message.ModifyRequestImpl@9cc6142c:
> ERR_52 Cannot modify the attribute : ATTRIBUTE_TYPE ( 1.3.6.1.1.16.4  NAME
> 'entryUUID'  DESC UUID of the entry  EQUALITY uuidMatch  ORDERING
> uuidOrderingMatch  SYNTAX 1.3.6.1.1.16.1  SINGLE-VALUE
>  NO-USER-MODIFICATION  USAGE directoryOperation  ) ]
> dn: ou=users,ou=umem,ou=system
> objectClass: organizationalUnit
> objectClass: top
> ou: users
> entryUUID:: NmQ4ZDZlNWQtNDg3ZC00ZDc1LWFiYzgtMjdlOGU4NDdmMjJh
>
>
>
> On Wed, Apr 10, 2013 at 2:23 PM, Kiran Ayyagari <kayyagari@apache.org
> >wrote:
>
> > if you inject as uid=admin,ou=system user the UUID should be preserved
> > while adding
> >
> >
> > On Wed, Apr 10, 2013 at 11:34 PM, Kevin Hamilton <khamilton@umem.org>
> > wrote:
> >
> > > Hello,
> > >
> > > We are attempting to migrate some data from our apacheds 2.0.0-M2 to a
> > > newer machine running a 2.0.0-M11 install. When I export my users, I
> > would
> > > like to preserve the entryUUID from the initial user creation.
> > > Unfortunately, when I try to import an LDIF of users that contains the
> > > entryUUID with it, I receive the error below:
> > >
> > > org.apache.directory.api.ldap.model.message.ModifyRequestImpl@9ca71e1f
> :
> > > ERR_52 Cannot modify the attribute : ATTRIBUTE_TYPE ( 1.3.6.1.1.16.4
> >  NAME
> > > 'entryUUID'  DESC UUID of the entry  EQUALITY uuidMatch  ORDERING
> > > uuidOrderingMatch  SYNTAX 1.3.6.1.1.16.1  SINGLE-VALUE
> > > NO-USER-MODIFICATION  USAGE directoryOperation
> > >
> > > Is there any way I can preserve the entryUUIDs for these entries?
> > >
> > >
> > > Thanks,
> > >
> > > Kevin
> > >
> >
> >
> >
> > --
> > Kiran Ayyagari
> > http://keydap.com
> >
>
>
>
> --
> Kevin Hamilton (khamilton@umem.org)
> Application Developer
> Department of Emergency Medicine
> University of Maryland School of Medicine
>



-- 
Kiran Ayyagari
http://keydap.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message