Hi,

I want to sync the Edirectory of one of our customers to AD without
all the OU's.
I configured the driver as Subscriber only, AD side Flat.

For testing I created an OU called XMLTest with two OU's called OU1
and OU2. When I create a user in XMLTest, it gets synced correctly.
When I create a user in OU1 or OU2, it does not sync.
See the following output:
DirXML: [03/18/08 15:54:13.26]: Loader: Received 'subscriber execute'
document
DirXML: [03/18/08 15:54:13.26]: Loader: XML Document:
DirXML: [03/18/08 15:54:13.26]: <nds dtdversion="3.5"
ndsversion="8.x">
<source>
<product version="3.5.10.20070918 ">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<query class-name="user"
dest-dn="OU=XMLTest,DC=wassenaar,DC=loc" event-id="0" scope="subtree">
<search-class class-name="user"/>
<search-attr attr-name="sAMAccountName">
<value type="string">test2</value>
</search-attr>
<read-attr/>
</query>
</input>
</nds>
DirXML: [03/18/08 15:54:13.26]: Loader: Calling
subscriptionShim->execute()
DirXML: [03/18/08 15:54:13.26]: Loader: XML Document:
DirXML: [03/18/08 15:54:13.26]: <nds dtdversion="3.5"
ndsversion="8.x">
<source>
<product version="3.5.10.20070918 ">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<query class-name="user"
dest-dn="OU=XMLTest,DC=wassenaar,DC=loc" event-id="0" scope="subtree">
<search-class class-name="user"/>
<search-attr attr-name="sAMAccountName">
<value type="string">test2</value>
</search-attr>
<read-attr/>
</query>
</input>
</nds>
DirXML: [03/18/08 15:54:13.26]: ADDriver: parse command

className user
destDN OU=XMLTest,DC=wassenaar,DC=loc
eventId 0
association
DirXML: [03/18/08 15:54:13.26]: ADDriver: query
DirXML: [03/18/08 15:54:13.26]: ADDriver: query constraints
DirXML: [03/18/08 15:54:13.26]: ADDriver: search-class user
DirXML: [03/18/08 15:54:13.26]: ADDriver: search-attr sAMAccountName
DirXML: [03/18/08 15:54:13.26]: ADDriver: test2
DirXML: [03/18/08 15:54:13.26]: ADDriver: read-attr (do not return
attributes)
DirXML: [03/18/08 15:54:13.26]: ADDriver: query
base DN: OU=XMLTest,DC=wassenaar,DC=loc,
filter:
(&(&(objectCategory=CN=Person,CN=Schema,CN=Configu ration,DC=wassenaar,DC=loc)(objectClass=user))(sAM AccountName=test2)),
return: (attribute values) objectClass, objectGUID,
DirXML: [03/18/08 15:54:13.26]: ADDriver: query
base DN: OU=XMLTest,DC=wassenaar,DC=loc,
filter:
(&(&(objectCategory=CN=Person,CN=Schema,CN=Configu ration,DC=wassenaar,DC=loc)(objectClass=user))(sAM AccountName=test2)),
return: (attribute values) objectClass, objectGUID,
DirXML: [03/18/08 15:54:13.26]: ADDriver: ldap get next page (
2147483647)
DirXML: [03/18/08 15:54:13.26]: Loader: subscriptionShim->execute()
returned:
DirXML: [03/18/08 15:54:13.26]: Loader: XML Document:
DirXML: [03/18/08 15:54:13.26]: <nds ndsversion="8.7"
dtdversion="1.1">
<source>
<product version="3.5.1" asn1id=""
build="20070823_095000"
instance="\WASSENAAR\Gemeente\Kantoor\Srv\TESTdriv er\ADGemeente">AD</product>
<contact>Novell, Inc.</contact>
</source>
<output>
<status level="success" event-id="0"/>
</output>
</nds>
DirXML: [03/18/08 15:54:13.26]:
DirXML Log Event -------------------
Driver = \WASSENAAR\Gemeente\Kantoor\Srv\TESTdriver\ADGemee nte
Thread = Subscriber Channel
Level = success
DirXML: [03/18/08 15:54:24.80]: Loader: Received 'subscriber execute'
document
DirXML: [03/18/08 15:54:24.80]: Loader: XML Document:
DirXML: [03/18/08 15:54:24.80]: <nds dtdversion="3.5"
ndsversion="8.x">
<source>
<product version="3.5.10.20070918 ">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<query class-name="user"
dest-dn="OU=XMLTest,DC=wassenaar,DC=loc" event-id="0" scope="subtree">
<search-class class-name="user"/>
<search-attr attr-name="sAMAccountName">
<value type="string">test2</value>
</search-attr>
<read-attr/>
</query>
</input>
</nds>
DirXML: [03/18/08 15:54:24.80]: Loader: Calling
subscriptionShim->execute()
DirXML: [03/18/08 15:54:24.80]: Loader: XML Document:
DirXML: [03/18/08 15:54:24.80]: <nds dtdversion="3.5"
ndsversion="8.x">
<source>
<product version="3.5.10.20070918 ">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<query class-name="user"
dest-dn="OU=XMLTest,DC=wassenaar,DC=loc" event-id="0" scope="subtree">
<search-class class-name="user"/>
<search-attr attr-name="sAMAccountName">
<value type="string">test2</value>
</search-attr>
<read-attr/>
</query>
</input>
</nds>
DirXML: [03/18/08 15:54:24.80]: ADDriver: parse command

