[Samba] smbclient write default to stderr?

kurt weiss input.maillists at kwnet.at
Tue Sep 23 06:52:29 GMT 2003


[... ]volume pass -U user -d0 -Tc /dev/tape0 > /dev/null 2>&1
linux basics...

Pavel Lisy schrieb:
> Hi
> 
> I have problem with smbclient in samba3 rc2, rc4. 
> When I start tar backup with it:
> 
> smbclient //comp-32/volume pass -U user -d0 -Tc /dev/tape0 > /dev/null
> [2003/09/23 08:27:46, 0] client/clitar.c:do_tar(830)
>                   directory \Kart-32\
> [2003/09/23 08:27:46, 0] client/clitar.c:do_tar(830)
>                   directory \Kart-32\mairs\
> [2003/09/23 08:27:46, 0] client/clitar.c:do_tar(830)
>                   directory \Kart-32\mairs\Kart-32\
> [2003/09/23 08:27:46, 0] client/clitar.c:do_tar(830)
>                   directory \Kart-32\mairs\Kart-32\mairs\
> [2003/09/23 08:27:46, 0] client/clitar.c:do_tar(830)
>                   directory
> \Kart-32\mairs\Kart-32\mairs\world_atlas_H4D\
> [2003/09/23 08:27:46, 0] client/clitar.c:do_tar(830)
>                   directory
> \Kart-32\mairs\Kart-32\mairs\world_atlas_H4D\pr_2mil\
> [2003/09/23 08:27:46, 0] client/clitar.c:do_tar(830)
>                   directory
> \Kart-32\mairs\Kart-32\mairs\world_atlas_H4D\pr_2mil\a_out\
> [2003/09/23 08:27:46, 0] client/clitar.c:do_tar(830)
>                   directory
> \Kart-32\mairs\Kart-32\mairs\world_atlas_H4D\zdroj\
> [2003/09/23 08:27:46, 0] client/clitar.c:do_tar(830)
>                   directory \statistika\
> [2003/09/23 08:27:46, 0] client/clitar.c:do_atar(764)
>          33792 ( 1833,3 kb/s)
> \statistika\mairs2002_atlas_stat_021209.xls
> [2003/09/23 08:27:46, 0] client/clitar.c:do_atar(764)
>          33792 ( 1833,3 kb/s)
> \statistika\mairs2002_atlas_stat_021220.xls
> [2003/09/23 08:27:46, 0] client/clitar.c:do_atar(764)
>          33792 ( 1650,0 kb/s)
> \statistika\mairs2002_atlas_stat_030113.xls
> [2003/09/23 08:27:46, 0] client/clitar.c:do_atar(764)
>          42496 ( 2441,2 kb/s)
> \statistika\mairs2002_atlas_stat_030213.xls
> [2003/09/23 08:27:46, 0] client/clitar.c:do_atar(764)
>          49664 ( 1564,5 kb/s)
> \statistika\mairs2002_atlas_stat_030313.xls
> ...
> 
> it is writing all listing to stderr instead to stdout. I have searched
> whole documentation (man, google, ...) but I didn't found solution.
> 
> It was right in version 2.0.x (if I remember correctly). I have script
> which use it and in previous version of samba it worked correctly.
> 
> Do anybody known solution?
> 
> Pavel
> 




More information about the samba mailing list