Amanda-Users

Re: a problembacking up a window machine

2004-12-14 15:34:54
Subject: Re: a problembacking up a window machine
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: Gil Naveh <gnaveh AT cleverex DOT com>
Date: Tue, 14 Dec 2004 09:56:28 +0100
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          *
***********************************************************************