Selecting files to get...
shyde at poboxes.com
Sun Dec 7 18:08:18 GMT 1997
On Fri, 21 Nov 1997 02:52:32 +1100, you wrote:
>If I execute:
># smbtar -v -s pivita -x ADMIN$ -t testFile -u root -p $PASSWD
>I actually could create a complete backup from the Win95-box but I don't
>need to to it, so I stop the process by pressing CTRL-C.
>Now, if I repeat:
># smbclient -L pivita
>I get what I need:
>Added interface ip=184.108.40.206 bcast=220.127.116.11 nmask=255.255.255.0
>Server time is Thu Nov 20 15:02:22 1997
>Timezone is UTC-8.0
>Server=[PIVITA] User= Workgroup=[JALEO] Domain=
> Sharename Type Comment
> --------- ---- -------
> ADMIN$ Disk
> C$ Disk
> C-DOLORES Disk
> D$ Disk
> D-DOLORES Disk
> DESKJET 520 Printer
> IPC$ IPC Remote Inter Process Communication
> PRINTER$ Disk
>So from now on I can achive the backup I really want. The command-line
>looks something like this:
># smbtar -v -s pivita -x C$ -d \\path-to-the-data\data -t $TARGET -u
>root -p $PASSWD
>I put the user root after the -u option just to let him to the important
>stuff ;-) Although I get the same results giving in a different
>non-root valid username combined with the root's password... strange,
>isn't it? anyway...
>Because of this all, I first have to execute a smbtar of ADMIN$ by hand
>to get the C$ and D$ in the list of shares. What I want to find is some
>kind of workaround for this and include it in the script I run after the
>smbtar of ADMIN$. To do it, I'd like to know how to get ONLY ONE file
>from the Win95 box, which should be enough to make C$ and D$ visible to
>the UNIX box.
>Any ideas/help/comments (/XL T-shirts :) ) are very welcomed! maybe I'm
>doing something wrong, such as mistyping a command, etc...
>Thank you in advance. Greetings from the Canary Islands! =B-)
smbclient //pivita/ADMIN$ -U root%$PASSWD -c 'quit'
More information about the samba