omldapsync with new ldap server - problems??

Best practice information from Scalix users relating to integration of Scalix with other products.

Moderator: ScalixSupport

vdpollm

omldapsync with new ldap server - problems??

Postby vdpollm » Mon Apr 19, 2010 3:59 am

Hi there,

I set up my Scalix server to sync with my LDAP server, as per the following 2 wikis:
http://www.scalix.com/wiki/index.php?title=HowTos/Omldapsync
http://www.scalix.com/wiki/index.php?title=HowTos/Using_OpenLDAP_for_password_management

Things were working great, and I have 18 users in my LDAP that sync with Scalix. Adding new users works fine, as long as i put the correct information into the OpenLDAP server.

However, my main LDAP server got trashed, due to me fiddling with it, and I have had to redo my LDAP server strategy. I was able to export all my users from server1 before it got into serious trouble. i have now set up server2 with OpenLDAP, and imported the users. I have one or two other applications that authenticate to OpenLDAP, so i made the necessary changes to point it to my new server, i.e. server2, and authentication worked well.

However, i have changed the scalix omldapsync to point to new server, i.e. server2 as per the wikis above, i.e. everywhere i had server1, i replaced with server2. the problem is that I now get the following error:
010-04-19 09:54:15 INFO: command line is /opt/scalix/bin/omldapsync -u syncname
2010-04-19 09:54:15 STATUS: LDAP dir sync import syncname started ###############
2010-04-19 09:54:19 INFO: work dir is /var/opt/scalix/s3/s/ldapsync/syncname/import
2010-04-19 09:54:19 STATUS: reprocess search results from server2.satio.co.za ...
2010-04-19 09:54:20 STATUS: find delta and perform mapping ...
2010-04-19 09:54:20 INFO: ... 0 entries to delete
2010-04-19 09:54:20 INFO: ... 18 entries to add
2010-04-19 09:54:21 INFO: ... 0 entries to modify
2010-04-19 09:54:21 STATUS: check delete count against configured delete limit ...
2010-04-19 09:54:21 INFO: ... delete count is within 50% limit from 0 total
2010-04-19 09:54:21 STATUS: apply membdelete data against Scalix ...
2010-04-19 09:54:21 INFO: ... 0 entries passed for member.curr
2010-04-19 09:54:22 INFO: ... 0 entries failed for member.curr
2010-04-19 09:54:22 INFO: ... 0 entries warned for member.curr
2010-04-19 09:54:22 STATUS: apply delete data against Scalix ...
2010-04-19 09:54:22 INFO: ... 0 entries passed for delete.curr
2010-04-19 09:54:22 INFO: ... 0 entries failed for delete.curr
2010-04-19 09:54:22 INFO: ... 0 entries warned for delete.curr
2010-04-19 09:54:22 STATUS: apply add data against Scalix ...

It then tries to add the users, but they already exist. in some cases it tries to delete all 18 users then put them back in.

this is my production mail server!! i cannot delete the users and risk losing all the mails, so what can i do to change this error message, to accept what it sees in the LDAP server as the same as in the SCALIX ldap?

Or will i have to go the route of exporting/backing up the mail. deleting the users, then re-creating, etc.

help will be greatly appreciated.

vdpollm

Re: omldapsync with new ldap server - problems??

Postby vdpollm » Mon May 17, 2010 8:39 am

problem was resolved by re-reading the http://www.scalix.com/wiki/index.php?title=HowTos/Using_OpenLDAP_for_password_management. some hints were given there to solve the issue. If you want details, please mail me.

regards

marc


Return to “Third Party Integration”



Who is online

Users browsing this forum: No registered users and 1 guest