2.0.4b/rh60/smbstatus: European characters (accented) (PR#18293)
Jeremy Allison
jallison at cthulhu.engr.sgi.com
Mon Jun 28 00:08:15 GMT 1999
giulioo at tiscalinet.it wrote:
> SOLUTION:
> for samba 2.0.x I need to use
> smbstatus|tr '\205\212\215\225\227\202' '\340\350\354\362\371\351'
> and all is ok :-)
>
> If someone can explain me this I'm still waiting :)
Try adding the following patch to 2.0.4b. This should
fix the problem and will be in the next release.
Regards,
Jeremy Allison,
Samba Team.
Index: utils/status.c
===================================================================
RCS file: /data/cvs/samba/source/utils/status.c,v
retrieving revision 1.34.2.3
diff -u -r1.34.2.3 status.c
--- status.c 1999/06/12 02:40:07 1.34.2.3
+++ status.c 1999/06/28 00:06:58
@@ -135,7 +135,8 @@
else
printf("NONE ");
- printf(" %s %s",fname,asctime(LocalTime((time_t *)&e->time.tv_sec)));
+ printf(" %s %s",dos_to_unix(fname,False),
+ asctime(LocalTime((time_t *)&e->time.tv_sec)));
}
}
--
--------------------------------------------------------
Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.
--------------------------------------------------------
More information about the samba
mailing list