Amanda-Users

Re: Does a mixed environment of 2.5.1 server with pre-2.5.1 clients work?

2006-09-21 01:45:21
Subject: Re: Does a mixed environment of 2.5.1 server with pre-2.5.1 clients work?
From: Bruce Thompson <drllama AT otherother DOT com>
To: Paddy Sreenivasan <paddy AT zmanda DOT com>
Date: Wed, 20 Sep 2006 22:36:02 -0700
Hi Paddy,

I've located what appears to be the source of the _keytable errors.

in common-src/util.h there appears:

----- BEGIN -----
typedef struct {        /* token table entry */
    char *keyword;
    tok_t token;
} keytab_t;

keytab_t *keytable;
----- END -----

This is declaring an externally visible variable named "keytable" in every source file that includes util.h.

From what I can tell, this is better done as:

----- BEGIN -----
typedef struct {        /* token table entry */
    char *keyword;
    tok_t token;
} keytab_t;

extern keytab_t *keytable;
----- END -----

and adding

keytab_t *keytable

to util.c.

Making this change has resulted in the complete elimination of this error. I do still see warnings about regex (the global library is used rather than amanda's conflicting symbols), but I suspect this is not a significant issue.

I'm checking against the latest subversion sources now to see if I get the same errors around keytable. If so then I'll post a patch here (unless of course someone yells at me that this fix will break something).

Cheers,
Bruce.


On Sep 20, 2006, at 9:44 AM, Paddy Sreenivasan wrote:

2.5.1 server will work 2.5.0p2 clients as long as you are using bsd
authentication.

I guess you are still are running into Mac OS X compilation
problems that were mentioned in your posting
few days ago. I don't have access to Mac OS X machine. Can you
find out which header file _keytable is defined in the system?

Thanks,
Paddy



On 9/20/06, Bruce Thompson <drllama AT otherother DOT com> wrote:
Hi,

I've got a situation where an update of gtar has broken my backups on
the server. I'll revert if I have to, but I'd prefer to get 2.5.1
working on the server.

Meanwhile, 2.5.1 client is not building successfully on my Mac OS X
clients. I've got 2.5.0p2 running successfully on the Macs.

Assuming I don't change any of the xinetd or auth setup, should a
2.5.1 server be able to work with 2.5.0p2 clients?

Thanks!
Bruce.



--

Amanda documentation: http://wiki.zmanda.com
Amanda forums: http://forums.zmanda.com

!DSPAM:4511710c48751640823458!

<Prev in Thread] Current Thread [Next in Thread>