Scalix AD2003 integration

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

saibaba

Scalix AD2003 integration

Postby saibaba » Mon Jun 04, 2007 4:11 am

Hi,

I'm trying to integrate the scalix server into our activ directory.
For that I followed the steps in the Scalix_Administration_Guide
but i get allways this error which I can't allocate to something!!

So please can you help me....

last log entry:

Code: Select all

INPUT: Attempt to test data extraction now y/n (n):y
2007-06-04 20:24:40 INFO: test searching from zrhysoa01w.ys.local ...
2007-06-04 20:24:40 INFO: search base is ou=users,dc=youngsolutions,dc=ch
ldap_bind: Invalid credentials
ldap_bind: additional info: 80090308: LdapErr: DSID-0C09030F, comment: AcceptSecurityContext error, data 525, vece
2007-06-04 20:24:41 ERROR: failed to run omldapsearch
2007-06-04 20:24:41 INFO: test listing servers from http://zrhysog02l.youngsolutions.ch:8080/caa/ ...
--------> Sending SOAP Request to Ubermanager@http://zrhysog02l.youngsolutions.ch:8080/caa/ for method:GetServersList
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>GetServersList</FunctionName>
            <Credentials id="12345">
                <Identity name="sxadmin-zrhysog02l@youngsolutions.ch" passwd="xxxxxxxx"/>
            </Credentials>
            <ScalixServers/>
            <GetServersListParameters/>
        </scalix-caa:CAARequestMessage>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
java.net.ConnectException: Connection refused
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(Unknown Source)
        at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
        at java.net.PlainSocketImpl.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at sun.net.NetworkClient.doConnect(Unknown Source)
        at sun.net.www.http.HttpClient.openServer(Unknown Source)
        at sun.net.www.http.HttpClient.openServer(Unknown Source)
        at sun.net.www.http.HttpClient.<init>(Unknown Source)
        at sun.net.www.http.HttpClient.New(Unknown Source)
        at sun.net.www.http.HttpClient.New(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
        at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:263)
        at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:151)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
        at com.scalix.ldapsync.LdapAgent.sendAndReceive(Unknown Source)
        at com.scalix.ldapsync.LdapAgent.main(Unknown Source)
04.06.2007 20:24:44 com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection post
SCHWERWIEGEND: SAAJ0009: Message send failed
java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
        at com.scalix.ldapsync.LdapAgent.sendAndReceive(Unknown Source)
        at com.scalix.ldapsync.LdapAgent.main(Unknown Source)
Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
        at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:308)
        at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:151)
        ... 4 more
Caused by: java.net.ConnectException: Connection refused
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(Unknown Source)
        at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
        at java.net.PlainSocketImpl.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at sun.net.NetworkClient.doConnect(Unknown Source)
        at sun.net.www.http.HttpClient.openServer(Unknown Source)
        at sun.net.www.http.HttpClient.openServer(Unknown Source)
        at sun.net.www.http.HttpClient.<init>(Unknown Source)
        at sun.net.www.http.HttpClient.New(Unknown Source)
        at sun.net.www.http.HttpClient.New(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
        at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:263)
        ... 5 more
com.sun.xml.messaging.saaj.SOAPExceptionImpl: java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
        at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:128)
        at com.scalix.ldapsync.LdapAgent.sendAndReceive(Unknown Source)
        at com.scalix.ldapsync.LdapAgent.main(Unknown Source)
Caused by: java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
        ... 2 more
Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
        at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:308)
        at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:151)
        ... 4 more
Caused by: java.net.ConnectException: Connection refused
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(Unknown Source)
        at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
        at java.net.PlainSocketImpl.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at sun.net.NetworkClient.doConnect(Unknown Source)
        at sun.net.www.http.HttpClient.openServer(Unknown Source)
        at sun.net.www.http.HttpClient.openServer(Unknown Source)
        at sun.net.www.http.HttpClient.<init>(Unknown Source)
        at sun.net.www.http.HttpClient.New(Unknown Source)
        at sun.net.www.http.HttpClient.New(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
        at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:263)
        ... 5 more

CAUSE:

java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
        at com.scalix.ldapsync.LdapAgent.sendAndReceive(Unknown Source)
        at com.scalix.ldapsync.LdapAgent.main(Unknown Source)
Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
        at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:308)
        at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:151)
        ... 4 more
