omldapsync 13 failure

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

Moderator: ScalixSupport

gbolte

omldapsync 13 failure

Postby gbolte » Mon Sep 29, 2008 3:00 pm

Hey all, I am currently using a trial key to evaluate if Scalix is right for our environment here at work. I have run up against a few snags along the way which I hope can get sorted here. First off I should explain a bit about our setup here, we are running Novell eDirectory with primarily linux on user desktops and a few mac workstations. Anyway I am trying to integrate Scalix into eDirectory so that user passwords will be in sync as well as using sync type 13 omldapsync to import user data and settings from eDirectory into Scalix. I was able to get about 4 users imported before it started throwing a strange error and will not update the Scalix directory any longer.
marge:~ # omldapsync -u 13
2008-09-29 11:47:19 INFO: command line is /opt/scalix/bin/omldapsync -u 13
2008-09-29 11:47:19 STATUS: LDAP dir sync import 13 started ###############
2008-09-29 11:47:20 INFO: work dir is /var/opt/scalix/me/s/ldapsync/13/import
2008-09-29 11:47:20 STATUS: reprocess search results from 10.0.5.6 ...
2008-09-29 11:47:20 STATUS: find delta and perform mapping ...
2008-09-29 11:47:20 INFO: ... 0 entries to delete
2008-09-29 11:47:20 INFO: ... 0 entries to add
2008-09-29 11:47:20 INFO: ... 1 entries to modify
2008-09-29 11:47:20 STATUS: check delete count against configured delete limit ...
2008-09-29 11:47:20 INFO: ... delete count is within 50% limit from 4 total
2008-09-29 11:47:20 STATUS: apply membdelete data against Scalix ...
2008-09-29 11:47:20 INFO: ... 0 entries passed for member.curr
2008-09-29 11:47:20 INFO: ... 0 entries failed for member.curr
2008-09-29 11:47:20 INFO: ... 0 entries warned for member.curr
2008-09-29 11:47:20 STATUS: apply delete data against Scalix ...
2008-09-29 11:47:20 INFO: ... 0 entries passed for delete.curr
2008-09-29 11:47:20 INFO: ... 0 entries failed for delete.curr
2008-09-29 11:47:20 INFO: ... 0 entries warned for delete.curr
2008-09-29 11:47:20 STATUS: apply add data against Scalix ...
2008-09-29 11:47:20 INFO: ... 0 entries passed for add.curr
2008-09-29 11:47:20 INFO: ... 0 entries failed for add.curr
2008-09-29 11:47:20 INFO: ... 0 entries warned for add.curr
2008-09-29 11:47:20 STATUS: apply limit data against Scalix ...
2008-09-29 11:47:20 INFO: ... 0 entries passed for add.curr
2008-09-29 11:47:20 INFO: ... 0 entries failed for add.curr
2008-09-29 11:47:20 INFO: ... 0 entries warned for add.curr
2008-09-29 11:47:20 STATUS: apply modify data against Scalix ...
Enter CAA Password: --------> Sending SOAP Request to Ubermanager@http://127.0.0.1:8080/caa/ for method:ModifyUser
--------> Received SOAP Response from Ubermanager@http://127.0.0.1:8080/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>ModifyUser</FunctionName>
<ModifyUserParameters id="kL7VDNIo3AGAMOsAAwAAAA==">
<user type="MAIL"/>
<mailNode name="mail,node"/>
<userAttributes>
<entity name="ADMINISTERED-BY" value="ldapsync-13"/>
<entity name="CN" value="gbolte"/>
<entity name="EMPL-ORG" value="Company"/>
<entity name="FOREIGN-ADDR" value="cn=gbolte,ou=users,dc=subdomain,dc=Domain,dc=com"/>
<entity name="G" value="Gregory"/>
<entity name="GLOBAL-UNIQUE-ID" value="kL7VDNIo3AGAMOsAAwAAAA=="/>
<entity name="I" value="K"/>
<entity name="INTERNET-ADDR" value="gbolte@domain.com"/>
<entity name="MOBILE-PHONE" value="555-555-5555"/>
<entity name="PHONE-1" value="555-555-5555"/>
<entity name="S" value="Bolte"/>
<entity name="UL-AUTHID" value="gbolte"/>
<entity name="ADMIN" value="TRUE"/>
<entity name="MBOXADMIN" value="TRUE"/>
</userAttributes>
</ModifyUserParameters>
</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>User Conversion for type of user specified in the SOAP message is not supported yet.</message>
<errorcode>UM-1065</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-09-29 11:47:21 ERROR: failed to run omldapagent
2008-09-29 11:47:21 INFO: ... 0 entries passed for modify.curr
2008-09-29 11:47:21 INFO: ... 1 entries failed for modify.curr
2008-09-29 11:47:21 INFO: ... 0 entries warned for modify.curr
2008-09-29 11:47:21 STATUS: apply limit data against Scalix ...
2008-09-29 11:47:21 INFO: ... 0 entries passed for modify.curr
2008-09-29 11:47:21 INFO: ... 0 entries failed for modify.curr
2008-09-29 11:47:21 INFO: ... 0 entries warned for modify.curr
2008-09-29 11:47:21 STATUS: apply membadd data against Scalix ...
2008-09-29 11:47:21 INFO: ... 0 entries passed for member.curr
2008-09-29 11:47:21 INFO: ... 0 entries failed for member.curr
2008-09-29 11:47:22 INFO: ... 0 entries warned for member.curr
2008-09-29 11:47:22 STATUS: apply membmodify data against Scalix ...
2008-09-29 11:47:22 INFO: ... 0 entries passed for member.curr
2008-09-29 11:47:22 INFO: ... 0 entries failed for member.curr
2008-09-29 11:47:22 INFO: ... 0 entries warned for member.curr
2008-09-29 11:47:22 STATUS: LDAP dir sync import failed, error=2 ###########
2008-09-29 11:47:22 STATUS: LDAP dir sync export 13 started ###############
2008-09-29 11:47:22 INFO: agreement type 13 only supports import operation
2008-09-29 11:47:22 STATUS: LDAP dir sync export 13 completed #############


