Upating OpenLdap attributes in Scalix

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

ausyvr
Posts: 23
Joined: Thu Jan 11, 2007 3:51 pm

Upating OpenLdap attributes in Scalix

Postby ausyvr » Mon Jan 29, 2007 5:45 pm

I have two questions about OpenLdap and syncing with Scalix.

1. If I update an attribute in OpenLdap, how do i 'update' that one attribute to Scalix? So far we have tried using 2 and 3 in the Interactive Menu for ldapsync13.cfg, but this did not update Scalix. The only way we have it working is to delete the record in Scalix and re run the sync. This is something we do not want to do.
For example:
If i add a 2nd email address

Code: Select all

user.name@scalix.myemailaddress.com
to Openldap. How do sync the new email address to Scalix?


2: When you edit the ldapsync13.cfg file via the interactive menu this creates what is essentially a 'second copy' of the cfg file. I noticed this file is placed in the /ldapsync/13 directory (callec sync.cfg).
Why does Scalix do this? Why not use the ldapsync13.cfg file located in /scalix/xx/s/sys?
I would think when you edit the ldapsync13.cfg file that omldapsync would re read the cfg file.

Im only evaluating at the moment and are in a hurry.

Thanks
aj

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Mon Jan 29, 2007 8:25 pm

ldapsync13.cfg is a template; in many cases, especially with OpenLDAP where every schema is somewhat different, this needs to be adapted to the particular situation. Just having one central template is not an option either, as you might have multiple independent agreements running against multiple LDAP servers.

having this as a template that is copied to an agreement instance provides the most flexible solution.

Florian.
Florian von Kurnatowski, Die Harder!

ausyvr
Posts: 23
Joined: Thu Jan 11, 2007 3:51 pm

One down

Postby ausyvr » Tue Jan 30, 2007 2:07 pm

Hello

Thanks for the reply. It makes alot more sense now. I do have a question as a result of your comment.
Where are the agreement instance's located? I only came across the sync.cfg in the dir /ldapsync/13/ just by poking around.



Do you have an answer for my first question?
When I update a attribute in Open Ldap and then run 'Force a complete reload of directory' in Scalix, the Sclaix Admin console does not reflect the changes i just made in OpenLdap. I have tried many different options from the Menu, none of which seem to have any affect.

Thank you
aj

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Tue Jan 30, 2007 2:10 pm

Well, interesting for that problem would be logfiles. However, with you having used multiple options, you might have actually made it to ignore your changes. you might want to run with the -M options which will try to run a "default" modify on all records trying to re-push all changes.

the omldapsync manpage gives many details and also explains most of the file locations.

cheers,
Florian.
Florian von Kurnatowski, Die Harder!


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 13 guests