New IRIX binaries
Herb Lewis
herb at sgi.com
Wed Oct 17 16:43:08 GMT 2001
smbsh is broken in the 2.2.2 release. Since the IRIX binaries include
smbsh, I've uploaded a new inst package with a patched version that
now works again. For those interested, the patches were as follows.
These patches are already in the CVS tree.
--- ./source/smbwrapper/smbsh.c Wed Jul 5 20:39:11 2000
+++ ../samba-2.2.2/./source/smbwrapper/smbsh.c Wed Oct 17 14:43:14 2001
@@ -45,7 +45,11 @@
extern FILE *dbf;
dbf = stdout;
+
charset_initialise();
+ lp_load(CONFIGFILE,True,False,False);
+ codepage_initialise(lp_client_code_page());
+
smbw_setup_shared();
while ((opt = getopt(argc, argv, "W:U:R:d:P:l:hL:")) != EOF) {
--- ./source/smbwrapper/wrapped.c Sat Oct 13 14:09:42 2001
+++ ../samba-2.2.2/./source/smbwrapper/wrapped.c Wed Oct 17
15:56:08 2001
@@ -462,6 +462,13 @@
#endif
#ifdef HAVE_UTIMES
+
+#ifdef HAVE_SYS_TIME_H
+#include <sys/time.h>
+#else
+#include <time.h>
+#endif
+
int utimes(const char *name, const struct timeval *tvp)
{
if (smbw_path(name)) {
--- ./source/smbwrapper/smbw.c Sat Oct 13 14:09:42 2001
+++ ../samba-2.2.2/./source/smbwrapper/smbw.c Wed Oct 17 14:43:49 2001
@@ -73,7 +73,7 @@
exit(1);
}
- charset_initialize();
+ charset_initialise();
in_client = True;
@@ -84,8 +84,7 @@
}
lp_load(servicesf,True,False,False);
-
- charset_initialize();
+ codepage_initialise(lp_client_code_page());
get_myname(global_myname);
--
======================================================================
Herb Lewis Silicon Graphics
Networking Engineer 1600 Amphitheatre Pkwy MS-510
Strategic Software Organization Mountain View, CA 94043-1351
herb at sgi.com Tel: 650-933-2177
http://www.sgi.com Fax: 650-932-2177
======================================================================
More information about the samba
mailing list