->>In response to your message<<- --received from Dustin J. Mitchell-- > > On Tue, May 27, 2008 at 6:33 PM, Paul Yeatman > <[EMAIL PROTECTED]> wrote: > > So then I recompiled the client for both --with-bsdudp-security and > > --with-bsdtcp-security and loaded both plists. The server was still > > unable to connect in any way to the client. > > > > Then I realized the problem was with my Red Hat Enterprise amanda > > server which uses its stable albeit older version (2.4.4p3) of AMANDA > > and one which does not use the new bsdtcp authentication. So, I then > > went about recompiling AMANDA on the server side as well using the > > latest 2.6.0p1 version compiling with both --with-bsdudp-security and > > --with-bsdtcp-security. I wanted to leave both options open but > > possibly it is conflicting to use both. > > Nope -- they can coexist with no problem. > > > I'm still not sure on this. I > > still could make no connection with the client. So then I recompiled > > the server to use only bsdtcp authentication and I could FINALLY > > connect with the client yet with the following error message > > > > "client configured for auth=bsdudp while server requested 'bsd'" > > This is the key. You'll need to add > auth "bsdtcp" > to the dumptypes you're using (probably easiest to just add it to the > global dumptype).
Okay, I have added this. I have not been able to make the connection work between server and client without having compiled the client for both bsdtcp AND bsdudp security. If I use bsdtcp alone, the server never connects to the client. If I add the 'auth "bsdtcp" to the dumptypes file on the server, recompile the client for both bsdudp and bsdtcp and load both plist files on the client (bsdudp only because I have to), things connect but I get ERROR: cass74: [client configured for auth=bsdudp while server requested 'BSD'] ERROR: cass74: [client configured for auth=bsdudp while server requested 'bsdtcp'] ERROR: cass74: [client configured for auth=bsdudp while server requested 'bsdtcp'] ERROR: cass74: [client configured for auth=bsdudp while server requested 'bsdtcp'] ERROR: cass74: [client configured for auth=bsdudp while server requested 'bsdtcp'] Yes, all 5 messages. Why does it think the client is "configured for auth=bsdudp"? I'm only compiling for bsdudp and also loading its plist file because it won't connect at all without it. I don't know how I have "configured" the client for bsdudp, however. Only made it a possibility. I'll attach the amandad log file from the client. Paul
1212001824.917179: amandad: pid 90599 ruid 5000 euid 5000: start at Wed May 28 12:10:24 2008 1212001824.917447: amandad: warning: errors processing config file "/private/etc/amanda/amanda-client.conf" (non-fatal) 1212001824.917762: amandad: security_getdriver(name=bsdudp) returns 0xb4940 1212001824.917790: amandad: version 2.6.0p1 1212001824.917798: amandad: build: VERSION="Amanda-2.6.0p1" 1212001824.917803: amandad: BUILT_DATE="Wed May 28 12:05:53 PDT 2008" 1212001824.917808: amandad: BUILT_MACH="i386-apple-darwin9.2.2" BUILT_REV="1019" 1212001824.917814: amandad: BUILT_BRANCH="amanda-260" CC="gcc" 1212001824.917819: amandad: paths: bindir="/usr/local/bin" sbindir="/usr/local/sbin" 1212001824.917824: amandad: libexecdir="/usr/local/libexec" 1212001824.917829: amandad: amlibexecdir="/usr/local/libexec" 1212001824.917834: amandad: mandir="/usr/local/share/man" 1212001824.917839: amandad: AMANDA_TMPDIR="/private/tmp/amanda" 1212001824.917844: amandad: AMANDA_DBGDIR="/private/tmp/amanda" 1212001824.917850: amandad: CONFIG_DIR="/private/etc/amanda" DEV_PREFIX="/dev/" 1212001824.917855: amandad: RDEV_PREFIX="/dev/r" DUMP="/sbin/dump" 1212001824.917860: amandad: RESTORE="/sbin/restore" VDUMP=UNDEF VRESTORE=UNDEF 1212001824.917865: amandad: XFSDUMP=UNDEF XFSRESTORE=UNDEF VXDUMP=UNDEF VXRESTORE=UNDEF 1212001824.917870: amandad: SAMBA_CLIENT="/usr/bin/smbclient" GNUTAR="/usr/bin/tar" 1212001824.917875: amandad: COMPRESS_PATH="/usr/bin/gzip" 1212001824.917881: amandad: UNCOMPRESS_PATH="/usr/bin/gzip" LPRCMD="/usr/bin/lpr" 1212001824.917886: amandad: MAILER="/usr/bin/Mail" 1212001824.917891: amandad: listed_incr_dir="/Users/amanda/gnutar-lists" 1212001824.917896: amandad: defs: DEFAULT_SERVER="cass251" DEFAULT_CONFIG="laptops" 1212001824.917901: amandad: DEFAULT_TAPE_SERVER="cass251" 1212001824.917906: amandad: DEFAULT_TAPE_DEVICE="file:/etc/laptops" HAVE_MMAP 1212001824.917912: amandad: NEED_STRSTR HAVE_SYSVSHM LOCKING=**NONE** SETPGRP_VOID 1212001824.917917: amandad: AMANDA_DEBUG_DAYS=4 BSD_SECURITY USE_AMANDAHOSTS 1212001824.917922: amandad: CLIENT_LOGIN="amanda" CHECK_USERID HAVE_GZIP 1212001824.917927: amandad: COMPRESS_SUFFIX=".gz" COMPRESS_FAST_OPT="--fast" 1212001824.917932: amandad: COMPRESS_BEST_OPT="--best" UNCOMPRESS_OPT="-dc" 1212001824.917974: amandad: dgram_recv(dgram=0xda204, timeout=0, fromaddr=0xea1f0) 1212001824.918021: amandad: (sockaddr_in *)0xea1f0 = { 2, 576, 132.239.146.251 } 1212001824.918057: amandad: security_handleinit(handle=0x407ce0, driver=0xb4940 (BSDUDP)) 1212001824.921269: amandad: pw_uid-A: 5000 1212001824.921284: amandad: pw_uid-B: 5000 1212001824.921359: amandad: pw_uid-C: 5000 1212001824.921380: amandad: pw_uid-D: 5000 1212001824.921437: amandad: accept recv REQ pkt: <<<<< SERVICE noop OPTIONS features=ffffffff9ffeffffffff00; >>>>> 1212001824.921462: amandad: creating new service: noop OPTIONS features=ffffffff9ffeffffffff00; 1212001824.922951: amandad: sending ACK pkt: <<<<< >>>>> 1212001824.923085: amandad: dgram_send_addr(addr=0x407d00, dgram=0xda204) 1212001824.923095: amandad: (sockaddr_in *)0x407d00 = { 2, 576, 132.239.146.251 } 1212001824.923101: amandad: dgram_send_addr: 0xda204->socket = 0 1212001825.938659: amandad: sending REP pkt: <<<<< OPTIONS features=ffffffff9ffeffffffff00; >>>>> 1212001825.938706: amandad: dgram_send_addr(addr=0x407d00, dgram=0xda204) 1212001825.938723: amandad: (sockaddr_in *)0x407d00 = { 2, 576, 132.239.146.251 } 1212001825.938735: amandad: dgram_send_addr: 0xda204->socket = 0 1212001825.939118: amandad: dgram_recv(dgram=0xda204, timeout=0, fromaddr=0xea1f0) 1212001825.939170: amandad: (sockaddr_in *)0xea1f0 = { 2, 576, 132.239.146.251 } 1212001825.939255: amandad: received ACK pkt: <<<<< >>>>> 1212001825.939460: amandad: security_close(handle=0x407ce0, driver=0xb4940 (BSDUDP)) 1212001825.940789: amandad: dgram_recv(dgram=0xda204, timeout=0, fromaddr=0xea1f0) 1212001825.941007: amandad: (sockaddr_in *)0xea1f0 = { 2, 576, 132.239.146.251 } 1212001825.941064: amandad: security_handleinit(handle=0x407cd0, driver=0xb4940 (BSDUDP)) 1212001825.946862: amandad: pw_uid-A: 5000 1212001825.946887: amandad: pw_uid-B: 5000 1212001825.947077: amandad: pw_uid-C: 5000 1212001825.947100: amandad: pw_uid-D: 5000 1212001825.947172: amandad: accept recv REQ pkt: <<<<< SERVICE selfcheck OPTIONS features=ffffffff9ffeffffffff00;maxdumps=1;hostname=cass74;config=laptops; GNUTAR /Users 0 OPTIONS |;auth=BSD;compress-fast;index;exclude-list=/Users/amanda/home.gtar; GNUTAR /usr/local 0 OPTIONS |;auth=bsdtcp;compress-fast;index;exclude-list=/Users/amanda/exclude.gtar; GNUTAR /sw 0 OPTIONS |;auth=bsdtcp;compress-fast;index;exclude-list=/Users/amanda/exclude.gtar; GNUTAR /System 0 OPTIONS |;auth=bsdtcp;compress-fast;index;exclude-list=/Users/amanda/exclude.gtar; GNUTAR /Applications 0 OPTIONS |;auth=bsdtcp;compress-fast;index;exclude-list=/Users/amanda/exclude.gtar; >>>>> 1212001825.947209: amandad: creating new service: selfcheck OPTIONS features=ffffffff9ffeffffffff00;maxdumps=1;hostname=cass74;config=laptops; GNUTAR /Users 0 OPTIONS |;auth=BSD;compress-fast;index;exclude-list=/Users/amanda/home.gtar; GNUTAR /usr/local 0 OPTIONS |;auth=bsdtcp;compress-fast;index;exclude-list=/Users/amanda/exclude.gtar; GNUTAR /sw 0 OPTIONS |;auth=bsdtcp;compress-fast;index;exclude-list=/Users/amanda/exclude.gtar; GNUTAR /System 0 OPTIONS |;auth=bsdtcp;compress-fast;index;exclude-list=/Users/amanda/exclude.gtar; GNUTAR /Applications 0 OPTIONS |;auth=bsdtcp;compress-fast;index;exclude-list=/Users/amanda/exclude.gtar; 1212001825.949239: amandad: sending ACK pkt: <<<<< >>>>> 1212001825.949391: amandad: dgram_send_addr(addr=0x407cf0, dgram=0xda204) 1212001825.949406: amandad: (sockaddr_in *)0x407cf0 = { 2, 576, 132.239.146.251 } 1212001825.949417: amandad: dgram_send_addr: 0xda204->socket = 0 could not open conf file "/private/etc/amanda/amanda-client.conf": No such file or directory could not open conf file "/private/etc/amanda/laptops/amanda-client.conf": No such file or directory ERROR [The auth in the inetd/xinetd configuration must be the same as the DLE] ERROR [The auth in the inetd/xinetd configuration must be the same as the DLE] ERROR [The auth in the inetd/xinetd configuration must be the same as the DLE] ERROR [The auth in the inetd/xinetd configuration must be the same as the DLE] ERROR [The auth in the inetd/xinetd configuration must be the same as the DLE] 1212001826.978116: amandad: sending REP pkt: <<<<< OPTIONS features=ffffffff9ffeffffffff00; ERROR [client configured for auth=bsdudp while server requested 'BSD'] OK /Users OK /Users OK /Users ERROR [client configured for auth=bsdudp while server requested 'bsdtcp'] OK /usr/local OK /usr/local OK /usr/local ERROR [client configured for auth=bsdudp while server requested 'bsdtcp'] ERROR [Could not access /sw (/sw): No such file or directory] ERROR [client configured for auth=bsdudp while server requested 'bsdtcp'] OK /System OK /System OK /System ERROR [client configured for auth=bsdudp while server requested 'bsdtcp'] OK /Applications OK /Applications OK /Applications OK /usr/local/libexec/runtar executable OK /usr/bin/tar executable OK /Users/amanda/gnutar-lists/. read/writable ERROR [can not read/write /Users/amanda/amandates: No such file or directory] OK /usr/bin/gzip executable OK /dev/null read/writable OK /private/tmp/amanda has more than 64KB available. OK /private/tmp/amanda has more than 64KB available. OK /etc has more than 64KB available. >>>>> 1212001826.978193: amandad: dgram_send_addr(addr=0x407cf0, dgram=0xda204) 1212001826.978218: amandad: (sockaddr_in *)0x407cf0 = { 2, 576, 132.239.146.251 } 1212001826.978237: amandad: dgram_send_addr: 0xda204->socket = 0 1212001826.978813: amandad: dgram_recv(dgram=0xda204, timeout=0, fromaddr=0xea1f0) 1212001826.978867: amandad: (sockaddr_in *)0xea1f0 = { 2, 576, 132.239.146.251 } 1212001826.978972: amandad: received ACK pkt: <<<<< >>>>> 1212001826.979250: amandad: security_close(handle=0x407cd0, driver=0xb4940 (BSDUDP)) 1212001854.979684: amandad: pid 90599 finish time Wed May 28 12:10:54 2008