tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Larry Griffith <larry () cs ! wsc ! ma ! edu>
To: tru64-unix-managers
Subject: [SUMMARY]Problems with samba smbtar command
Date: Sat, 12 Dec 1998 00:31:18 +0000	[thread overview]
Message-ID: <96078731111933.tru64-unix-managers.marc@archive.invalid> (raw)

Dear Managers,

	At least tentatively it appears that the problem of smbtar not
descending into folders may be a real bug in samba (or at least the
2.0.0beta 1 version).  Richard Sharpe, the maintainer, indicated that
there were reports of such a bug in beta versions of samba2.0.0.  He
will look at the problem (next week at the earliest).

        Apparently the password must be made available in some
fashion; I guess I'll have to make the script for-root's-eyes-only
(which will work for me).

Thanks to the two respondents:

Richard Sharpe <sharpe@ns.aus.com>
Arrigo Triulzi <arrigo@albourne.com>

The original post:

Dear Managers,

     Due to some changes in our local setup, I now have to back my PC
up to the TLZ06 tape drive on my DEC 3000/600.  I'm using Samba v2.0.0
beta 1.  As a test I'm backing up my C: drive (on a Win NT v4.0
machine).  I'm using the following script (with hhhh replacing the PC
hostname and pppp replacing the password for obvious reasons):

#!/usr/bin/ksh
set -vx
mt rewind
if ! echo $PATH | grep samba
then
    export PATH=${PATH}:/usr/local/samba/bin
fi
smbtar -v -s hhhh -p pppp -X -x 'C$' -l 2 -u root -t /dev/nrmt0h pagefile.sys
set -

    I need to exclude c:\pagefile.sys (NT doesn't like access to this
file, which seems reasonable to me).  My administrative account on NT
is called root.

    Two questions:

i) smbtar just backs up the top level directory and quits (I've
verified that these files are indeed written to my tape).  How do I
get it to descend into my folders?

ii) Is there any way of getting the password out of the script?  This
is clearly a security abomination, but eventually this script will
have to run without human supervision.

						Larry

============================================================================
Larry Griffith                       Dept. of Computer & Info Science
larry@cs.wsc.ma.edu	             Westfield State College
(413) 572-5294                       Westfield, MA 01086 USA
PGP public key available at: http://cs.wsc.ma.edu/dcis/griffith.html
NOTE NEW E-MAIL ADDRESS!!
============================================================================

                 reply	other threads:[~1998-12-12  0:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox