Univention Corporate Server (UCS) » Services for Windows

ID #1322

Reinitialize Active Directory Connector

Produktlogo UCS Version 4 

The Univention Active Directory Connector shall be forced re resync all objects.


To initiate a resynchronization of all objects (depending on the sync-mode defined in UCR connector/ad/mapping/syncmode) the following steps are necessary:

Stop the Univention Active Directory Connector service:

/etc/init.d/univention-ad-connector stop

Backup the internal Active Directory Connector database (depending on the UCS version used, the file is named internal.cfg or internal.sqlite):

find /etc/univention/connector/ \( -name "internal.cfg" -o -name "internal.sqlite" \) -exec mv "{}" "{}.bak_$(date +%s)" \;

Delete left over reject objects. The path to those objetcs is defined in the UCR variable connector/ad/listener/dir which defaults to /var/lib/univention-connector/ad:

rm -f /var/lib/univention-connector/ad/*

Resync the Univention Active Directory Connector listener module:

univention-directory-listener-ctrl resync ad-connector

Start the Univention Active Directory Connector service:

/etc/init.d/univention-ad-connector start


You should see a lot of "new" changes in /var/log/univention/connector-status.log as well as synchronization progress in /var/log/univention/connector.log.

Tags: UCS 2, UCS 3, UCS 4

Related entries:

Last update: 2015-06-05 09:32
Author: Janis Meybohm
Revision: 1.2

Digg it! Share on Facebook Print this record Send FAQ to a friend Show this as PDF file
Please rate this FAQ:

Average rating: 0 (0 Votes)

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry