omldapsync Failing to find matching entery on scalix

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

jeffd
Posts: 10
Joined: Fri Mar 28, 2008 3:12 pm

omldapsync Failing to find matching entery on scalix

Postby jeffd » Thu Oct 02, 2008 10:04 am

Hi,

Following the migration guide for Exchange 5.5 to Scalix found on Scalix's site. http://www.scalix.com/documents/Scalix_ ... 11.0.1.pdf

I am doing a flash migration and doing the setup for omldapsync.

When I test it I get the following output:

Code: Select all

INPUT: Attempt to test data extraction now y/n (n):y
2008-10-02 04:33:13 INFO: test searching from mail2 ...
2008-10-02 04:33:13 INFO: search base is cn=recipients,ou=WILSON,o=Wilson Manufacturing
2008-10-02 04:33:13 INFO: ... test searched OK.
2008-10-02 04:33:14 INFO: test searching from localhost ...
2008-10-02 04:33:14 INFO: search base is o=Scalix
2008-10-02 04:33:14 WARNING: failed to find any matching entry
2008-10-02 04:33:14 STATUS: Configuration of Ex2Sx completed ########
Common tasks menu for syncid Ex2Sx



From what I understand it is finding, and connecting to my exchange server, mail2 fine, it is having problems connecting to itself. mail1.

Any ideas?

jeffd
Posts: 10
Joined: Fri Mar 28, 2008 3:12 pm

Postby jeffd » Thu Oct 02, 2008 4:41 pm

Solved it,

For those like me who want to save yourself hours of frustration:

You cannot have the sxadmin accound to the connection for the export of the scalix system you MUST have a regular user do so. And make sure it has the Common Name not the login. James Kirk, not jamesk.

chris
Scalix Star
Scalix Star
Posts: 321
Joined: Mon May 09, 2005 2:56 pm
Location: Freiburg, Germany

Re: omldapsync Failing to find matching entery on scalix

Postby chris » Thu Oct 02, 2008 6:08 pm

jeffd wrote:When I test it I get the following output:

Code: Select all

INPUT: Attempt to test data extraction now y/n (n):y
2008-10-02 04:33:13 INFO: test searching from mail2 ...
2008-10-02 04:33:13 INFO: search base is cn=recipients,ou=WILSON,o=Wilson Manufacturing
2008-10-02 04:33:13 INFO: ... test searched OK.
2008-10-02 04:33:14 INFO: test searching from localhost ...
2008-10-02 04:33:14 INFO: search base is o=Scalix
2008-10-02 04:33:14 WARNING: failed to find any matching entry
2008-10-02 04:33:14 STATUS: Configuration of Ex2Sx completed ########
Common tasks menu for syncid Ex2Sx


This means that your ldapsearch returned no objects that conformed to the filter you set.

jeffd wrote:From what I understand it is finding, and connecting to my exchange server, mail2 fine, it is having problems connecting to itself. mail1.


It should not have to connect to itself. omldapsync uses the /api to do what it needs to do.

jeffd wrote:Solved it,

For those like me who want to save yourself hours of frustration:

You cannot have the sxadmin accound to the connection for the export of the scalix system you MUST have a regular user do so. And make sure it has the Common Name not the login. James Kirk, not jamesk.


This is not accurate Jeff, you must have changed a couple of things but this isn't it. You can *definitely* use the sxadmin account for the import.

Check your sync.log (/var/opt/scalix/*/s/ldapsync/Ex2Sx/sync.log) from before and after. If you want to chase this down, I'm happy to help. Post what you see and I'll help you work through the logs.

jeffd
Posts: 10
Joined: Fri Mar 28, 2008 3:12 pm

Postby jeffd » Fri Oct 03, 2008 9:50 am

Alright willing to give this a shot, through the log does not seam to provide too much more info.


Before:

Code: Select all

2008-10-02 10:19:45 STATUS: Configuration of Ex2Sx started ########
2008-10-02 10:19:52 INFO: test searching from 192.168.0.6 ...
2008-10-02 10:19:52 INFO: search base is cn=recipients,ou=WILSON,o=Wilson Manufacturing
2008-10-02 10:19:53 INFO: ... test searched OK.
2008-10-02 10:19:53 INFO: test searching from mail1.wilsonmfg.com ...
2008-10-02 10:19:53 INFO: search base is o=Scalix
2008-10-02 10:19:53 WARNING: failed to find any matching entry
2008-10-02 10:19:53 INFO: test listing servers from http://mail1.wilsonmfg.com/caa/ ...
2008-10-02 10:19:53 INFO: ... found mail1.wilsonmfg.com OK.
2008-10-02 10:19:53 INFO: test listing mailnodes on mail1.wilsonmfg.com ...
2008-10-02 10:19:54 INFO: ... found mailnode OK.
2008-10-02 10:19:54 STATUS: Configuration of Ex2Sx completed ########
2008-10-02 10:34:46 STATUS: Configuration of Ex2Sx started ########
2008-10-02 11:11:29 INFO: test searching from 192.168.0.6 ...
2008-10-02 11:11:29 INFO: search base is cn=recipients,ou=WILSON,o=Wilson Manufacturing
2008-10-02 11:11:29 INFO: ... test searched OK.
2008-10-02 11:11:29 INFO: test searching from mail1.wilsonmfg.com ...
2008-10-02 11:11:29 INFO: search base is o=Scalix
2008-10-02 11:11:29 WARNING: failed to find any matching entry
2008-10-02 11:11:29 INFO: test listing servers from http://mail1.wilsonmfg.com/caa/ ...
2008-10-02 11:11:30 INFO: ... found mail1.wilsonmfg.com OK.
2008-10-02 11:11:30 INFO: test listing mailnodes on mail1.wilsonmfg.com ...
2008-10-02 11:11:31 INFO: ... found mailnode OK.
2008-10-02 11:11:31 STATUS: Configuration of Ex2Sx completed ########
2008-10-02 11:18:26 STATUS: Configuration of Ex2Sx started ########
2008-10-02 11:18:59 INFO: test searching from 192.168.0.6 ...
2008-10-02 11:18:59 INFO: search base is cn=recipients,ou=WILSON,o=Wilson Manufacturing
2008-10-02 11:18:59 INFO: ... test searched OK.
2008-10-02 11:18:59 INFO: test searching from mail1.wilsonmfg.com ...
2008-10-02 11:19:00 INFO: search base is o=Scalix
2008-10-02 11:19:00 WARNING: failed to find any matching entry
2008-10-02 11:19:00 INFO: test listing servers from http://mail1.wilsonmfg.com/caa/ ...
2008-10-02 11:19:00 INFO: ... found mail1.wilsonmfg.com OK.
2008-10-02 11:19:00 INFO: test listing mailnodes on mail1.wilsonmfg.com ...
2008-10-02 11:19:01 INFO: ... found mailnode OK.
2008-10-02 11:19:01 STATUS: Configuration of Ex2Sx completed ########


After:

Code: Select all

2008-10-02 11:26:46 STATUS: Configuration of Ex2Sx started ########
2008-10-02 11:35:19 STATUS: renamed old sync.cfg to sync.last
2008-10-02 11:35:19 STATUS: installed updated config sync.cfg
2008-10-02 11:35:21 INFO: test searching from 192.168.0.6 ...
2008-10-02 11:35:21 INFO: search base is cn=recipients,ou=WILSON,o=Wilson Manufacturing
2008-10-02 11:35:21 INFO: ... test searched OK.
2008-10-02 11:35:21 INFO: test searching from mail1.wilsonmfg.com ...
2008-10-02 11:35:22 INFO: search base is o=Scalix
2008-10-02 11:35:22 INFO: ... test searched OK.
2008-10-02 11:35:22 INFO: test listing servers from http://mail1.wilsonmfg.com/caa/ ...
2008-10-02 11:35:22 INFO: ... found mail1.wilsonmfg.com OK.
2008-10-02 11:35:22 INFO: test listing mailnodes on mail1.wilsonmfg.com ...
2008-10-02 11:35:23 INFO: ... found mailnode OK.
2008-10-02 11:35:23 STATUS: Configuration of Ex2Sx completed ########
2008-10-02 11:47:38 STATUS: LDAP dir sync import Ex2Sx started ###############
2008-10-02 11:47:38 STATUS: load all records from 192.168.0.6 ...
2008-10-02 11:47:38 INFO: work dir is /var/opt/scalix/m1/s/ldapsync/Ex2Sx/import
2008-10-02 11:47:39 STATUS: search source directory on 192.168.0.6 ...
2008-10-02 11:47:39 INFO: search base is cn=recipients,ou=WILSON,o=Wilson Manufacturing
2008-10-02 11:47:42 INFO: ... 60 entries to check
2008-10-02 11:47:47 STATUS: find delta and perform mapping ...
2008-10-02 11:48:09 INFO: ... 0 entries to delete
2008-10-02 11:48:09 INFO: ... 60 entries to add
2008-10-02 11:48:09 INFO: ... 0 entries to modify
2008-10-02 11:48:09 STATUS: check delete count against configured delete limit ...
2008-10-02 11:48:09 INFO: ... delete count is within 50% limit from 0 total
2008-10-02 11:48:09 STATUS: apply membdelete data against Scalix ...
2008-10-02 11:48:09 INFO: ... 0 entries passed for member.curr
2008-10-02 11:48:09 INFO: ... 0 entries failed for member.curr
2008-10-02 11:48:09 INFO: ... 0 entries warned for member.curr
2008-10-02 11:48:09 STATUS: apply delete data against Scalix ...
2008-10-02 11:48:09 INFO: ... 0 entries passed for delete.curr
2008-10-02 11:48:09 INFO: ... 0 entries failed for delete.curr
2008-10-02 11:48:09 INFO: ... 0 entries warned for delete.curr
2008-10-02 11:48:10 STATUS: apply add data against Scalix ...
Enter CAA Password: --------> Sending SOAP Request to Ubermanager@http://mail1.wilsonmfg.com/caa/ for method:AddUser
--------> Received SOAP Response from Ubermanager@http://mail1.wilsonmfg.com/caa/
error: Response contains failure report
>>>>>>>>SOAP Request
SOAP part:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Header/>
    <SOAP-ENV:Body>
        <scalix-caa:CAARequestMessage xmlns:scalix-caa="http://www.scalix.com/caa">
            <ServiceType>scalix.res</ServiceType>
            <Credentials id="12345">
                <Identity name="sxadmin" passwd="xxxxxxxx"/>
            </Credentials>
            <FunctionName>AddUser</FunctionName>
            <ScalixServers>
                <Host>mail1.wilsonmfg.com</Host>
            </ScalixServers>
            <AddUserParameters>
                <user type="INTERNET"/>
                <mailNode name="internet,tnef"/>
                <userAttributes>
                    <entity name="GLOBAL-UNIQUE-ID" value="cn=jeffd,cn=Recipients,ou=WILSON,o=Wilson Manufacturing"/>
                    <entity name="FOREIGN-ADDR" value="cn=jeffd,cn=Recipients,ou=WILSON,o=Wilson Manufacturing"/>
                    <entity name="CN" value="Jeff Daum"/>
                    <entity name="S" value="Daum"/>
                    <entity name="G" value="Jeff"/>
                    <entity name="INTERNET-ADDR" value="jeffd@wilsonmfg.com"/>
                    <entity name="ALIAS" value="jeffd"/>
                    <entity name="ADMINISTERED-BY" value="ldapsync-Ex2Sx"/>
                </userAttributes>
            </AddUserParameters>
        </scalix-caa:CAARequestMessage>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
>>>>>>>>SOAP Response
SOAP part:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Body>
        <SOAP-ENV:Fault>
            <faultcode>SOAP-ENV:Server</faultcode>
            <faultstring>CAA Service Error</faultstring>
            <detail>
                <scalix-caa:fault-details xmlns:scalix-caa="http://www.scalix.com/caa">
                    <message>CN=Jeff Daum/G=Jeff/S=Daum/OU1=internet/OU2=tnef/ADMINISTERED-BY=ldapsync-Ex2Sx/ALIAS=jeffd/GLOBAL-UNIQUE-ID=cn\=jeffd,cn\=Recipients,ou\=WILSON,o\=Wilson Manufacturing/FOREIGN-ADDR=cn\=jeffd,cn\=Recipients,ou\=WILSON,o\=Wilson Manufacturing/INTERNET-ADDR
=jeffd@wilsonmfg.com [OM 27663] The supplied or generated Internet Address is not unique   :mail1.wilsonmfg.com</message>
                    <errorcode>OM 27663</errorcode>
                </scalix-caa:fault-details>
            </detail>
        </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
0 entries passed
1 entries failed
0 entries warned
2008-10-02 11:48:24 ERROR: failed to run omldapagent
2008-10-02 11:48:55 INFO: ... 59 entries passed for add.curr
2008-10-02 11:48:55 INFO: ... 1 entries failed for add.curr
2008-10-02 11:48:55 INFO: ... 0 entries warned for add.curr
2008-10-02 11:48:55 STATUS: apply limit data against Scalix ...
2008-10-02 11:49:00 INFO: ... 0 entries passed for add.curr
2008-10-02 11:49:00 INFO: ... 0 entries failed for add.curr
2008-10-02 11:49:00 INFO: ... 0 entries warned for add.curr
2008-10-02 11:49:00 STATUS: apply modify data against Scalix ...
2008-10-02 11:49:00 INFO: ... 0 entries passed for modify.curr
2008-10-02 11:49:00 INFO: ... 0 entries failed for modify.curr
2008-10-02 11:49:01 INFO: ... 0 entries warned for modify.curr
2008-10-02 11:49:01 STATUS: apply limit data against Scalix ...
2008-10-02 11:49:01 INFO: ... 0 entries passed for modify.curr
2008-10-02 11:49:01 INFO: ... 0 entries failed for modify.curr
2008-10-02 11:49:01 INFO: ... 0 entries warned for modify.curr
2008-10-02 11:49:01 STATUS: apply membadd data against Scalix ...
2008-10-02 11:49:06 INFO: ... 0 entries passed for member.curr
2008-10-02 11:49:06 INFO: ... 0 entries failed for member.curr
2008-10-02 11:49:06 INFO: ... 0 entries warned for member.curr
2008-10-02 11:49:06 STATUS: apply membmodify data against Scalix ...
2008-10-02 11:49:06 INFO: ... 0 entries passed for member.curr
2008-10-02 11:49:06 INFO: ... 0 entries failed for member.curr
2008-10-02 11:49:06 INFO: ... 0 entries warned for member.curr
2008-10-02 11:49:09 STATUS: update sync data files with partial results ...
2008-10-02 11:49:12 INFO: ... 59 entries added to search.last
2008-10-02 11:49:12 STATUS: LDAP dir sync import failed, error=2 ###########
2008-10-02 11:49:12 STATUS: LDAP dir sync export Ex2Sx started ###############
2008-10-02 11:49:12 STATUS: load all records from mail1.wilsonmfg.com ...
2008-10-02 11:49:13 INFO: work dir is /var/opt/scalix/m1/s/ldapsync/Ex2Sx/export
2008-10-02 11:49:13 STATUS: search source directory on mail1.wilsonmfg.com ...
2008-10-02 11:49:13 INFO: search base is o=Scalix
2008-10-02 11:49:13 INFO: ... 1 entries to check
2008-10-02 11:49:13 STATUS: find delta and perform mapping ...
2008-10-02 11:49:14 INFO: ... 0 entries to delete
2008-10-02 11:49:14 INFO: ... 1 entries to add
2008-10-02 11:49:14 INFO: ... 0 entries to modify
2008-10-02 11:49:14 STATUS: apply delete data against 192.168.0.6 ...
2008-10-02 11:49:14 INFO: ... 0 entries passed
2008-10-02 11:49:14 INFO: ... 0 entries failed
2008-10-02 11:49:14 INFO: ... 0 entries warned
2008-10-02 11:49:14 STATUS: apply add data against 192.168.0.6 ...
2008-10-02 11:49:14 INFO: ... 1 entries passed
2008-10-02 11:49:14 INFO: ... 0 entries failed
2008-10-02 11:49:14 INFO: ... 0 entries warned
2008-10-02 11:49:14 STATUS: apply modify data against 192.168.0.6 ...
2008-10-02 11:49:14 INFO: ... 0 entries passed
2008-10-02 11:49:14 INFO: ... 0 entries failed
2008-10-02 11:49:15 INFO: ... 0 entries warned
2008-10-02 11:49:15 STATUS: LDAP dir sync export Ex2Sx completed #############


I noticed the error for my account, only one on scalix, and ran the update again for changed enteries (option3) got this output:

Code: Select all

2008-10-03 09:44:05 STATUS: LDAP dir sync import Ex2Sx started ###############
2008-10-03 09:44:06 INFO: work dir is /var/opt/scalix/m1/s/ldapsync/Ex2Sx/import
2008-10-03 09:44:06 STATUS: search source directory on 192.168.0.6 ...
2008-10-03 09:44:06 INFO: search base is cn=recipients,ou=WILSON,o=Wilson Manufacturing
2008-10-03 09:44:09 INFO: ... 60 entries to check
2008-10-03 09:44:13 STATUS: find delta and perform mapping ...
2008-10-03 09:44:16 INFO: ... 0 entries to delete
2008-10-03 09:44:17 INFO: ... 0 entries to add
2008-10-03 09:44:17 INFO: ... 0 entries to modify
2008-10-03 09:44:17 STATUS: check delete count against configured delete limit ...
2008-10-03 09:44:17 INFO: ... delete count is within 50% limit from 60 total
2008-10-03 09:44:17 STATUS: apply membdelete data against Scalix ...
2008-10-03 09:44:17 INFO: ... 0 entries passed for member.curr
2008-10-03 09:44:17 INFO: ... 0 entries failed for member.curr
2008-10-03 09:44:17 INFO: ... 0 entries warned for member.curr
2008-10-03 09:44:17 STATUS: apply delete data against Scalix ...
2008-10-03 09:44:17 INFO: ... 0 entries passed for delete.curr
2008-10-03 09:44:17 INFO: ... 0 entries failed for delete.curr
2008-10-03 09:44:17 INFO: ... 0 entries warned for delete.curr
2008-10-03 09:44:17 STATUS: apply add data against Scalix ...
2008-10-03 09:44:18 INFO: ... 0 entries passed for add.curr
2008-10-03 09:44:18 INFO: ... 0 entries failed for add.curr
2008-10-03 09:44:18 INFO: ... 0 entries warned for add.curr
2008-10-03 09:44:18 STATUS: apply limit data against Scalix ...
2008-10-03 09:44:18 INFO: ... 0 entries passed for add.curr
2008-10-03 09:44:18 INFO: ... 0 entries failed for add.curr
2008-10-03 09:44:18 INFO: ... 0 entries warned for add.curr
2008-10-03 09:44:18 STATUS: apply modify data against Scalix ...
2008-10-03 09:44:18 INFO: ... 0 entries passed for modify.curr
2008-10-03 09:44:18 INFO: ... 0 entries failed for modify.curr
2008-10-03 09:44:18 INFO: ... 0 entries warned for modify.curr
2008-10-03 09:44:18 STATUS: apply limit data against Scalix ...
2008-10-03 09:44:19 INFO: ... 0 entries passed for modify.curr
2008-10-03 09:44:19 INFO: ... 0 entries failed for modify.curr
2008-10-03 09:44:19 INFO: ... 0 entries warned for modify.curr
2008-10-03 09:44:19 STATUS: apply membadd data against Scalix ...
2008-10-03 09:44:19 INFO: ... 0 entries passed for member.curr
2008-10-03 09:44:19 INFO: ... 0 entries failed for member.curr
2008-10-03 09:44:19 INFO: ... 0 entries warned for member.curr
2008-10-03 09:44:19 STATUS: apply membmodify data against Scalix ...
2008-10-03 09:44:19 INFO: ... 0 entries passed for member.curr
2008-10-03 09:44:19 INFO: ... 0 entries failed for member.curr
2008-10-03 09:44:20 INFO: ... 0 entries warned for member.curr
2008-10-03 09:44:20 STATUS: LDAP dir sync import Ex2Sx completed #############
2008-10-03 09:44:20 STATUS: LDAP dir sync export Ex2Sx started ###############
2008-10-03 09:44:20 INFO: work dir is /var/opt/scalix/m1/s/ldapsync/Ex2Sx/export
2008-10-03 09:44:20 STATUS: search source directory on mail1.wilsonmfg.com ...
2008-10-03 09:44:20 INFO: search base is o=Scalix
2008-10-03 09:44:20 INFO: ... 1 entries to check
2008-10-03 09:44:20 STATUS: find delta and perform mapping ...
2008-10-03 09:44:21 INFO: ... 0 entries to delete
2008-10-03 09:44:21 INFO: ... 0 entries to add
2008-10-03 09:44:21 INFO: ... 0 entries to modify
2008-10-03 09:44:21 STATUS: apply delete data against 192.168.0.6 ...
2008-10-03 09:44:21 INFO: ... 0 entries passed
2008-10-03 09:44:21 INFO: ... 0 entries failed
2008-10-03 09:44:21 INFO: ... 0 entries warned
2008-10-03 09:44:21 STATUS: apply add data against 192.168.0.6 ...
2008-10-03 09:44:21 INFO: ... 0 entries passed
2008-10-03 09:44:21 INFO: ... 0 entries failed
2008-10-03 09:44:21 INFO: ... 0 entries warned
2008-10-03 09:44:21 STATUS: apply modify data against 192.168.0.6 ...
2008-10-03 09:44:21 INFO: ... 0 entries passed
2008-10-03 09:44:21 INFO: ... 0 entries failed
2008-10-03 09:44:21 INFO: ... 0 entries warned
2008-10-03 09:44:21 STATUS: LDAP dir sync export Ex2Sx completed #############


Which appears to be fine.

Thanks for the help!

~ Jeff


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 2 guests