John,

You've hit the nail on the head once again.  Ozzy was resolving to it's
external IP address which routed the samba client's request from outside
our network through the firewall.  So when I run the below command with
ozzy's internal IP address, all is good.  

> smbclient '\\10.1.1.52\home' -U amanda%<password>
added interface ip=10.1.1.34 bcast=10.1.1.255 nmask=255.255.255.0
Domain=[NOEMIX] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
smb: \> 

Thanks,

Terry


"John R. Jackson" wrote:
> 
> >Now that I think I understand how everything is suppose to be setup,
> >we're back to square one.  I cannot access the shared directory
> >(c:\home) on ozzy (win2000) from vedder (linux).  Does the samba client
> >(on vedder) have to login as user backup?  ...
> 
> No, you can use whatever user you want.  It goes before the '%' in
> /etc/amandapass.
> 
> >I've attached amandad.debug
> >for more information.  (selfcheck.debug had nothing useful in it.)
> 
> I've "enhanced" the logging in the latest sources.  But I doubt that
> will help much in your case.
> 
> >vedder> smbclient '\\ozzy\home' -U backup%<password>
> >added interface ip=10.1.1.34 bcast=10.1.1.255 nmask=255.255.255.0
> >timeout connecting to 64.63.48.103:139
> >Connection to ozzy failed
> 
> Ummmm, if this basic connection won't work, Amanda is certainly not
> going to be any better.
> 
> So the question is, why the timeout?  I tried some experiments:
> 
>   * Connecting to a share with the wrong password:
> 
>     session setup failed: ERRSRV - ERRbadpw (Bad password - name/password pair in a 
>Tree Connect or Session Setup are invalid.)
> 
>   * Connecting to a bad (non-existant) share but with the right password:
> 
>     tree connect failed: ERRSRV - ERRinvnetname (Invalid network name in tree 
>connect.)
> 
>   * Connecting to a share I don't have permission for:
> 
>     tree connect failed: ERRSRV - ERRinvnetname (Invalid network name in tree 
>connect.)
> 
>   * Connecting to a machine not running SMB:
> 
>     error connecting to 128.210.135.25:139 (Connection refused)
> 
> Not a timeout in the bunch.  So it looks to me like you have some general
> Samba/Win2000 issues (or maybe a firewall???) to work out before throwing
> Amanda into the mix.  But I'm getting in way over my head at this point.
> 
> >Terry
> 
> John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]

-- 
CONFIDENTIAL and PROPRIETARY
COPYRIGHT NOEMIX INC, SAN DIEGO, CA 2001

Reply via email to