[Samba-it] Problema con smbmount

Simo Sorce simo.sorce at xsec.it
Sat Aug 9 14:51:01 MDT 2003


On Sat, 2003-08-09 at 03:31, Mirko wrote:

> Molto bene, solo che ora ho il problema di passare i comandi put ecc. all'
> interno dello script...
> Hai qualche link di how-to che mostri come  si opera?


man smbclient

SYNOPSIS
       smbclient {servicename} [password] [-b <buffer size>] [-d
debuglevel] [-D Directory]
                 [-U username] [-W workgroup] [-M <netbios name>] [-m
maxprotocol] [-A authfile] [-N] [-l logfile] [-L <netbios name>] [-I
destinationIP] [-E] [-c <command string>] [-i scope] [-O <socket
options>] [-p port] [-R <name resolve order>] [-s <smb config file>]
[-T<c|x>IXFqgbNan] [-k]

>snip<

       -c command string
              command string is  a  semicolon-separated  list  of
              commands  to  be executed instead of prompting from
              stdin.  -N is implied by -c.


              This is particularly  useful  in  scripts  and  for
              printing stdin to the server, e.g. -c 'print -'.



Simo

-- 
Simo Sorce - simo.sorce at xsec.it
Xsec s.r.l. - http://www.xsec.it
via Durando 10 Ed. G - 20158 - Milano
mobile: +39 329 328 7702
tel. +39 02 2399 7130 - fax: +39 02 700 442 399



More information about the samba-it mailing list