Postby florian » Thu Jul 27, 2006 10:01 am
Administered-by was introduced to ldapsync in Scalix 10; the main purpose is to tag the entries with the agreement so that they can be easily recognized and deleted if necessary. omldapsync has an option since 10.0 that allows entries associated with an agreement to be deleted.
I assume you have created those entries initially with a pre-10 version. It might also be that the sync.cfg template you used for openldap integration simply does not contain the mapping for administered-by. it is just another attribute. check the ldapsync11.cfg Scalix 10 AD template for an example.
On the actual task, please see the note below from Karl who runs our US professional services team... Hope this helps. Example is OpenLDAP but AD would work in a similar way. The key attribute is the UUID.
Florian.
FYI - this works like a champ. I'll be owning a technote and some scripts,
delivered by end of Q1, then we can close this as fixed.
Prerequisites
- OpenLDAP v3 (Linux rpms will be 2.1 or later)
- Scalix 10 or later
Assumptions
- Scalix mailboxes already exist – but do not exist on the OpenLDAP side
- Scalix directory entries are removed – only mailboxes exist
Steps (High Level)
1. Extend the schema on OpenLDAP using ldapsync13.schema
2. Setup and test the omldapsync agreement (-c), make sure it is working
correctly, no errors.
3. Perform initial load of OpenLDAP entries into Scalix (optionally, if there
are no OpenLDAP entries, skip this step)
4. Load existing Scalix mailbox entries (and attributes) into OpenLDAP
5. Run omldapsync –n –u sync-id (test add of the user, no actual add)
6. Run omldapsync –A –u sync-id (accepts test results, no actual mod)
7. Run omldapsync –M –u sync-id (modifies all)
8. Populate OpenLDAP entryUUID’s into Scalix (Global-Unique-ID) with ommodent
9. Run omldapsync –M –u sync-id (modifies all)
When this last step runs, it will apply any differences in the OpenLDAP attribs
directly to the Scalix user (who's GUID matches the UUID), hence you've got to
get as close as possible attribute matching in Step 4.
Script that need to be written to help automate this process for future
customers would be for Step 4 (ldapsearch from Scalix, morph to LDIF, ldapadd to
OpenLDAP) and for Step 8 (ldapsearch OpenLDAP on UID and entryUUID, morph to
script with multiple ommodents to be run against Scalix)
Florian von Kurnatowski, Die Harder!