Thanks much Paul,

Your English is quit good and eventually I successfully run the amcheck on
the window box :)

Yet, I was not able to back up a shared folder on a window box.
Is it possible to backup a shared folder instead of a full drive like:
 //machine_name/shared_folder instead of //machine_name/c$
and if so what is the syntax?

Thx,
gil

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Paul Bijnens
Sent: Tuesday, December 14, 2004 5:23 PM
To: Gil Naveh
Cc: [EMAIL PROTECTED]
Subject: Re: a problem backing up a window machine


Gil Naveh wrote:

> Thanks for the help.
> However, when I am following through the example you gave me.
> ACA I updated the /etc/amandapass and I have created a domain account with
> admin privileges.
> Yet, when I run the command
> smbclient /etc/amandapass //machine_name/c$ user%passwd mydomain
> I get the following error message:
>   session setup failed: NT_STATUS_LOGON_FAILURE
> Any idea why and how to debug it?

I know my english is not very good (actually it is "quiet" bad,
as I used to say), but when I follow my example the command
becomes:

smbclient '//machine_name/c$' -U  user%passwd -W mydomain

Note:
- there is no mention of /etc/amandapass, that's is the
   file where amanda gets the information to fill in here
- there are single quotes around the sharename, otherwise
   the dollar-sign would give trouble in the shell
- there is a "-U" string before the user and the "-W" string
   before the domain;  I hope you do understand the basic
   conventions used in unix command line program to give options.
- if the password contains any special characters for the shell,
   then you need quotes around here too.



>
> Thanks much,
> gil
>
> -----Original Message-----
> From: Paul Bijnens [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, December 14, 2004 3:56 AM
> To: Gil Naveh
> Cc: [EMAIL PROTECTED]
> Subject: Re: a problembacking up a window machine
>
>
> Gil Naveh wrote:
>
>>Does it means that I have not configured Samba currectly?
>>Any examples on how to test Samba are mostly welcome
>
>
> In /etc/amandapass you find lines like:
>
> Hostname+share  username%Password  DOMAIN
> =============== =================  =========
> //homeros/d$    amanda%secret      MYDOMAIN
>
>
> This implies that you have a you have a MS-Windows PC
> named "homeros", which is part of the domain "MYDOMAIN",
> and you have created a domainaccount with administrative
> priviledges named "amanda", wich password "secret".
>
> To test this with smbclient, do:
>
> smbclient '//homeros/d$' -U 'amanda%secret' -W MYDOMAIN
>
> And you should get the "smb: >"-prompt, and type e.g. "dir"
> to list the files.
>
> If you add on each PC a local user instead of the domain user,
> then you should not add the MYDOMAIN value to /etc/amandapass,
> and test without the "-W MYDOMAIN" option for smbclient, of course.
>


--
Paul Bijnens, Xplanation                            Tel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM    Fax  +32 16 397.512
http://www.xplanation.com/          email:  [EMAIL PROTECTED]
***********************************************************************
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
* quit,  ZZ, :q, :q!,  M-Z, ^X^C,  logoff, logout, close, bye,  /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* kill -9 1,  Alt-F4,  Ctrl-Alt-Del,  AltGr-NumLock,  Stop-A,  ...    *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out          *
***********************************************************************

Reply via email to