I can add users but users can not log in

Discuss Scalix Management Services ( formerly Scalix Admin Console )

Moderator: ScalixSupport

viper77
Posts: 11
Joined: Wed Dec 07, 2005 8:46 pm

I can add users but users can not log in

Postby viper77 » Wed Dec 07, 2005 8:57 pm

Hello,
I installed the latest version of Scalix on a Suse 9.3 personal edition computer I can log in to the Admin Console and I can add users but then the user can not log in to the web mail screen.
This is the error I get in the caa.log when a user tries to log in
&lt;SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"&gt;&lt;SOAP-ENV:Header&gt;&lt;credentials xmlns="http://scalix.com/schemas/gofish" SOAP-ENV:mustUnderstand="1"&gt;&lt;username&gt;sbs@mydomain.com&lt;/username&gt;&lt;emailDomain&gtmydomail.com&lt;/emailDomain&gt;&lt;fugu&gt;Ox396e4a79316b2059222b2624282d352f35263108&lt;/fugu&gt;&lt;ts&gt;0&lt;/ts&gt;&lt;rand&gt;5DF5E531056CA58695813C11EC8D806E&lt;/rand&gt;&lt;rand2&gt;92ba39c400f3c7f2c5f14e81f12e55812c5d7ae3&lt;/rand2&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>

I have also tried going back into the Admin Console to modify the users, but none of the created users are listed when I try to pull them up
this is the erro message I get when I try to pull the users from the console in the caa.log
2005-12-07 17:07:35,260 ERROR [GetMemberAccessGroupList.createSOAPResponseMessage:239]

Hopefully someone can shed light on these issues, we are having lots of problems doing this evaluation to migrate from Exchange.

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

Postby ScalixSupport » Wed Dec 07, 2005 10:13 pm

Hi viper77,

I'm wondering what version of java and what version of tomcat you've installed. Also if you could produce the error and submit the relevent portion of the scalix-swa_log.date.txt in your $jakarta_home/logs directory.

Thanks,
Don

viper77
Posts: 11
Joined: Wed Dec 07, 2005 8:46 pm

Postby viper77 » Thu Dec 08, 2005 12:43 am

The vesion of java I'm using is 1.4.2_06
and this is what I get every time I try to log in
&lt;SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/1999/XMLSchema$
2005-12-07 17:29:18 StandardContext[/webmail]ip: 192.168.1.55; username: userid@domain.com; message: <SOAP-ENV:Fault><fau$
request method(s): login
XML:

viper77
Posts: 11
Joined: Wed Dec 07, 2005 8:46 pm

Postby viper77 » Thu Dec 08, 2005 10:05 am

2005-12-08 09:57:00 StandardContext[/webmail]ip: 192.168.1.55; username: sbarreros; 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: sbarreros
request method(s): login
XML:
&lt;SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"&gt;&lt;SOAP-ENV:Header&gt;&lt;credentials xmlns="http://scalix.com/schemas/gofish" SOAP-ENV:mustUnderstand="1"&gt;&lt;username&gt;sbarreros&lt;/username&gt;&lt;emailDomain&gt;extier.com&lt;/emailDomain&gt;&lt;fugu&gt;Ox396e4a79316b2059302234292c3330222f353108&lt;/fugu&gt;&lt;ts&gt;0&lt;/ts&gt;&lt;rand&gt;78B1AE583E0980A69DF34BDA083D9AF7&lt;/rand&gt;&lt;rand2&gt;134e477a2633a55002b2e23698cf7bd20a980f0b&lt;/rand2&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>

This is the message I get in the Sacalix log

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

Postby ScalixSupport » Thu Dec 08, 2005 3:01 pm

Hi viper77,

The solution is in the error. ".BadUserName</faultcode><faultstring>The username or password is incorrect". Try using sbarreros@yourdoman.com, last name, or first last.

Regards,
Don

viper77
Posts: 11
Joined: Wed Dec 07, 2005 8:46 pm

Postby viper77 » Thu Dec 08, 2005 3:09 pm

I've tried that, and it doesn't work.

I am going to try to reinstall it again, but before I do let me make sure I have this correctly.
I have my host name in the /etc/HOSTNAME file as myhost.mydomain.com

Another thing I noticed in the install logs there are multiple error messages saying
2005-12-08 15:00:58,847 WARNING File scalix-server-community-9.4.2.4-0.1.sles9.i586.rpm is not for this platform
2005-12-08 15:00:58,847 WARNING File scalix-server-community-9.4.2.4-0.1.sles9.i586.rpm is not for this platform
2005-12-08 15:00:58,848 INFO File scalix-sac-9.4.2.5-1.noarch.rpm is a Scalix file, for this platform and valid version
2005-12-08 15:00:58,848 WARNING File scalix-websplats-configurator-py24-9.4.2.5-1.noarch.rpm is not a Scalix package
2005-12-08 15:00:58,849 INFO File scalix-swa-9.4.0.52-1.noarch.rpm is a Scalix file, for this platform and valid version
2005-12-08 15:00:58,850 WARNING File scalix-websplats-configurator-py22-9.4.2.5-1.noarch.rpm is not a Scalix package
2005-12-08 15:00:58,850 WARNING File scalix-websplats-configurator-py23-9.4.2.5-1.noarch.rpm is not a Scalix package
2005-12-08 15:01:01,168 INFO Tomcat was running when we started: False

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

