Page 1 of 1
omldapsync: Problem with german umlauts
Posted: Fri Mar 10, 2006 6:31 am
by zollikofer
Hi
I successfully configured omldapsync with Windows 2003 AD.
The problem arises, when I start to sync a user with german umlauts in his name:
>>>>>>>>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>omaddu : [OM 16078] An attribute's value contains invalid characters. :s04ct.xx</message>
<errorcode>OM 16078</errorcode>
</scalix-caa:fault-details>
</detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
There where a lot of users with german umlauts, so change the users on AD is not a solution for me.
Please help me..
Thanks and regards
Tobias
Posted: Fri Mar 10, 2006 6:54 am
by ScalixSupport
Hi,
from the looks of it, it has nothing to do with umlauts. Please post the complete SOAP error message and the relevant part from sync.log
Thanks,
Sascha.
Posted: Fri Mar 10, 2006 8:54 am
by zollikofer
Ok, here it is:
--------> Sending SOAP Request to Ubermanager@http://xx/caa/ for method:AddUser
--------> Received SOAP Response from Ubermanager@http://xx/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="xx">
<Identity name="sxadmin@xx" passwd="xxxxxxxx"/>
</Credentials>
<FunctionName>AddUser</FunctionName>
<AddUserParameters>
<user type="MAIL"/>
<mailNode name="s04ct,xx"/>
<userAttributes>
<entity name="S" value="Müntener"/>
<entity name="ENTRY-DESC" value="IT"/>
<entity name="G" value="Roland"/>
<entity name="FOREIGN-ADDR" value="CN=Müntener ,OU=xxOU=xx,OU=xx,DC=xx,DC=xxl"/>
<entity name="CN" value="Müntener"/>
<entity name="EMPL-ORG" value="xx"/>
<entity name="GLOBAL-UNIQUE-ID" value="xx"/>
<entity name="ACCOUNT_STATUS" value="unlock"/>
<entity name="UL-AUTHID" value="muentenerr@xx"/>
<entity name="UL-IL" value="GERMAN"/>
<entity name="INTERNET-ADDR" value=""Müntenerxx>"/>
<entity name="UL-CLASS" value="LIMITED"/>
<entity name="ADMINISTERED-BY" value="ldapsync-AD_SX9"/>
</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>omaddu : [OM 16078] An attribute's value contains invalid characters. :s04ct.xx</message>
<errorcode>OM 16078</errorcode>
</scalix-caa:fault-details>
</detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
0 entries passed
1 entries failed
0 entries warned
2006-03-10 11:18:20 ERROR: failed to run omldapagent
Thanks, Tobias
Posted: Fri Mar 10, 2006 10:06 am
by ScalixSupport
Please send the unobscured SOAP to support at scalix.com.
Also, what agreement type are you using?
Thanks,
Sascha.
Posted: Fri Mar 10, 2006 12:29 pm
by ls-al
Hi,
this looks like a LANG variable mismatch between the extracted data and the executed om* commands.
omldapsync/omldaputil will run with your configured environment, RES/UM will use "en_US.UTF-8" by default.
Can you try this:
Code: Select all
LANG=en_US.UTF-8 omldapsync yourpreferredoptions
hth
Dirk
Posted: Fri Mar 10, 2006 1:02 pm
by ScalixSupport
Hi,
after I did RTFRN (thx, Florian ;-) the following info might be relevant
omldapsync fails to create a new Scalix mailbox for an Active Directory user that has accented characters in their friendly name.
Use a mapping table entry that includes the custom map function:
!CUSTOM=TX_IA_TO_QP_IA
For example:
mail|INTERNET-ADDR|*,1,512|!CUSTOM=TX_IA_TO_QP_IA
The result is that:'"cömmënt" <ia>' becomes '=?UTF8?Qc=C3=B6mm=C3=ABnt?= <ia>'
Cheers,
Sascha.