[Tickets #5931] Re: MKDIR Regression with newer SAMBA versions

bugs at bugs.horde.org bugs at bugs.horde.org
Tue Nov 27 10:55:14 UTC 2007


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=5931
-----------------------------------------------------------------------
 Ticket             | 5931
 Updated By         | felix.leimbach at gmx.net
 Summary            | MKDIR Regression with newer SAMBA versions
 Queue              | Gollem
 Version            | 1.0.3
 Type               | Bug
 State              | Unconfirmed
 Priority           | 1. Low
 Owners             | 
-----------------------------------------------------------------------


felix.leimbach at gmx.net (2007-11-27 02:55) wrote:

Further debugging yields:

The critical statement sent by _command() in lib/VFS/smb.php:
/usr/bin/smbclient "//1.2.3.4/sharename" "-p139" "-Uusername" -D "/temp"
-I 1.2.3.4 -c "mkdir \"subdir1\";"

When fired from the command line this statement does what expected in
samba-3.0.24 and misbehaves as described in the bugreport with
samba-3.0.25c and higher.

SOLUTION:
Appending a backslash in the -D argument solves the problem FOR BOTH SAMBA
VERSIONS:
/usr/bin/smbclient "//1.2.3.4/sharename" "-p139" "-Uusername" -D "/temp/"
-I 1.2.3.4 -c "mkdir \"subdir1\";" 

Will create a patch to smb.php soon.



More information about the bugs mailing list