omldapsync: Problem with german umlauts

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

zollikofer
Posts: 13
Joined: Mon Mar 06, 2006 10:14 am

omldapsync: Problem with german umlauts

Postby zollikofer » Fri Mar 10, 2006 6:31 am

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
Last edited by zollikofer on Fri Mar 10, 2006 8:55 am, edited 1 time in total.

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Fri Mar 10, 2006 6:54 am

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.

zollikofer
Posts: 13
Joined: Mon Mar 06, 2006 10:14 am

Postby zollikofer » Fri Mar 10, 2006 8:54 am

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="&quot;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

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Fri Mar 10, 2006 10:06 am

Please send the unobscured SOAP to support at scalix.com.

Also, what agreement type are you using?

Thanks,

Sascha.

ls-al
Scalix Star
Scalix Star
Posts: 510
Joined: Tue Jun 29, 2004 8:28 am
Location: Leipzig, Germany
Contact:

Postby ls-al » Fri Mar 10, 2006 12:29 pm

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

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Fri Mar 10, 2006 1:02 pm

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.


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 9 guests