6.0.0-beta1
7/8/25

[#7984] VFS smb driver needs to honor smbclients 'not a directory' message
Summary VFS smb driver needs to honor smbclients 'not a directory' message
Queue Horde Framework Packages
Queue Version FRAMEWORK_3
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester herde (at) tu-harburg (dot) de
Created 02/13/2009 (5989 days ago)
Due
Updated 02/16/2009 (5986 days ago)
Assigned 02/15/2009 (5987 days ago)
Resolved 02/16/2009 (5986 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
02/16/2009 06:05:44 PM Chuck Hagenbuch Comment #4
State ⇒ Not A Bug
Reply to this comment
Thanks for the followup.
02/16/2009 05:38:30 PM herde (at) tu-harburg (dot) de Comment #3 Reply to this comment
Is that line from smbclient ever going to be translated/localized?
I think you can set this to status 'Not a bug' - i found a bogus 
return result of a perl script wrapping around smbclient was actually 
the cause - it returned the result of a call to 
system('smbclient',@ARGV) but should return system(...) >> 8. Now it 
works without a patch to VFS/smb.php as expected.
02/15/2009 05:10:57 AM Chuck Hagenbuch Comment #2
State ⇒ Feedback
Patch ⇒ No
Reply to this comment
Is that line from smbclient ever going to be translated/localized?
02/13/2009 06:32:23 PM herde (at) tu-harburg (dot) de Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ VFS smb driver needs to honor smbclients 'not a directory' message
Queue ⇒ Horde Framework Packages
Milestone ⇒
Patch ⇒ Yes
State ⇒ Unconfirmed
Reply to this comment
in VFS/smb.php _execute you try to check error messages even if there 
is no error code.

As i use Version 3.0.28-1.el5_2.1 of samba smbclient the result of 
checking a path wether it is a directory or not yields only this 
message. My Patch is:



649,651d648

<             } elseif (strpos($line, 'not a directory') !== false) {

<                 $err = _("not a directory");

<                 break;

653d649

<




Saved Queries