[Mauiusers] Maui and Gold won't play nice

Kevin Hildebrand kevin at umd.edu
Fri Jul 28 13:50:37 MDT 2006


Hello, I'm working on getting Maui to use Gold as an allocation manager.

Based on the few examples I could find, (and the generated config entry 
Maui provided for me) I have:

AMCFG[bank] TYPE=GOLD HOST=xyzpdq.umd.edu PORT=7112 
SOCKETPROTOCOL=HTTP WIREPROTOCOL=XML CHARGEPOLICY=DEBITALLWC 
JOBFAILUREACTION=NONE TIMEOUT=2

CLIENTCFG[AM:bank] CSKEY=password CSALGO=HMAC

In Gold, I have the file auth-key which contains 'password'.

Every time Maui tries to talk to Gold, I get the error

2006-07-28 15:36:30.150 ERROR main::__ANON__  Gold server error (424): 
Failed authenticating message: (Incoming digest does not match calculated 
digest)..

>From looking at Maui's code, there are some oddities-
1) WIREPROTOCOL is ignored - it's hard coded to S32 in MAM.c
2) Having a WIREPROTOCOL of S32 causes the CSALGO to be hard coded to
    HMAC64 in MSU.c

The message digests being generated on both sides are very definitely 
different.  Gold is doing Digest->SHA1, while because of the two 
conditions above, Maui is doing a double SHA1.

I've been beating my head against this for two days, and haven't come up 
with anything yet, hoping someone else has been there before...

Any suggestions as to where to look next?

Thanks,

Kevin Hildebrand
University of Maryland, College Park
Office of Information Technology


More information about the mauiusers mailing list