Version 2.9
Several bugs fixed, including problems downloading files in last releases of SAMBA and some 2.2.x releases. Some strings were not translated.
smbwebclient-2.9.php.gz
Thanks to
Jaume Catarineu by his ideas and patches. Some of them will be added in next releases.
Thomas Bork who has reported some bugs and help me to get a solution.
Lew Pitcher for reporting a strange bug in SAMBA 2.2 releases.
Miriam Ruiz who has made a fantastic Debian package and have a lot of patience.
A lot of people who has waited almost a month for this release. Sorry.
16 Comments:
Thanks for this release!! I am going to try it.
BTW, change "extrange" to "strange".
Regards.
hi there,
First of all, hat's great software! however, I get the error while download the Chinese name files "OBJECT_NAME_NOT_FOUND". The file display is no problem.
Hello,
thanks for your work.
Hoever if using the 'logout' function,
I'll be prompted to login again.
Anyone else who has this problem?
Greetings Marcus
Hi,
When a user login with a valid user and invalid password, the script not login, it`s ok.
But, if a user login with valid or invalid user and empty password, the script login in.
Sorry by my English.
Thanks.
Nice work guys!
A little problem:
I get "Anonymous Login Successful" merged in each txt file I download or view from phpwebclient.
Running on Mac OS X Panther, with default smbclient.
Thank You!
Thanks a lot,I am so excited about this.
but,I have some problem.
Chinese (tw.big5) file name can not show corretly.
Would you fix the bug?
Could you mail me for this question.
my email address is :
johnlin@ilc.edu.tw
johnlin
hoal que bueno es tener acceso a estos rçp`rogramas
edriam,colombia
please help!
When opening the file, I get a error! It says that the file is damaged or not a valid archive!!!
i've tried to open the .gz file with winrar and powerzip.
Can anyone help me by sending it in a .zip file to smbwebclient[at]isox.nl?
PROBLEM:
NON ASCII chacters displaid incorrectly at least in file
and directory names.
NOTE: Only the filenames are broken.The links are OK.
Currently It first encodes 16 bit characters to UTF-8 multibytes,
Then it assumes each of those bytes to be a character and then again encodes each of those bytes as one html entity.
My linux is runing with unicode default locale.(ubuntu something)
PHP-4.4 but this was before with on older smbweb too .
SMBWeb is 2.9.
So ä (a with dots)will turn into ä (Capital A with dots,sun-character).
I made a fix (for 2.9):
843:
---------------------------------
if ($data['type'] <> 'printjob') {
$filelink = $this->Link( $file , $this->FromPath($file));
}
-----------------------------------
NOTE:
I do not really understand PHP, just fixed it by trial an error,
and I am not sure if that fix breaks it is some circumstances.
NOTE2:
THANK YOU FOR A GREAT PROGRAM.
--
Joonas Kekoni, jkekoni@cc.hut.fi
First : Thank you for this great script!
I had problem with scandinavian letters (ä,ö,å). The file list displays the file
names correctly, but if I click file/folder which contains those letters, I got "NT_STATUS_BAD_NETWORK_NAME" error.
I thought that wrong locale settings in my linux machine causes this problem, but
haven't managed to solve the problem by adjusting the locale settings.
I have made a quick fix, which solves this problem:
line 1459 (v. 2.9):
----------------------
$characters = array(
'ä' => 'ä',
'Ä' => "Ã\x84",
'ö' => 'ö',
'Ö' => "Ã\x96",
'å' => 'Ã¥',
'Å' => "Ã\x85"
);
$cmdline = strtr($cmdline,$characters);
----------------------
If somebody knows a better solution, please let us know.
I have the same problem as Jani: everything is configured to use utf-8, the display of the file listing is ok, but everytime I try to use a file with special characters I get an "OBJECT_NAME_NOT_FOUND" error.
I suspect it is a smbclient problem, not a smbwebclient one, since I have the same result if I use it from the command line.
My "fix" is to utf8_decode the command before executing it:
--- smbwebclient-2.9.php.orig 2006-01-16 08:59:51.992476903 +0100
+++ smbwebclient-2.9.php 2006-01-16 09:15:50.158591057 +0100
@@ -1456,7 +1456,7 @@
$cmdline .= $archiver;
$dumpFile = true;
}
-
+ $cmdline = utf8_decode($cmdline);
return $this->_ParseSmbClient ($cmdline, $dumpFile);
}
This is really a wonderful software!
However, I got a problem with it. I can only see my localhost with smbwebclient.
Can anybody figure out why I can not see the other computers which are available in windows workgroup?
Thanks!
how to extra?
i use
----------------------------
gw# gunzip smbwebclient-2.9.php.gz
gunzip: smbwebclient-2.9.php.gz: not in gzip format
-----------------------------
? why?
Thanks to the developers for this software I am using since one year with success.
I suggest, if possible, to ask users for confirmation before deleting selected files or folders.
Best regards,
Stefano
It is now possible to use msdfs links in home directories with the latest version of smbclient.(bug corrected)
https://bugzilla.samba.org/show_bug.cgi?id=3435
Very useful if you want only to access some folders to your users without permitting them browsing the network.
you just create some msdfs links in their folders and that's it
Your script uses the command line:
smbclient -L 'smb_server_hostname' -U 'user%pass' -d 0 -N 2>&1
If DNS is misconfigured or if this is there is no domain controller on the workgroup (small home netword, etc...) then the command will timeout, trying to DNS resolve smb_server_hostname
I suggest adding in your script the option to use NMB lookup instead of DNS for such situations. The command:
nmblookup smb_server_hostname
will output the IP of that machine wich can the be used in the smbclient command.
Note that I havent tried the scenario of a domainless workgroup, but it sounds logic to me that DNS lookup will not work in such an environment.
Post a Comment
<< Home