[OPEN-ILS-DEV] Staff Client authentication woes

Don McMorris don.mcmorris at gmail.com
Wed Jun 20 14:01:43 EDT 2007


How 'bout those logs Ed?  Specifically, /openils/var/log/open-ils.auth
(if I'm remembering correctly) and perhaps the router/opensrf?

Also, can/did you make sure your database server settings are correct for .auth?

http://www.open-ils.org/dokuwiki/doku.php?id=open-ils_auth_api:open-ils.auth
explains the authentication process.  Knowing how it works may help
you diagnose the issue.  Basically, it performs authenticate.init to
get the hash, then md5_hex's this with the password which it then
passes through to authenticate.complete.  It looks to me that .init
may be completing, but losing the hash before .complete is run.  I
suppose it could me a memcached issue too?

I also have a concern about ...connection to undefined...".  What
staff client are you using? The current one should ask for a hostname
at the top left.  The old one _may_ still exist in the source tree,
which will not work (I found that out the hard way a while back).  It
may be worth trying the staff client at the Open-ILS download page (it
will require you to create a symlink in the web/xul directory, which
you should be able to figure out after the staff client throws an
error at you).

You're almost there! Good luck!
--Don

On 6/20/07, Sperr, Edwin <sperr at nelinet.net> wrote:
> So I'm attempting to use the staff client to connect to my brand-new
> Evergreen (v.1.1.5) server.  I built the staff client from source -- it
> loads up okay, and I even get a successful server check when I point it
> at the new host.  However, when I attempt to login with the default
> username and password, I get:
>
>         s = Network/server failure.  Please check your Internet
> connection to undefined and choose Retry Network.  If you need to enter
> Offline Mode, choose Ignore Errors in this and subsequent dialogs.  If
> you believe this error is due to a bug in Evergreen and not network
> problems, please contact your helpdesk or friendly Evergreen admins, and
> give them this information:
> method=open-ils.auth.authenticate.complete
> params=[{"username":"admin","password":"8cdaeb93a45701ee70950924eb9620ce
> ","type":"temp"}]
> THROWN:
> {"payload":[],"debug":"osrfMethodException : No authentication seed
> found. open-ils.auth.authenticate.init must be called
> first","status":404}
> STATUS:
>
>         title = Network Failure
>         b1 = Retry Network
>         b2 = Ignore Errors
>         b3 = null
>         c = Check here to confirm this message
>
> I sense that I'm missing a build step here, but I'm not sure what it
> is...
>
> Thanks!!!
>
> Ed Sperr
> Digital Services Consultant
> NELINET, Inc.
> 153 Cordaville Rd. Suite 200  Southborough, MA
> (508) 597-1931  |  (800) 635-4638 x1931
>


More information about the Open-ils-dev mailing list