Amanda-Users

Re: Configuration for Windows PC client

2005-10-10 15:35:41
Subject: Re: Configuration for Windows PC client
From: Matt Hyclak <hyclak AT math.ohiou DOT edu>
To: amanda-users AT amanda DOT org
Date: Mon, 10 Oct 2005 15:27:11 -0400
On Mon, Oct 10, 2005 at 08:20:53PM +0100, Chris Jones enlightened us:
> Stefan G. Weichinger wrote:
> 
> > Chris Jones wrote:
> >
> >> I have run a test amcheck against one of my windoze boxes, generating
> >> the following log (actually in /var/log/amanda):-
> >>
> >> -----------------------------------------------------------------------------------------------------------
> >>
> >> selfcheck: debug 1 pid 11168 ruid 33 euid 33: start at Mon Oct 10
> >> 19:11:52 2005
> >> /usr/lib/amanda/selfcheck: version 2.4.5
> >> selfcheck: time 0.000: checking disk //gandalf/gandalfc
> >> selfcheck: time 0.000: spawning /usr/bin/smbclient in pipeline
> >> selfcheck: argument list: smbclient \\gandalf\gandalfc -U chris -E -W
> >> GANDALF -c quit
> >> selfcheck: time 0.038: samba access error: //gandalf/gandalfc: Error
> >> connecting to 192.168.0.2 (Permission denied): Connection to gandalf
> >> failed: returned 1
> >> selfcheck: time 0.038: pid 11168 finish time Mon Oct 10 19:11:52 2005
> >> -----------------------------------------------------------------------------------------------------------
> >>
> >
> >
> > And what happens if you run this by hand?
> >
> > smbclient \\gandalf\gandalfc -U chris -E -W GANDALF -c quit
> >
> > It should ask for a password ... which I am missing here ...
> >
> Yes. and when the password is supplied, I get a response:-
> 
> -bash-3.00$ smbclient \\gandalf\gandalfc -U chris -E -W GANDALF -c quit
>

------------< snip <------< snip <------< snip <------------

> 
> -bash-3.00$ smbclient \\\\gandalf\\gandalfc -U chris -E -W GANDALF -c quit
> Password:
> Domain=[GANDALF] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
> tree connect failed: NT_STATUS_BAD_NETWORK_NAME
> -bash-3.00$
> 
> Does the share exist?
>

------------< snip <------< snip <------< snip <------------

>         Sharename       Type      Comment
>         ---------       ----      -------
>         Gandalf_OldC    Disk      Gandalfs Old C Drive
>         Gandalf_H       Disk      Gandalfs DVD Drive
>         Gandalf_C       Disk      Gandalfs New C
>         IPC$            IPC       Remote IPC
>         D$              Disk      Default share
>         print$          Disk      Printer Drivers
>         HPOffice        Printer   HP OfficeJet Pro 1150 C
>         G$              Disk      Default share
>         DocSetts        Disk      Documents & Settings
>         F$              Disk      Default share
>         ADMIN$          Disk      Remote Admin
>         C$              Disk      Default share
>         OJ5500          Printer   hp officejet 5500 series
>         Gandalf_D       Disk      Gandalfs New D
>         Gandalf_E       Disk      Gandalfs New E
>         OJ5500_Fax      Printer   hp officejet 5500 series fax
> Domain=[GANDALF] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
> 

I see Gandalf_C, but no galndalfc like you've told amanda...

-- 
Matt Hyclak
Department of Mathematics 
Department of Social Work
Ohio University
(740) 593-1263