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?
Thanks much,
gil
-----Original Message-----
From: Paul Bijnens [mailto:paul.bijnens AT xplanation DOT com]
Sent: Tuesday, December 14, 2004 3:56 AM
To: Gil Naveh
Cc: amanda-users AT amanda DOT org
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: Paul.Bijnens AT xplanation DOT com
***********************************************************************
* 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 *
***********************************************************************
|