directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Serge Pouliquen (JIRA)" <>
Subject [jira] [Commented] (DIRSERVER-1861) documentation update entry
Date Thu, 20 Jun 2013 15:09:20 GMT


Serge Pouliquen commented on DIRSERVER-1861:

I miss the final "-" but that is not working even with it.

I am using a LdifFileLoader to import a file containing :
dn: cn=John Smith,dc=contacts
objectclass: top
objectclass: person
objectclass: organizationalPerson
objectclass: inetOrgPerson
cn: John Smith
givenname: John
sn: Smith

And then I use second LdifFileLoader to import another file containing :
dn: CN=John Smith,dc=contacts
changetype: modify
replace: extensionAttribute6
extensionAttribute6: JSmith98

The exception is almost the same
failing on state variable with an unapproved value

Thank you for the previous answer
> documentation update entry
> --------------------------
>                 Key: DIRSERVER-1861
>                 URL:
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>          Components: doc
>    Affects Versions: 2.0.0-M12
>         Environment: linux 32bit java
>            Reporter: Serge Pouliquen
>            Priority: Minor
>              Labels: documentation
> Hi,
> Could you add a sample of code that show how to update an entry (attribute addition)
using an ldif file (or command line in guide) ?
> Adding and deleting are already present in basic user guide.
> I tried adding lines like "changetype: modify", "add: jpegPhoto" and "jpegPhoto:: ...".
> But, I only get an exception:
> ERR_12042_BAD_MODIFY_SEPARATOR_2 Bad state : we should have come from a MOD_SPEC or an
>  	at
> 	at
> 	at
> 	at
> 	at
> 	at<init>(
> Could you help me to find out what I'm doing wrong ?
> Serge

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message