Caused by: java.net.ConnectException: Connection refused
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(Unknown Source)
        at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
        at java.net.PlainSocketImpl.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at sun.net.NetworkClient.doConnect(Unknown Source)
        at sun.net.www.http.HttpClient.openServer(Unknown Source)
        at sun.net.www.http.HttpClient.openServer(Unknown Source)
        at sun.net.www.http.HttpClient.<init>(Unknown Source)
        at sun.net.www.http.HttpClient.New(Unknown Source)
        at sun.net.www.http.HttpClient.New(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
        at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:263)
        ... 5 more

CAUSE:

java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
        at com.scalix.ldapsync.LdapAgent.sendAndReceive(Unknown Source)
        at com.scalix.ldapsync.LdapAgent.main(Unknown Source)
Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
        at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:308)
        at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:151)
        ... 4 more
Caused by: java.net.ConnectException: Connection refused
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(Unknown Source)
        at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
        at java.net.PlainSocketImpl.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at sun.net.NetworkClient.doConnect(Unknown Source)
        at sun.net.www.http.HttpClient.openServer(Unknown Source)
        at sun.net.www.http.HttpClient.openServer(Unknown Source)
        at sun.net.www.http.HttpClient.<init>(Unknown Source)
        at sun.net.www.http.HttpClient.New(Unknown Source)
        at sun.net.www.http.HttpClient.New(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
        at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:263)
        ... 5 more
2007-06-04 20:24:44 ERROR: failed to run omldapagent
2007-06-04 20:24:44 STATUS: Configuration of YSZ failed, error=2 ###########


Thx

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

Re: Scalix AD2003 integration

Postby ls-al » Mon Jun 04, 2007 4:50 am

saibaba wrote:...

Code: Select all

INPUT: Attempt to test data extraction now y/n (n):y
2007-06-04 20:24:40 INFO: test searching from zrhysoa01w.ys.local ...
2007-06-04 20:24:40 INFO: search base is ou=users,dc=youngsolutions,dc=ch
ldap_bind: Invalid credentials
ldap_bind: additional info: 80090308: LdapErr: DSID-0C09030F, comment: AcceptSecurityContext error, data 525, vece
2007-06-04 20:24:41 ERROR: failed to run omldapsearch
2007-06-04 20:24:41 INFO: test listing servers from http://zrhysog02l.youngsolutions.ch:8080/caa/ ...
--------> Sending SOAP Request to Ubermanager@http://zrhysog02l.youngsolutions.ch:8080/caa/ for ...



There are at least 2 errors in the sync agreement.

1. the credentials for the account which is to query the AD-LDAP are wrong. You have to adjust EX_LOGON and/or EX_PASS in the sync.cfg

2. the IM_CAA_URL has to be specified without ":8080". This is a misleading leftover from the times we did not have the mod_jk integration.

cheers,
Dirk

saibaba

Postby saibaba » Mon Jun 04, 2007 7:22 am

hi,

thx for such fast reply...
I tried it out and the log entry get much shorten.
But there is still a point where it fails.


logfile:

Code: Select all

2007-06-04 23:02:38 INFO: test searching from zrhysoa01w.ys.local ...
2007-06-04 23:02:38 INFO: search base is cn=users,dc=ys,dc=local
2007-06-04 23:02:39 INFO: search base is cn=groups,dc=ys,dc=local
ldap_search: No such object
ldap_search: matched: DC=ys,DC=local
ldap_search: additional info: 0000208D: NameErr: DSID-031001C6, problem 2001 (NO_OBJECT), data 0, best match of:
        'DC=ys,DC=local'

2007-06-04 23:02:39 ERROR: failed to run omldapsearch
2007-06-04 23:02:39 INFO: test listing servers from http://zrhysog02l.youngsolutions.ch/caa/ ...
--------> Sending SOAP Request to Ubermanager@http://zrhysog02l.youngsolutions.ch/caa/ for method:GetServersList
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>GetServersList</FunctionName>
            <Credentials id="12345">
                <Identity name="sxadmin-zrhysog02l@youngsolutions.ch" passwd="xxxxxxxx"/>
            </Credentials>
            <ScalixServers/>
            <GetServersListParameters/>
        </scalix-caa:CAARequestMessage>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
--------> Received SOAP Response from Ubermanager@http://zrhysog02l.youngsolutions.ch/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>Failed to Authenticate credentials for userid = sxadmin-zrhysog02l@youngsolutions.ch</message>
                    <errorcode>UM-1023</errorcode>
                </scalix-caa:fault-details>
            </detail>
        </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