className user
destDN OU=XMLTest,DC=wassenaar,DC=loc
eventId 0
association
DirXML: [03/18/08 15:54:24.80]: ADDriver: query
DirXML: [03/18/08 15:54:24.80]: ADDriver: query constraints
DirXML: [03/18/08 15:54:24.80]: ADDriver: search-class user
DirXML: [03/18/08 15:54:24.80]: ADDriver: search-attr sAMAccountName
DirXML: [03/18/08 15:54:24.80]: ADDriver: test2
DirXML: [03/18/08 15:54:24.80]: ADDriver: read-attr (do not return
attributes)
DirXML: [03/18/08 15:54:24.80]: ADDriver: query
base DN: OU=XMLTest,DC=wassenaar,DC=loc,
filter:
(&(&(objectCategory=CN=Person,CN=Schema,CN=Configu ration,DC=wassenaar,DC=loc)(objectClass=user))(sAM AccountName=test2)),
return: (attribute values) objectClass, objectGUID,
DirXML: [03/18/08 15:54:24.80]: ADDriver: query
base DN: OU=XMLTest,DC=wassenaar,DC=loc,
filter:
(&(&(objectCategory=CN=Person,CN=Schema,CN=Configu ration,DC=wassenaar,DC=loc)(objectClass=user))(sAM AccountName=test2)),
return: (attribute values) objectClass, objectGUID,
DirXML: [03/18/08 15:54:24.80]: ADDriver: ldap get next page (
2147483647)
DirXML: [03/18/08 15:54:24.82]: Loader: subscriptionShim->execute()
returned:
DirXML: [03/18/08 15:54:24.82]: Loader: XML Document:
DirXML: [03/18/08 15:54:24.82]: <nds ndsversion="8.7"
dtdversion="1.1">
<source>
<product version="3.5.1" asn1id=""
build="20070823_095000"
instance="\WASSENAAR\Gemeente\Kantoor\Srv\TESTdriv er\ADGemeente">AD</product>
<contact>Novell, Inc.</contact>
</source>
<output>
<status level="success" event-id="0"/>
</output>
</nds>
DirXML: [03/18/08 15:54:24.82]:
DirXML Log Event -------------------
Driver = \WASSENAAR\Gemeente\Kantoor\Srv\TESTdriver\ADGemee nte
Thread = Subscriber Channel
Level = success
DirXML: [03/18/08 15:54:25.60]: Loader: Received 'subscriber execute'
document
DirXML: [03/18/08 15:54:25.60]: Loader: XML Document:
DirXML: [03/18/08 15:54:25.60]: <nds dtdversion="3.5"
ndsversion="8.x">
<source>
<product version="3.5.10.20070918 ">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<query class-name="user"
dest-dn="OU=XMLTest,DC=wassenaar,DC=loc" event-id="0" scope="subtree">
<search-class class-name="user"/>
<search-attr attr-name="sAMAccountName">
<value type="string">test2</value>
</search-attr>
<read-attr/>
</query>
</input>
</nds>
DirXML: [03/18/08 15:54:25.60]: Loader: Calling
subscriptionShim->execute()
DirXML: [03/18/08 15:54:25.60]: Loader: XML Document:
DirXML: [03/18/08 15:54:25.60]: <nds dtdversion="3.5"
ndsversion="8.x">
<source>
<product version="3.5.10.20070918 ">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<query class-name="user"
dest-dn="OU=XMLTest,DC=wassenaar,DC=loc" event-id="0" scope="subtree">
<search-class class-name="user"/>
<search-attr attr-name="sAMAccountName">
<value type="string">test2</value>
</search-attr>
<read-attr/>
</query>
</input>
</nds>
DirXML: [03/18/08 15:54:25.60]: ADDriver: parse command

