[gollem] Regression with newer SAMBA versions

Jan Schneider jan at horde.org
Mon Nov 26 23:17:53 UTC 2007


Try to add some debug code to lib/VFS/smb.php to see the different  
values for the $dir and $mkdir variables in the createFolder() method.  
Then create a ticket on bugs.horde.org.

Zitat von Felix Leimbach <felix.leimbach at gmx.net>:

> further analysis shows that the breakage has been introduced by a change
> between samba-3.0.24-r3 and samba-3.0.25c-r2.
> Note that the revisions (-rX) are from the gentoo packages and thus
> distrospecific. AFAICT those revisions only patch vulnerabilities and
> *seem* to not affect smbclient.
>
>
> Felix Leimbach wrote:
>> Hello list,
>>
>> I have a gollem-1.0.3 installation with two samba backends in production
>> use since several years. All worked flawlessly until I upgraded from
>> samba-3.0.24 to 3.0.27a.
>> After upgrading, the following problems surfaced when using any samba
>> backend in gollem:
>>
>> * Creating a folder "folder2" in ROOT/folder1 results in
>> ROOT/folder1folder2 being created
>> * Creating a folder "folder3" in ROOT/folder1/folder2 results in
>> ROOT/folder1/folder2folder3 being created
>>
>> FTP backends are not affected.
>> Reverting back to samba-3.0.24 resolves the problem.
>>
>> Didn't have much time to look into it yet, but a quick search for
>> smbclient in the samba changelogs revealed a couple of changes. The
>> matching URLs are listed in [1] to [6] for your review.
>>
>> Here the environments for two of the affected servers (shouldn't really
>> matter):
>> * Gentoo Linux
>> * Kernels 2.4.34-grsec and 2.6.20.21-grsec
>> * Apache 2.0.59-r5 with PHP  5.2.5 and Apache 2.2.6 with PHP 5.2.5 and
>> suhosin
>> * samba shares are on remote servers
>>
>> Cheers,
>> Felix
>>
>> [1] http://us3.samba.org/samba/history/samba-3.0.25.html
>> [2] http://us3.samba.org/samba/history/samba-3.0.25a.html
>> [3] http://us3.samba.org/samba/history/samba-3.0.25b.html
>> [4] http://us3.samba.org/samba/history/samba-3.0.25c.html
>> [5] http://us3.samba.org/samba/history/samba-3.0.26a.html
>> [6] http://us3.samba.org/samba/history/samba-3.0.27a.html
>>
> --
> Gollem mailing list - Join the hunt: http://horde.org/bounties/#gollem
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: gollem-unsubscribe at lists.horde.org
>



Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the gollem mailing list