Problem with reading file from VFS and Windows

Marek Grac xgrac at fi.muni.cz
Thu Feb 10 11:39:08 GMT 2005


On Thu, 10 Feb 2005, Simo Sorce wrote:

> On Thu, 2005-02-10 at 11:43 +0100, Marek Grac wrote:
>> On Thu, 10 Feb 2005, Simo Sorce wrote:
>>
>>> On Thu, 2005-02-10 at 10:57 +0100, Marek Grac wrote:
>>>> On Thu, 10 Feb 2005, Simo Sorce wrote:
>>>>
>>>> I have reported this bug, already. Oops, I found error in my mail, not
>>>> opening but reading from non-open fd. Then most of the operations are not
>>>> working even on the other shares.
>>>
>>> CAn you give the bug id for bugzilla ?
>>
>> https://bugzilla.samba.org/show_bug.cgi?id=2155
>
> seen that, and Jeremy's answer is right, you can't blame samba getting
> confused if you mix system and own fd tables.
>
> thanks, but the details you provided now are clear and I can say that it
> is a module problem not a samba one.
> The module must be safe and correct otherwise we not guarantee the rest
> of samba will work.
>
>>> Anyway reading from a non-open fd should just return an error.
>>
>> I remember that it occured when I was able to do some operations but I
>> don't have several operations (pwrite?) rewritten so samba defaults where
>> used. And because I have my own fd_table it crash.

But I still think that when have my_fd_table[] it doesn't change fd_table 
in samba. And when I use pread() on fd which is open in my_fd_table[] but 
not in system fd_table then it should return error.


 					pax, marx
--
[****************************][*************************************]
[ marek 'marx' grác / gerard ][ Električke, ktorej zmizli koľajnice ]
[     xgrac at fi.muni.cz       ][        nezostáva nič iné ako lietať ]
[****************************][*************************************]


More information about the samba-technical mailing list