Hi all,

We have an LDAP driver with access rights to the changelog.

When starting, we see:
1. The driver shim reading displaying it's last changelog number
(1924597).
2. The driver shim querying the changelog for cn=changelog,
changenumber=1920617
3. The driver shim querying the changelog for cn=changelog,
changenumber>0
4. The driver shim stating that nothing was found and that he will
start with the first changelog
5. The driver shim querying the changelog for cn=changelog,
changenumber>0 & <=999
6. No changelog entries exist inthat range. The driver shim keeps on
querying for changeentries in that range.

Questions:
1. Why does the driver query for another changenumber (1920617) that
what it logs initially (1924597). What it logs exists, the other not.
2. Is this changenumber coming from the driverstorage parameter, or is
this also somewhere else?
3. Why does the driver not move to the next block when no entries are
found in the range 0..999?

Thanks,

Stefaan

Remote loader logs:
DirXML: [07/27/10 09:52:58.86]: TRACE: Remote Loader: Calling
PublicationShim.start()
DirXML: [07/27/10 09:52:58.86]: TRACE: C10-OIDI:
LDAPPublicationShim.start()
DirXML: [07/27/10 09:52:58.86]: TRACE: C10-OIDI: LDAP Search
base=
scope=0
filter=objectclass=*
attrs=[namingContexts, changelog, firstchangenumber,
lastchangenumber, subschemasubentry, orcldirectoryversion,
supportedExtension]
attrsOnly=false
DirXML: [07/27/10 09:52:58.86]: TRACE: C10-OIDI: OpenLDAPConnection -
Connect to the server
DirXML: [07/27/10 09:52:58.86]: TRACE: C10-OIDI: Opening clear text
connection
DirXML: [07/27/10 09:52:58.89]: TRACE: C10-OIDI: Host name:
acc-asso.msnet.railb.be
DirXML: [07/27/10 09:52:58.89]: TRACE: C10-OIDI: Port: 52918
DirXML: [07/27/10 09:52:58.89]: TRACE: C10-OIDI: DN:
cn=iams_ro,cn=Users,dc=msnet,dc=railb,dc=be
DirXML: [07/27/10 09:52:58.89]: TRACE: C10-OIDI: Protocol version=3
DirXML: [07/27/10 09:52:58.89]: TRACE: C10-OIDI: SDK version=4.3
DirXML: [07/27/10 09:52:58.90]: TRACE: C10-OIDI:
subschemasubentry cn=subschemasubentry
DirXML: [07/27/10 09:52:58.90]: TRACE: C10-OIDI:
orcldirectoryversion OID 10.1.2.1.0
DirXML: [07/27/10 09:52:58.90]: TRACE: C10-OIDI:
supportedextension 2.16.840.1.113894.1.9.1
DirXML: [07/27/10 09:52:58.90]: TRACE: C10-OIDI:
changelog cn=changelog
DirXML: [07/27/10 09:52:58.90]: TRACE: C10-OIDI: LDAP Search
base=
scope=0
filter=objectclass=*
attrs=[lastchangenumber]
attrsOnly=false
DirXML: [07/27/10 09:52:58.90]: TRACE: C10-OIDI:
Data.setLastChangenumber() setting last change number to 1924597
DirXML: [07/27/10 09:52:58.90]: TRACE: C10-OIDI: LDAP Search
base=cn=changelog
scope=1
filter=(changenumber=1920617)
attrs=null
attrsOnly=false
DirXML: [07/27/10 09:52:58.93]: TRACE: C10-OIDI: LDAP Search
base=cn=changelog
scope=1
filter=(changenumber>=0)
attrs=[changenumber]
attrsOnly=false
DirXML: [07/27/10 09:53:01.90]: TRACE: C10-OIDI:
LDAPPublisher.whereToStartChangelogs() changelog not found, using first
changelog
DirXML: [07/27/10 09:53:01.90]: TRACE: C10-OIDI:
LDAPPublisher.whereToStartChangelogs() Starting changelog=0
DirXML: [07/27/10 09:53:01.90]: TRACE: C10-OIDI: LDAP Search
base=cn=changelog
scope=1
filter=(&(changenumber>=0)(changenumber<=999))
attrs=null
attrsOnly=false
DirXML: [07/27/10 09:53:01.92]: TRACE: Remote Loader: Received
document from publicationShim
DirXML: [07/27/10 09:53:01.92]: TRACE: <nds dtdversion="2.0">
<source>
<product build="20100219_145032" instance="C10-OIDI"
version="3.5.11">Identity Manager Driver for LDAP</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<status level="success" type="heartbeat"/>
</input>
</nds>
DirXML: [07/27/10 09:53:01.92]: TRACE: Remote Loader: Sending...
DirXML: [07/27/10 09:53:01.92]: TRACE: <nds dtdversion="2.0">
<source>
<product build="20100219_145032" instance="C10-OIDI"
version="3.5.11">Identity Manager Driver for LDAP</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<status level="success" type="heartbeat"/>
</input>
</nds>
DirXML: [07/27/10 09:53:01.92]: TRACE: Remote Loader: Document sent.
DirXML: [07/27/10 09:53:01.96]: TRACE: Remote Loader: Received.
DirXML: [07/27/10 09:53:01.96]: TRACE: <nds dtdversion="3.5"
ndsversion="8.x">
<source>
<product version="3.6.10.4747">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<output>
<status event-id="0" level="success"></status>
</output>
</nds>
DirXML: [07/27/10 09:53:01.96]: TRACE: Remote Loader: Received
document for publisher channel
DirXML: [07/27/10 09:53:01.96]: TRACE: Remote Loader: Waiting for
receive...


--
scauwe
------------------------------------------------------------------------
scauwe's Profile: http://forums.novell.com/member.php?userid=5150
View this thread: http://forums.novell.com/showthread.php?t=416699