I tried it but I get error message that exec mistake so I imagine I was unable 
to write properly the arguments

How can I see the value of the parameters when I launch backup, do breakpoints 
exist ?

Christophe Ourliac
Matthey s.r.o.
Arcelor Group
Predlická 453/26
400 01
Ústí nad Labem
 
Tel: +420 477 757 122
Fax: +420 477 757 100
Mobile: +420 602 746 853
Email: [EMAIL PROTECTED]
-----Message d'origine-----
De : Les Mikesell [mailto:[EMAIL PROTECTED] 
Envoyé : mercredi 24 mai 2006 17:23
À : Ourliac Christophe
Cc : Justin Best; backuppc-users@lists.sourceforge.net
Objet : RE: [BackupPC-users] Understanding parameters smbclient

On Wed, 2006-05-24 at 04:19, Ourliac Christophe wrote:

>  -U MATTHEYCZ\\Administrator%pwd 
                              ^^^^
Are you trying to put the password here?  

> Anonymous login successful


> While if I launch from terminal: smbclient \\\\mattheycz-xx-xx\\C\$ -U
> MATTHEYCZ\\Administrator%pwd -E -N -d 1 -c tarmode\ full -Tc -


Try:
PASSWD=pwd at the beginning of the line and remove the %pwd from
the username in the command to do it the way backuppc will.  On
the command line the shell will export variables set this way
in the command's environment.  Search for PASSWD in
/opt/backuppc/lib/BackupPC/Xfer/Smb.pm to see how the perl
code exports your $conf->{SmbSharePasswd} value before
running smbclient.  If it works one way and not the other,
you must have some kind of typo in the config file.

-- 
  Les Mikesell
   [EMAIL PROTECTED]





-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to