Re: a problembacking up a window machine

2004-12-14 Thread Paul Bijnens
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, XplanationTel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax  +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  *
***



RE: a problembacking up a window machine

2004-12-13 Thread Gil Naveh
Thanks for the responce.
I don't have much experience working with Samba.
My test on the Unix server was:
# cat testfile.txt | smbclient -M window-name
I received a pop up with testfile.txt contant.

however when I type:
# smbclient -L window-client-name -N
I get the following error message:
  Anonymous login successful
  Domain=[CLEVEREX] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]

Sharename  Type  Comment
-    ---
  Error returning browse list: NT_STATUS_ACCESS_DENIED

Server   Comment
----

WorkgroupMaster
----

Does it means that I have not configured Samba currectly?
Any examples on how to test Samba are mostly welcome

Thanks much,
gil


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jon LaBadie
Sent: Monday, December 13, 2004 3:51 PM
To: Amanda-Users
Subject: Re: a problembacking up a window machine


On Mon, Dec 13, 2004 at 02:27:41PM -0500, Gil Naveh wrote:
>
> hello,
>
> For the last couple of days I am unsuccessfully trying to backup a window
> machine(Win 2000) with Samba server(Solaris 9).
> I installed Samba on the Solaris server and successfully run and tested
> smbclient.
> Yet, I am unable to backup the 'Shared folder' on the window box.
> When running amcheck Amanda sends me the following error message:
>
>   NOTE: info dir /usr/adm/amanda/DailySet1/curinfo/hostname.com: does not
> exist
>   NOTE: index dir /usr/adm/amanda/DailySet1/index/hostname.com: does not
> exist

ignore these, they will exist when the first of hostname.com backup is done.


>   Server check took 0.190 seconds
>
>   Amanda Backup Client Hosts Check
>   
>   WARNING: hostname.com: selfcheck request timed out.  Host down?
>   Client check: 1 host checked in 30.031 seconds, 1 problem found
>
> Additionally, I updated the file: /etc/amandapass with the following line:
>  //Window-computer-name/share-folder-name
> username%password
> I created a shared folder on the Window machine.
> smbd and nmbd deamons are running!
>

Can you access the shares by hand with smbtar/smbclient?

--
Jon H. LaBadie  [EMAIL PROTECTED]
 JG Computing
 4455 Province Line Road(609) 252-0159
 Princeton, NJ  08540-4322  (609) 683-7220 (fax)



Re: a problembacking up a window machine

2004-12-13 Thread Jon LaBadie
On Mon, Dec 13, 2004 at 02:27:41PM -0500, Gil Naveh wrote:
> 
> hello,
> 
> For the last couple of days I am unsuccessfully trying to backup a window
> machine(Win 2000) with Samba server(Solaris 9).
> I installed Samba on the Solaris server and successfully run and tested
> smbclient.
> Yet, I am unable to backup the 'Shared folder' on the window box.
> When running amcheck Amanda sends me the following error message:
> 
>   NOTE: info dir /usr/adm/amanda/DailySet1/curinfo/hostname.com: does not
> exist
>   NOTE: index dir /usr/adm/amanda/DailySet1/index/hostname.com: does not
> exist

ignore these, they will exist when the first of hostname.com backup is done.


>   Server check took 0.190 seconds
> 
>   Amanda Backup Client Hosts Check
>   
>   WARNING: hostname.com: selfcheck request timed out.  Host down?
>   Client check: 1 host checked in 30.031 seconds, 1 problem found
> 
> Additionally, I updated the file: /etc/amandapass with the following line:
>  //Window-computer-name/share-folder-name
> username%password
> I created a shared folder on the Window machine.
> smbd and nmbd deamons are running!
> 

Can you access the shares by hand with smbtar/smbclient?

-- 
Jon H. LaBadie  [EMAIL PROTECTED]
 JG Computing
 4455 Province Line Road(609) 252-0159
 Princeton, NJ  08540-4322  (609) 683-7220 (fax)


a problembacking up a window machine

2004-12-13 Thread Gil Naveh

hello,

For the last couple of days I am unsuccessfully trying to backup a window
machine(Win 2000) with Samba server(Solaris 9).
I installed Samba on the Solaris server and successfully run and tested
smbclient.
Yet, I am unable to backup the 'Shared folder' on the window box.
When running amcheck Amanda sends me the following error message:

  NOTE: info dir /usr/adm/amanda/DailySet1/curinfo/hostname.com: does not
exist
  NOTE: index dir /usr/adm/amanda/DailySet1/index/hostname.com: does not
exist
  Server check took 0.190 seconds

  Amanda Backup Client Hosts Check
  
  WARNING: hostname.com: selfcheck request timed out.  Host down?
  Client check: 1 host checked in 30.031 seconds, 1 problem found

Additionally, I updated the file: /etc/amandapass with the following line:
 //Window-computer-name/share-folder-name
username%password
I created a shared folder on the Window machine.
smbd and nmbd deamons are running!

Any thoughts, similar experience etc

Thanks much,
gil