LDAP user management intregration problem

Discuss Scalix Management Services ( formerly Scalix Admin Console )

Moderator: ScalixSupport

rienkdejong

LDAP user management intregration problem

Postby rienkdejong » Thu Apr 09, 2009 10:36 am

I have a problem with omldapsync and an external LDAP server for user management.
First a short summary how I setup my system.
I just installed Scalix on a Debian 5.0 server with the debian python installer script. To get this working I had to do a couple of things by hand.
- I installed postgresql postgresql-client first via apt-get
- I installed a dummy package for libsasl2
- I installed libsasl2-2 and libldap-2.4-2
- I made symlinks for: /usr/lib/libldap_r.so.2 -> /usr/lib/libldap_r-2.4.so.2.1.0 and /usr/lib/liblber.so.2 -> /usr/lib/liblber-2.4.so.2.1.0
This solve the dependency problems with the packages in debian 5.0.
After these custom changes I ran the python installer script.
After a reboot the Scalix server was up and running and all the basic functionality (creating users, sending e-mails etc.) seemed to work.

After this I tried to get LDAP user management working with the howto from the scalix wiki http://scalix.org/wiki/index.php?title=HowTos/OpenLDAP_User_Management. When I try to run ldap sync with: "omldapsync -u king3sync" I get the output listed below.

Can anyone tell me what these errors mean, and how I can solve them?

I also included my system specs at the bottom of this post.

Thanks in advance,
Rienk de Jong

omldapsync output:

Code: Select all



2009-04-09 09:01:58 INFO: command line is /opt/scalix/bin/omldapsync -u king3sync
/opt/scalix/bin/omldapsync: eval: line 591: unexpected EOF while looking for matching `''
/opt/scalix/bin/omldapsync: eval: line 592: syntax error: unexpected end of file
/opt/scalix/bin/omldapsync: eval: line 591: unexpected EOF while looking for matching `''
/opt/scalix/bin/omldapsync: eval: line 592: syntax error: unexpected end of file
/opt/scalix/bin/omldapsync: eval: line 591: unexpected EOF while looking for matching `''
/opt/scalix/bin/omldapsync: eval: line 592: syntax error: unexpected end of file
/opt/scalix/bin/omldapsync: eval: line 591: unexpected EOF while looking for matching `''
/opt/scalix/bin/omldapsync: eval: line 592: syntax error: unexpected end of file
/opt/scalix/bin/omldapsync: eval: line 591: unexpected EOF while looking for matching `''
/opt/scalix/bin/omldapsync: eval: line 592: syntax error: unexpected end of file
/opt/scalix/bin/omldapsync: eval: line 591: unexpected EOF while looking for matching `''
/opt/scalix/bin/omldapsync: eval: line 592: syntax error: unexpected end of file
/opt/scalix/bin/omldapsync: eval: line 591: unexpected EOF while looking for matching `''
/opt/scalix/bin/omldapsync: eval: line 592: syntax error: unexpected end of file
2009-04-09 09:01:59 STATUS: LDAP dir sync import king3sync started ###############
--------> Sending SOAP Request to Ubermanager@http://bishop2.foo.com/caa/ for method:GetMailNodesList
SOAP part:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Body>
        <scalix-caa:CAARequestMessage xmlns:scalix-caa="http://www.scalix.com/caa">
            <ServiceType>scalix.res</ServiceType>
            <FunctionName>GetMailNodesList</FunctionName>
            <Credentials id="12345">
                <Identity name="sxadmin" passwd="xxxxxxxx"/>
            </Credentials>
            <ScalixServers/>
            <GetMailNodesListParameters/>
        </scalix-caa:CAARequestMessage>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
--------> Received SOAP Response from Ubermanager@http://bishop2.quest-innovations.com/caa/
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>com.sun.xml.internal.messaging.saaj.soap.impl.TextImpl cannot be cast to javax.xml.soap.SOAPBodyElement</message>
                    <errorcode>CAA-101</errorcode>
                </scalix-caa:fault-details>
            </detail>
        </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
error: Response contains failure report
2009-04-09 09:02:00 ERROR: failed to run omldapagent
2009-04-09 09:02:00 STATUS: LDAP dir sync import failed, error=2 ###########
2009-04-09 09:02:00 STATUS: LDAP dir sync export king3sync started ###############
2009-04-09 09:02:00 INFO: agreement type 13 only supports import operation
2009-04-09 09:02:00 STATUS: LDAP dir sync export king3sync completed #############


System specs Scalix server:
hostname: bishop2.foo.com
Intel(R) Xeon(TM) CPU 3.06GHz 4GB RAM
Debian 5.0
Postgresql 8.3
libsasl2-2 2.1.22
Java 6 SDK update 12
libldap-2.4-2
System specs LDAP server:
hostname: king3.foo.com
Intel(R) Xeon(R) CPU 5110 @ 1.60GHz 1GB RAM
Debian 5.0
OpenLDAP Server 2.4.11

LeslieW
Scalix
Scalix
Posts: 239
Joined: Thu Jun 19, 2008 10:03 am
Contact:

Re: LDAP user management intregration problem

Postby LeslieW » Thu Apr 09, 2009 5:00 pm

It looks like you might have an unmatched quote mark in your sync.cfg.
I've never seen that error, so that's just a guess.

rienkdejong

Re: LDAP user management intregration problem

Postby rienkdejong » Thu Apr 09, 2009 5:12 pm

That's what I thought at first but I checked the sync.cfg and there are only quotes in the commented lines.

LeslieW
Scalix
Scalix
Posts: 239
Joined: Thu Jun 19, 2008 10:03 am
Contact:

Re: LDAP user management intregration problem

Postby LeslieW » Mon Apr 13, 2009 11:58 am

Would you mind posting your sync.cfg here?

You can change the host name and password if you like but try to keep it as close to "real" as you can when you post it. Like don't change host.do.main. Just the one part of the domain before 'com' or similar.

The only reason I mention that is I've edited things to remove sensitive information and ended up editing out the problem. :oops: Takes forever to find *that*. Just a bunch of "works for me!" :roll:


Return to “Scalix Management Services”



Who is online

Users browsing this forum: No registered users and 2 guests