Any help or insite into this error would be great Thanks.

billb3
Scalix Star
Scalix Star
Posts: 464
Joined: Mon May 26, 2008 8:56 pm
Location: Kingston, NY
Contact:

Postby billb3 » Mon Sep 29, 2008 3:33 pm

<message>User Conversion for type of user specified in the SOAP message is not supported yet.</message>
<errorcode>UM-1065</errorcode>


Are you trying to make an existing user back into just a contact possibilty?

Found a similar error message here:

viewtopic.php?t=2390

gbolte

Postby gbolte » Mon Sep 29, 2008 3:42 pm

well I am not certain what it thinks that I am doing, but I did have that user setup with admin and a bunch of other things... maybe it would be best if I just wiped the users out of the scalix db and started over? How would I go about doing that?

billb3
Scalix Star
Scalix Star
Posts: 464
Joined: Mon May 26, 2008 8:56 pm
Location: Kingston, NY
Contact:

Postby billb3 » Mon Sep 29, 2008 4:10 pm

Before doing that, I would run omldapsync with the -i option and try doing a reload, delete sync records, etc

gbolte

Postby gbolte » Mon Sep 29, 2008 4:11 pm

so that would look like omldapsync -i 13?

gbolte

Postby gbolte » Mon Sep 29, 2008 4:21 pm

Well after attempting a reload and finding that it did not like that because it says the entry exists already I tried doing the delete and that failed with
2008-09-29 14:18:39 ERROR: delete count exceeds the 50% limit from 4 total

billb3
Scalix Star
Scalix Star
Posts: 464
Joined: Mon May 26, 2008 8:56 pm
Location: Kingston, NY
Contact:

Postby billb3 » Mon Sep 29, 2008 4:29 pm

See this line in the sync config:

# IM_DELETE_LIMIT: absolute or percentage of total object deletions allowed
# NOTE: if delete count exceeds the limit then report error and terminate
# e.g. "50" for 50 deletions or "50%" for 50% deletions from the total
IM_DELETE_LIMIT=50%

gbolte

Postby gbolte » Mon Sep 29, 2008 5:23 pm

Well after running the delete function I am now encountering a new problem when running the sync.
Entry already exists in the Directory
I get this error now for each of my 4 users when I attempt to run the sync.

gbolte

Postby gbolte » Thu Oct 02, 2008 6:40 pm

Alright so its been a few days and I had everything working properly and now once again I am having the <errorcode>UM-1065</errorcode> again. This time its a different user. I hope that I wont be expecting this every time I add a user, because sync is dead in the water when this happens.


Return to “Third Party Integration”



Who is online

Users browsing this forum: No registered users and 2 guests