Amanda-Users

Re: Configuration for Windows PC client

2005-10-13 18:29:21
Subject: Re: Configuration for Windows PC client
From: Chris Jones <chris-jones AT zen.co DOT uk>
To: amanda-users AT amanda DOT org
Date: Thu, 13 Oct 2005 23:20:53 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Paul Bijnens wrote:

> Chris Jones wrote:
>
>>> Chris Jones wrote:
>>>
>>>> However, now I get the following: selfcheck: debug 1 pid
>>>> 13291 ruid 33 euid 33: start at Mon Oct 10 21:02:23 2005
>>>> /usr/lib/amanda/selfcheck: version 2.4.5 selfcheck: time
>>>> 0.000: checking disk //gandalf/DocSetts selfcheck: time
>>>> 0.000: spawning /usr/bin/smbclient in pipeline selfcheck:
>>>> argument list: smbclient \\gandalf\DocSetts -U chris -E -W
>>>> GANDALF -c quit selfcheck: time 0.039: samba access error:
>>>> //gandalf/DocSetts: Error connecting to 192.168.0.2
>>>> (Permission denied): Connection to gandalf failed: returned 1
>>>> selfcheck: time 0.040: pid 13291 finish time Mon Oct 10
>>>> 21:02:23 2005
>
>
> The above error seems like you have domain GANDALF, and below in
> /etc/amandapass you have TELESPAN. Show the real config and real
> error for one and only one entry.

This is the selfcheck log file run tonight:
selfcheck: debug 1 pid 9819 ruid 33 euid 33: start at Thu Oct 13
21:20:20 2005
/usr/lib/amanda/selfcheck: version 2.4.5
selfcheck: time 0.000: checking disk //gandalf/DocSetts
selfcheck: time 0.000: spawning /usr/bin/smbclient in pipeline
selfcheck: argument list: smbclient \\gandalf\DocSetts -U chris -E -W
TELESPAN -c quit
selfcheck: time 0.039: samba access error: //gandalf/DocSetts: Error
connecting to 192.168.0.2 (Permission denied): Connection to gandalf
failed: returned 1
selfcheck: time 0.040: pid 9819 finish time Thu Oct 13 21:20:20 2005

>
>
>>>>
>>>> The DocSetts share definitely exists and I can connect to it
>>>> using smbclient -U chris -E -W TELESPAN -c quit
>>>>
>>>> Presumably amanda adds the additional backslashes when
>>>> linking to Samba? Or do I need to add these in one of the
>>>> amanda files (disklist or amandapass or .amandahosts)?
>>>
>>>
>>>
>>> Pls show the relevant lines of all these files ...
>>>
>>
>> disklist contains the line: bilbo.stow-jones.local
>> //gandalf/DocSetts nocomp-user-gnutar
>>
>> amandapass contains the line (obfuscated password):
>> //gandalf/DocSetts chris%password TELESPAN
>
>
>
> To be 100% sure: the /etc/amandapass file is on the host
> bilbo.stow-jones.local ?

Yes.

>
> If the host running smbclient has a different /etc/amandapass with
> TELESPAN as group, then that may explain your confusion.

There is only the one linux PC which runs both client and server for
amanda. Both other PC's in the network are windoze boxes.

>
>
>
>>
>> .amandahosts contains the lines: gandalf.stow-jones.local
>> amanda gandalf.stow-jones.local root
>
>
> Fine. If this is really a client, then you only need the first
> line. If it is the amanda server, then you also need the second
> line (to be able to restore as root).

This is the server, so I will leave both lines in.


- --
"A great many people think they are thinking when they are merely
rearranging
their prejudices."
- -- William James
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFDTt3E6X9KqRmbBqERApc+AKDf8Zf0x1H43ZhU18kMG9fRokeUrgCeOLg/
j1tysCuiHr22b2TZQfYoZsA=
=JdRH
-----END PGP SIGNATURE-----