className user
destDN OU=XMLTest,DC=wassenaar,DC=loc
eventId 0
association
DirXML: [03/18/08 15:54:25.60]: ADDriver: query
DirXML: [03/18/08 15:54:25.60]: ADDriver: query constraints
DirXML: [03/18/08 15:54:25.60]: ADDriver: search-class user
DirXML: [03/18/08 15:54:25.60]: ADDriver: search-attr sAMAccountName
DirXML: [03/18/08 15:54:25.60]: ADDriver: test2
DirXML: [03/18/08 15:54:25.60]: ADDriver: read-attr (do not return
attributes)
DirXML: [03/18/08 15:54:25.60]: ADDriver: query
base DN: OU=XMLTest,DC=wassenaar,DC=loc,
filter:
(&(&(objectCategory=CN=Person,CN=Schema,CN=Configu ration,DC=wassenaar,DC=loc)(objectClass=user))(sAM AccountName=test2)),
return: (attribute values) objectClass, objectGUID,
DirXML: [03/18/08 15:54:25.60]: ADDriver: query
base DN: OU=XMLTest,DC=wassenaar,DC=loc,
filter:
(&(&(objectCategory=CN=Person,CN=Schema,CN=Configu ration,DC=wassenaar,DC=loc)(objectClass=user))(sAM AccountName=test2)),
return: (attribute values) objectClass, objectGUID,
DirXML: [03/18/08 15:54:25.60]: ADDriver: ldap get next page (
2147483647)
DirXML: [03/18/08 15:54:25.60]: Loader: subscriptionShim->execute()
returned:
DirXML: [03/18/08 15:54:25.60]: Loader: XML Document:
DirXML: [03/18/08 15:54:25.60]: <nds ndsversion="8.7"
dtdversion="1.1">
<source>
<product version="3.5.1" asn1id=""
build="20070823_095000"
instance="\WASSENAAR\Gemeente\Kantoor\Srv\TESTdriv er\ADGemeente">AD</product>
<contact>Novell, Inc.</contact>
</source>
<output>
<status level="success" event-id="0"/>
</output>
</nds>
DirXML: [03/18/08 15:54:25.60]:
DirXML Log Event -------------------
Driver = \WASSENAAR\Gemeente\Kantoor\Srv\TESTdriver\ADGemee nte
Thread = Subscriber Channel
Level = success
DirXML: [03/18/08 15:54:25.94]: Loader: Received 'subscriber execute'
document
DirXML: [03/18/08 15:54:25.94]: Loader: XML Document:
DirXML: [03/18/08 15:54:25.94]: <nds dtdversion="3.5"
ndsversion="8.x">
<source>
<product version="3.5.10.20070918 ">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<query class-name="user" dest-dn="CN=test2
test2,OU=XMLTest,DC=wassenaar,DC=loc" event-id="0" scope="entry">
<search-class class-name="user"/>
<read-attr/>
</query>
</input>
</nds>
DirXML: [03/18/08 15:54:25.94]: Loader: Calling
subscriptionShim->execute()
DirXML: [03/18/08 15:54:25.94]: Loader: XML Document:
DirXML: [03/18/08 15:54:25.94]: <nds dtdversion="3.5"
ndsversion="8.x">
<source>
<product version="3.5.10.20070918 ">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<query class-name="user" dest-dn="CN=test2
test2,OU=XMLTest,DC=wassenaar,DC=loc" event-id="0" scope="entry">
<search-class class-name="user"/>
<read-attr/>
</query>
</input>
</nds>
DirXML: [03/18/08 15:54:25.94]: ADDriver: parse command

