Google Mail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
LDAP Changelog LDIF: strange behavior with "changetype" attribute
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Follow-up To:
Add Cc | Add Follow-up to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers that you hear
 
Sonja Benz  
View profile   Translate to Translated (View Original)
 More options 2 Nov, 15:46
Newsgroups: ibm.software.network.directory-integrator
From: Sonja Benz <sonja.b...@web.de>
Date: Mon, 2 Nov 2009 07:46:53 -0800 (PST)
Local: Mon 2 Nov 2009 15:46
Subject: LDAP Changelog LDIF: strange behavior with "changetype" attribute
Hi,

while my first implementation with LDAP ChangeLog connector (event
driven) works fine, my second approach does not: Here I did want to
use the LDIF file of a changelog for batch processing. Dependent on
the value of the attribute "changetype" (add, ...) an action should be
started. However, this attribute just does not appear in the connector
and work entry at all. It seems to be suppressed. Strange thing! A bug
or a feature???

(My workaround is to rename "changetype" to "mychangetype" in the LDIF
input file and lateron use the iterator's after get next hook to set
the connector attribute changetype to the value of mychangetype.)

Any comments or help?

Sonja


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eddie Hartman  
View profile   Translate to Translated (View Original)
 More options 3 Nov, 08:58
Newsgroups: ibm.software.network.directory-integrator
From: Eddie Hartman <eddiehart...@gmail.com>
Date: Tue, 3 Nov 2009 00:58:23 -0800 (PST)
Local: Tues 3 Nov 2009 08:58
Subject: Re: LDAP Changelog LDIF: strange behavior with "changetype" attribute
That sounds very strange, Sonja. Can you see the changetype
att from an LDAP browser?

In the interim, you should be able to check the operation code tagged
on the work Entry to get your add, delete or modify changetypes
(modrdn will be if the there is a "newrdn" attribute present).

   if (work.getOperation() == "add") ...

If your changetype problem persists, then please send me a log
where you dump the conn Entry from the After GetNext Hook of
your Changelog Connector and I'll have a look. And please send
me the Config as well if that's ok.

-Eddie

On Nov 2, 4:46 pm, Sonja Benz <sonja.b...@web.de> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eddie Hartman  
View profile   Translate to Translated (View Original)
 More options 4 Nov, 09:24
Newsgroups: ibm.software.network.directory-integrator
From: Eddie Hartman <eddiehart...@gmail.com>
Date: Wed, 4 Nov 2009 01:24:48 -0800 (PST)
Local: Wed 4 Nov 2009 09:24
Subject: Re: LDAP Changelog LDIF: strange behavior with "changetype" attribute
Just to follow up here in the forum, the problem here is that
the LDIF Parser does not return the "changetype" Attribute
like a Changelog Connector does. It just tags the Work Entry
so that you can use work.getOperation() as illustrated in my
previous post.

If this is a hard requirement for the Parser, then please open
a feature request.

-Eddie


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google