error: Response contains failure report
2007-06-04 23:02:43 ERROR: failed to run omldapagent
2007-06-04 23:02:43 STATUS: Configuration of YSZ failed, error=2 ###########


and the config file:

Code: Select all

EDIT_PROMPT=JAVA_HOME EX_HOST EX_LOGON EX_PASS IM_HOST IM_CAA_URL IM_CAA_KEYSTORE IM_CAA_NAME IM_CAA_PASS EX_BASE1 EX_BASE2 EX_BASE3 IM_OMADDRESS
TYPE_ID=11
SYNC_ID=YSZ
NEXT_SYNCID=
JAVA_HOME=/usr/java/jre1.5.0_06/
EX_HOST=zrhysoa01w.ys.local
EX_PORT=389
EX_LOGON=cn=Administrator,cn=users,dc=ys,dc=local
EX_PASS=XXXXXXX
IM_HOST=zrhysog02l.youngsolutions.ch
IM_CAA_URL=http://zrhysog02l.youngsolutions.ch/caa/
IM_CAA_KEYSTORE=
IM_CAA_ID=12345
IM_CAA_NAME=sxadmin-zrhysog02l@youngsolutions.ch
IM_CAA_PASS=XXXXXXXX
IM_DELETE_MAILBOX=TRUE
IM_FAIL2WARN_OPCODES=
EX_SCALIX_ATTRS=SCALIXHIDEUSERENTRY SCALIXMAILBOXCLASS SCALIXLIMITMAILBOXSIZE SCALIXLIMITOUTBOUNDMAIL SCALIXLIMITINBOUNDMAIL SCALIXLIMITNOTIFYUSER EX_SCALIX_MAILBOX EX_SCALIX_MAILNODE EX_SCALIX_MSGLANG EX_SCALIX_ADMIN EX_SCALIX_MBOXADMIN
SCALIXHIDEUSERENTRY=scalixHideUserEntry
SCALIXMAILBOXCLASS=scalixMailboxClass
SCALIXLIMITMAILBOXSIZE=scalixLimitMailboxSize
SCALIXLIMITOUTBOUNDMAIL=scalixLimitOutboundMail
SCALIXLIMITINBOUNDMAIL=scalixLimitInboundMail
SCALIXLIMITNOTIFYUSER=scalixLimitNotifyUser
EX_SCALIX_MAILBOX=scalixScalixObject
EX_SCALIX_MAILNODE=youngsolutions
EX_SCALIX_MSGLANG=scalixServerLanguage
EX_SCALIX_ADMIN=scalixAdministrator
EX_SCALIX_MBOXADMIN=scalixMailboxAdministrator
EX_ATTR=scalixHideUserEntry scalixMailboxClass scalixLimitMailboxSize scalixLimitOutboundMail scalixLimitInboundMail scalixLimitNotifyUser scalixScalixObject scalixMailnode scalixServerLanguage scalixAdministrator scalixMailboxAdministrator userAccountControl member distinguishedName userPrincipalName objectclass name displayName sn givenname initials mail scalixEmailAddress mailNickname objectGUID textEncodedORaddress facsimileTelephoneNumber homephone streetAddress st telephoneNumber title c company department description l mobile pager physicalDeliveryOfficeName postalCode secretary
EX_BASE1=cn=users,dc=ys,dc=local
EX_BASE2=cn=groups,dc=ys,dc=local
EX_BASE3=
EX_BASE4=
EX_BASE5=
EX_BASE6=
EX_BASE7=
EX_BASE8=
EX_BASE9=
EX_FILTER=(&(cn=*)(scalixScalixObject=TRUE))
IM_OMADDRESS=/internet,tnef
EX_GUID=objectGUID
LDAPCT_BIN_ATT=objectGUID
EX_PAGESIZE=1000

...........

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

Postby ls-al » Mon Jun 04, 2007 7:45 am

The DSID-031001C6 error indicates that EX_BASE1 and/or EX_BASE2 is wrong.

IM_CAA_NAME and/or IM_CAA_PASS is wrong.
IM_CAA_NAME has to be the authentication ID of the Admin user. Usually the same what is used for logging into Scalix Management Services (SAC)

cheers,
Dirk

saibaba

Postby saibaba » Wed Jun 06, 2007 5:15 am

thx a lot it works now :)


Return to “Scalix Server”



Who is online

Users browsing this forum: Bing [Bot] and 1 guest