className user
destDN CN=test2 test2,OU=XMLTest,DC=wassenaar,DC=loc
eventId 0
association
DirXML: [03/18/08 15:54:25.94]: ADDriver: query
DirXML: [03/18/08 15:54:25.94]: ADDriver: query constraints
DirXML: [03/18/08 15:54:25.94]: ADDriver: search-class user
DirXML: [03/18/08 15:54:25.94]: ADDriver: read-attr (do not return
attributes)
DirXML: [03/18/08 15:54:25.94]: ADDriver: query
base DN: CN=test2 test2,OU=XMLTest,DC=wassenaar,DC=loc,
filter:
(&(objectCategory=CN=Person,CN=Schema,CN=Configura tion,DC=wassenaar,DC=loc)(objectClass=user)),
return: (attribute values) objectClass, objectGUID,
DirXML: [03/18/08 15:54:25.94]: ADDriver: query
base DN: CN=test2 test2,OU=XMLTest,DC=wassenaar,DC=loc,
filter:
(&(objectCategory=CN=Person,CN=Schema,CN=Configura tion,DC=wassenaar,DC=loc)(objectClass=user)),
return: (attribute values) objectClass, objectGUID,
DirXML: [03/18/08 15:54:25.94]: ADDriver: ldap get next page (
2147483647)
DirXML: [03/18/08 15:54:25.94]: Loader: subscriptionShim->execute()
returned:
DirXML: [03/18/08 15:54:25.94]: Loader: XML Document:
DirXML: [03/18/08 15:54:25.94]: <nds ndsversion="8.7"
dtdversion="1.1">
<source>
<product version="3.5.1" asn1id=""
build="20070823_095000"
instance="\WASSENAAR\Gemeente\Kantoor\Srv\TESTdriv er\ADGemeente">AD</product>
<contact>Novell, Inc.</contact>
</source>
<output>
<status level="success" event-id="0"/>
</output>
</nds>
DirXML: [03/18/08 15:54:25.94]:
DirXML Log Event -------------------
Driver = \WASSENAAR\Gemeente\Kantoor\Srv\TESTdriver\ADGemee nte
Thread = Subscriber Channel
Level = success
DirXML: [03/18/08 15:55:03.27]: ADDriver: Publisher Poll
DirXML: [03/18/08 15:55:03.32]: ADDriver: get object changes - 0x0000
DirXML: [03/18/08 15:55:03.32]: ADDriver: object changes complete
DirXML: [03/18/08 15:55:21.63]: Loader: Calling driverShim->shutdown()
DirXML: [03/18/08 15:55:21.63]: Loader: null document
DirXML: [03/18/08 15:55:21.63]: ADDriver: Driver::shutdown
DirXML: [03/18/08 15:55:21.63]: ADDriver: shutdown subscriber
DirXML: [03/18/08 15:55:21.63]: Loader: Waiting for driver thread to
exit...
DirXML: [03/18/08 15:55:21.63]: ADDriver: shutdown publisher
DirXML: [03/18/08 15:55:21.63]: ADDriver: Shutdown 1
DirXML: [03/18/08 15:55:21.63]: ADDriver: shutdown notification
complete
DirXML: [03/18/08 15:55:21.63]: Loader: driverShim->shutdown()
returned:
DirXML: [03/18/08 15:55:21.63]: Loader: XML Document:
DirXML: [03/18/08 15:55:21.63]: ADDriver: [PWD]
PassSyncRPC::StopServerRpc()
DirXML: [03/18/08 15:55:21.63]: ADDriver: [PWD] StopServerRpc() - stop
the RPC server.
DirXML: [03/18/08 15:55:21.63]: <nds ndsversion="8.7"
dtdversion="1.1">
<source>
<product version="3.5.1" asn1id=""
build="20070823_095000"
instance="\WASSENAAR\Gemeente\Kantoor\Srv\TESTdriv er\ADGemeente">AD</product>
<contact>Novell, Inc.</contact>
</source>
<output>
<status level="success"/>
</output>
</nds>
DirXML: [03/18/08 15:55:21.63]: ADDriver: [PWD] InitializeRpcServer()
- release the RPC mutex.
DirXML: [03/18/08 15:55:21.63]: Loader: Waiting for publisher thread
to exit...
DirXML: [03/18/08 15:55:21.63]: ADDriver: [PWD] StopServerRpc() -
unregister the RPC interface.
DirXML: [03/18/08 15:55:21.63]: ADDriver: [PWD]
PassSyncRPC::InitializeRpcServer() returned 0x00000000
DirXML: [03/18/08 15:55:21.63]: ADDriver: [PWD] StopServerRpc() - wait
for the RPC thread to exit...
DirXML: [03/18/08 15:55:21.63]: ADDriver: [PWD]
PassSyncRPC::StopServerRpc() returned 0x00000000
DirXML: [03/18/08 15:55:21.63]: ADDriver: [PWD 4912] -
PassSyncCache::StopInitDomainThread()
DirXML: [03/18/08 15:55:21.63]: ADDriver: [PWD 4912] - waiting for
InitializeDomainInfo thread to exit...
DirXML: [03/18/08 15:55:21.63]: ADDriver: [PWD 4912] -
PassSyncCache::StopInitDomainThread() returned 0x00000000
DirXML: [03/18/08 15:55:21.63]: ADDriver: publisher shutdown complete
DirXML: [03/18/08 15:55:21.63]: Loader: publicationShim->start()
returned:
DirXML: [03/18/08 15:55:21.63]: Loader: XML Document:
DirXML: [03/18/08 15:55:21.63]: <nds ndsversion="8.7"
dtdversion="1.1">
<source>
<product version="3.5.1" asn1id=""
build="20070823_095000"
instance="\WASSENAAR\Gemeente\Kantoor\Srv\TESTdriv er\ADGemeente">AD</product>
<contact>Novell, Inc.</contact>
</source>
<output>
<status level="success">MadPublisher Shutdown Event
Received</status>
</output>
</nds>
DirXML: [03/18/08 15:55:21.63]:
DirXML Log Event -------------------
Driver = \WASSENAAR\Gemeente\Kantoor\Srv\TESTdriver\ADGemee nte
Thread = Subscriber Channel
Level = warning
Message = Remote driver stopped
DirXML: [03/18/08 15:55:21.76]: Loader: Stopping driver
DirXML: [03/18/08 15:55:21.76]: ADDriver: Driver::destroy
DirXML: [03/18/08 15:55:21.76]: ADDriver: driver destroy
DirXML: [03/18/08 15:55:21.76]: ADDriver: Driver::~Driver()

Kind regards,

Arjan