[Samba] smbclient write default to stderr?
Pavel Lisy
pali at tmapy.cz
Tue Sep 23 06:50:56 GMT 2003
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
--
Pavel Lisy <pali at tmapy.cz>
T-MAPY spol. s r.o.
More information about the samba
mailing list