Scalix 10 CE on Contribs SME 7

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

psypher

Scalix 10 CE on Contribs SME 7

Postby psypher » Tue Mar 28, 2006 4:24 pm

I really hope someone can help me out with this one, as it would an amazing compilation of software. The new SME server is almost released. It's at rc1 and seems very stable. Plus it's also based on CentOS 4 which I know that scalix works well on. I have followed a howto http://contribs.org/modules/pbboard/viewtopic.php?t=23069&postdays=0&postorder=asc&start=0 from the contribs forum but the howto is not complete and only gets scalix installed and semi working. i am still posting at that same site but I thought maybe a post on here can give some insight
The problems arise with ldap. both sme and scalix runs on an ldap server on port 389. and once you reboot the server i think the sme ldap takes over and scalix sac and webmail does not allow login. stating that the server is not responding. but also saying that the account name is incorrect. i have tried getting the sme ldap stopped and scalix back up but it doesn't work

i tried changing the scalix ldap. changed it in
/var/opt/scalix/sys/slapd.conf
and /etc/opt/scalix/webmail/swa.properties
restarted ldap with omoff and omon
when i try to log in with webmail, firefox keeps telling me that a pop-up is being blocked even though blocking is off. couldn't get any further. btw when i did a netstat i could see both sme ldap on port 389 and scalix ldap on 390
changed it all back, stopped sme ldap and it worked again

then i changed sme ldap port in /etc/openldap/ldap.conf to 390 and started /etc/rc.d/init.d/ldap and here i am dumbfounded. even though the conf file says 390 ldap keeps starting up on 389 according to netstat. i am hoping someone on the sme forum can help with that one.

what I am hoping on this forum is if someone could help me setup scalix to run ldap on another port and have everything connect to that port. using the same ldap server would be the ultimate but right now i don't really care if I have to create users twice. I just want scalix functioning with sme on the same server. I hope there is anyone who could help. My time is running out to get this working.

If this helps at all, Florian, I was the one to convice wings to migrate 200 users, with the help of Synaq, to scalix from exchange. I am now at systeque and as I understand they are also becoming scalix partners, so I will hopefully doing a lot more scalix converts soon.

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

Postby ScalixSupport » Tue Mar 28, 2006 7:04 pm

Hi. The bad news is you can't do this with the current version of Scalix. The good news is that in the upcoming patch release we have added this capability. The patch is scheduled for early next month, but that's subject to change.

Regarding moving your SME OpenLDAP server to socket 390, take a look at your /etc/init.d/ldap file and make sure it's actually pulling in the port number from /etc/openldap/ldap.conf. You may need to create an /etc/sysconfig/ldap file that includes something like:

OPTIONS=-h '"ldap://xx.xx.xx.xx:390/"'

where xx.xx.xx.xx is your hosts IP address or you can just hardcode -h '"ldap://xx.xx.xx.xx:390/"' into the /etc/init.d/ldap file.

Thanks,
Rachel

psypher

Postby psypher » Wed Mar 29, 2006 8:51 am

what is the exact purpose of the patch? to allow scalix to connect to other ldap servers on any port?

I gave this a try. disallowed sme ldap, scalix, scalix-tomcat and sendmail to start, rebooted and checked if ldap was listening. no ports open.
started scalix, scalix-tomcat and sendmail and then ldap started.
when i try to login into webmail the following is in scalix-swa log:

2006-03-29 11:08:21 StandardContext[/webmail]ip: 192.168.0.3; username: sxadmin-sme01@sme01.psypher.net; message: <SOAP-ENV:Fault><faultcode>SOAP-ENV:CLIENT.BadUserName</faultcode><faultstring>The username or password is incorrect. Note that passwords are case sensitive. Try again.</faultstring><detail><e:BadUserName xmlns:e="http://scalix.com/errors"><message>The username or password is incorrect. Note that passwords are case sensitive. Try again.</message><debug>user: sxadmin-sme01@sme01.psypher.net
request method(s): login
XML:
&lt;SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema"&gt;&lt;SOAP-ENV:Header&gt;&lt;credentials xmlns="http://scalix.com/schemas/gofish" SOAP-ENV:mustUnderstand="1"&gt;&lt;username&gt;sxadmin-sme01@sme01.psypher.net&lt;/username&gt;&lt;emailDomain&gt;psypher.net&lt;/emailDomain&gt;&lt;fugu&gt;Ox7f7b6e696c6e642c33292d23322e232830352407&lt;/fugu&gt;&lt;ts&gt;0&lt;/ts&gt;&lt;/credentials&gt;&lt;/SOAP-ENV:Header&gt;&lt;SOAP-ENV:Body&gt;&lt;m:login xmlns:m="http://scalix.com/methods"/&gt;&lt;/SOAP-ENV:Body&gt;&lt;/SOAP-ENV:Envelope&gt;</debug></e:BadUserName></detail></SOAP-ENV:Fault>
2006-03-29 12:39:08 StandardContext[/webmail]ip: 192.168.0.3; username: sxadmin-sme01@psypher.net; message: <SOAP-ENV:Fault><faultcode>SOAP-ENV:CLIENT.BadUserName</faultcode><faultstring>The username or password is incorrect. Note that passwords are case sensitive. Try again.</faultstring><detail><e:BadUserName xmlns:e="http://scalix.com/errors"><message>The username or password is incorrect. Note that passwords are case sensitive. Try again.</message><debug>user: sxadmin-sme01@psypher.net
request method(s): logout

it's not the username, if i re-install scalix server mod everything is fine, until next reboot. i'm a little lost. is there a way to trace where things are going wrong. it might not be ldap but maybe pam. sme might overwrite config files as it too uses pam.

psypher

Postby psypher » Wed Mar 29, 2006 10:20 am

i noticed that after a reboot the omslapdeng does not start. starting it doesn't make a difference, it strats but I still cannot log in. neither does restarting ldap with the omon omoff commands. does anyone know why it might do that?


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 2 guests

cron