Postby ScalixSupport » Thu Dec 08, 2005 3:46 pm

Hi viper77,

Sorry, I just reread your initial post. You are trying to install on an unsupported platform. Please see system requirements at

http://scalix.com/products/communityedition.html

Again sorry I didn't catch that initially.

Regards,
Don

viper77
Posts: 11
Joined: Wed Dec 07, 2005 8:46 pm

Postby viper77 » Thu Dec 08, 2005 3:48 pm

I reinstalled the application and here is what I found,
In the installation wizard when it asks you for the Default Domain and Server host

If I put
Deafult Domain: mydomain.com
Server hostname : mydomain.com

I can log in to webmain and the console with the administrative password

If I put

Default Domain: mydomain.com
Server hostname : myhost.mydomain.com

I can log in to webmail but I can't log in to the Administrative console

And in both cases I can't log in with the user I created when logged into the Administrative Console...

viper77
Posts: 11
Joined: Wed Dec 07, 2005 8:46 pm

Postby viper77 » Thu Dec 08, 2005 3:56 pm

I think both the professional and the personal edition of suse 9.3 are the same thing except for a few added commercial packages in the pro edition.

I guess I'll just have to keep trying to make this work

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

Postby ScalixSupport » Thu Dec 08, 2005 4:23 pm

OK, if you are getting that far let's keep trying...

I have my host name in the /etc/HOSTNAME file as myhost.mydomain.com


Yes, that is correct. What happens when you type hostname? You should see the fully qualified name.

If I put

Default Domain: mydomain.com
Server hostname : myhost.mydomain.com


This is right.

Progress if you can login to webmail.

To get you into SAC, is the account you created the default admin sxadmin?

If so then type

omshowu -n sxadmin/mailnode (your mailnode)

The first line of output will be

Authentication ID: sxadmin@....

Use that string as your login id for the SAC.

Best wishes,
Don

viper77
Posts: 11
Joined: Wed Dec 07, 2005 8:46 pm

Postby viper77 » Thu Dec 08, 2005 6:23 pm

This is what I get when I configure the server as
Default Domain: mydomain.com
Server hostname : myhost.mydomain.com

I can't log in to the admin console

javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid Credentials]
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:2988)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2934)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2735)
at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2649)
at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:290)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193)
at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:136)
at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:66)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
at javax.naming.InitialContext.init(InitialContext.java:219)
at javax.naming.InitialContext.<init>(InitialContext.java:195)
at javax.naming.directory.InitialDirContext.<init>(InitialDirContext.java:80)
at com.scalix.sac.ubermgr.ldap.LDAPQuery.initContext(LDAPQuery.java:71)
at com.scalix.sac.ubermgr.rbac.RbacAuthorizationHelper.isScalixUser(RbacAuthorizationHelper.java:212)
at com.scalix.sac.ubermgr.ldap.LDAPServiceHandler.Login(LDAPServiceHandler.java:111)
at com.scalix.sac.ubermgr.caa.RESService.authenticateAndAuthorizeUser(RESService.java:155)
at com.scalix.sac.ubermgr.caa.RESService.doRequest(RESService.java:82)
at com.scalix.caa.soap.SOAPDispatcherServlet.onMessage(SOAPDispatcherServlet.java:267)
at com.scalix.caa.soap.SAAJServlet.doPost(SAAJServlet.java:123)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)

When I configure the server as
Default Domain: mydomain.com
Server hostname :mydomain.com

I can log in to the admin console, I add a user and try to log in as the user and I can't
I go back into the console to try to see if I can edit the user but the user is no longer there. If I try to add the user again it give me an error message saying that the user already exists.

in my /etc/hosts file I have the following

192.168.1.53 mydomain.com
192.168.1.53 myhost.mydomain.com

Are there any other configurations I need to be aware of?

Thanks for the feed back

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

Postby ScalixSupport » Thu Dec 08, 2005 6:37 pm

Hi,

I think the problem is still down to the fact that suse Personal 9.3 is not a supported Scalix platform. You can try tweaking the installer into thinking it is running on an accepted platform by modifying:

/etc/SuSE-release

Then, you should probably reinstall Scalix and see if the problems clear up.

Please note this is unsupported and should you run into issues because of that, we will be unable to help you. We can only provide support for a set of distros that go thru QA and are officially blessed by Scalix. Once your OS comes of age and we ship a newer release, it's time for an upgrade ...

Regards,

Matthew
Support


Return to “Scalix Management Services”



Who is online

Users browsing this forum: No registered users and 4 guests