A smart man wrote :
> 

> Alan,

> try:
> amreover -o auth=krb5


Yup, that gets me a little further :

[EMAIL PROTECTED] DailySet1]# amrecover -C DailySet1 -t localhost -s localhost 
-d /dev/nst0 -o auth=krb5
AMRECOVER Version 2.5.1p2. Contacting server on localhost ...
[request failed: localhost: could not get TGT: error  -- no krb5 keytab defined]



Now that's obvious, amrecover doesn't know which keytab or krb5 princ to use. 
Examining the debug shows it's looking for amanda-client.conf... which I'm 
trying to create :

[EMAIL PROTECTED] DailySet1]# cat amanda-client.bak 
auth krb5
krb5keytab "/etc/krb5.keytab-amanda"

krb5principal "amanda"

[EMAIL PROTECTED] DailySet1]# mv amanda-client.bak amanda-client.conf
[EMAIL PROTECTED] DailySet1]# amrecover -C DailySet1 -t localhost -s localhost 
-d /dev/nst0 -o auth=krb5
"/etc/amanda/DailySet1/amanda-client.conf", line 1: a quoted string is expected
"/etc/amanda/DailySet1/amanda-client.conf", line 2: configuration keyword 
expected
"/etc/amanda/DailySet1/amanda-client.conf", line 2: end of line is expected
"/etc/amanda/DailySet1/amanda-client.conf", line 5: configuration keyword 
expected
"/etc/amanda/DailySet1/amanda-client.conf", line 5: end of line is expected
amrecover: error reading conffile: /etc/amanda/DailySet1/amanda-client.conf




grrrrr !!!!

back to the wiki unless you see something obviously wrong !


Reply via email to