Re: [Samba] Possible bug in Samba 4 - no Recycle VFS object

2013-02-22 Thread Jeremy Allison
On Fri, Feb 22, 2013 at 10:01:11AM +, Sebastian Arcus wrote:

> Hi Jeremy. Thanks for the reply. Would that mean that it is not
> possible to use the recycle bin in the ADS domain mode?

It's nothing to do with the ADS domain mode, it's to
do with what fileserver backend you're using.

smbd == yes
ntvfs == no.

Jeremy.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Possible bug in Samba 4 - no Recycle VFS object

2013-02-22 Thread Ricky Nance
Hi Sebastian,
If you run ps ax | grep smbd while samba is running and see running smbd
processes, then most (probably all even) vfs objects should run (including
recycle).

Ricky
On Feb 22, 2013 4:01 AM, "Sebastian Arcus"  wrote:

> On 21/02/13 23:26, Jeremy Allison wrote:
>
>> On Thu, Feb 21, 2013 at 07:24:26PM +, Sebastian Arcus wrote:
>>
>>> Just a quick check here before I file a bug report. I've just
>>> checked if I can use the recycle VFS object in Samba 4 like I do in
>>> Samba 3 - and it seems that is not implemented yet. Should I file it
>>> as a bug report - or Samba 4 supports/will support this
>>> functionality in some other way?
>>>
>>
>> The vfs recycle module works in the same way in Samba4
>> that it worked in previous versions of Samba. It doesn't
>> work with the ntvfs file server backend, but that isn't
>> recommended anyway.
>>
>>  Hi Jeremy. Thanks for the reply. Would that mean that it is not possible
> to use the recycle bin in the ADS domain mode?
>
> Sebastian
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  
> https://lists.samba.org/**mailman/options/samba
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Possible bug in Samba 4 - no Recycle VFS object

2013-02-22 Thread Sebastian Arcus

On 21/02/13 23:26, Jeremy Allison wrote:

On Thu, Feb 21, 2013 at 07:24:26PM +, Sebastian Arcus wrote:

Just a quick check here before I file a bug report. I've just
checked if I can use the recycle VFS object in Samba 4 like I do in
Samba 3 - and it seems that is not implemented yet. Should I file it
as a bug report - or Samba 4 supports/will support this
functionality in some other way?


The vfs recycle module works in the same way in Samba4
that it worked in previous versions of Samba. It doesn't
work with the ntvfs file server backend, but that isn't
recommended anyway.

Hi Jeremy. Thanks for the reply. Would that mean that it is not possible 
to use the recycle bin in the ADS domain mode?


Sebastian

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Possible bug in Samba 4 - no Recycle VFS object

2013-02-21 Thread Jeremy Allison
On Thu, Feb 21, 2013 at 07:24:26PM +, Sebastian Arcus wrote:
> Just a quick check here before I file a bug report. I've just
> checked if I can use the recycle VFS object in Samba 4 like I do in
> Samba 3 - and it seems that is not implemented yet. Should I file it
> as a bug report - or Samba 4 supports/will support this
> functionality in some other way?

The vfs recycle module works in the same way in Samba4
that it worked in previous versions of Samba. It doesn't
work with the ntvfs file server backend, but that isn't
recommended anyway.

Jeremy.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Possible bug in Samba 4 - no Recycle VFS object

2013-02-21 Thread Sebastian Arcus
Just a quick check here before I file a bug report. I've just checked if 
I can use the recycle VFS object in Samba 4 like I do in Samba 3 - and 
it seems that is not implemented yet. Should I file it as a bug report - 
or Samba 4 supports/will support this functionality in some other way?


Thanks,

Sebastian
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] POSSIBLE BUG in Samba!!

2006-08-15 Thread Volker Lendecke
On Tue, Aug 15, 2006 at 09:50:37AM +0200, S. J. van Harmelen wrote:
> Thank you very much! That was what I needed to know... Now I can stop
> searching and wait for the update to come out...
> 
> Any idea when this should be implemented? A few weeks? A few months?

I'd say a few months rather than a few weeks.

Volker


pgpHf5Lc1JOAh.pgp
Description: PGP signature
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Re: [Samba] POSSIBLE BUG in Samba!!

2006-08-15 Thread S. J. van Harmelen
Thank you very much! That was what I needed to know... Now I can stop
searching and wait for the update to come out...

Any idea when this should be implemented? A few weeks? A few months?

Thanks again!


On di, 2006-08-15 at 09:42 +0200, Volker Lendecke wrote:
> On Tue, Aug 15, 2006 at 09:28:38AM +0200, S. J. van Harmelen wrote:
> > Please take a look at my post below. Especially the part that starts
> > with "What I know so far" and "BUT!!!"... Could this be a bug in Samba?
> 
> Yes, it is a known bug in Samba that is not easy to fix.
> Tridge has figured out how the notify stuff should really
> work only a couple of months ago. It is on our list of
> things to implement in Samba3.
> 
> Volker

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] POSSIBLE BUG in Samba!!

2006-08-15 Thread Volker Lendecke
On Tue, Aug 15, 2006 at 09:28:38AM +0200, S. J. van Harmelen wrote:
> Please take a look at my post below. Especially the part that starts
> with "What I know so far" and "BUT!!!"... Could this be a bug in Samba?

Yes, it is a known bug in Samba that is not easy to fix.
Tridge has figured out how the notify stuff should really
work only a couple of months ago. It is on our list of
things to implement in Samba3.

Volker


pgpSsTYWuYUyJ.pgp
Description: PGP signature
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Re: [Samba] POSSIBLE BUG in Samba!!

2006-08-15 Thread S. J. van Harmelen
Gentlemen, Developers,

Please take a look at my post below. Especially the part that starts
with "What I know so far" and "BUT!!!"... Could this be a bug in Samba?

Please respond...


On ma, 2006-08-14 at 13:04 +0200, S. J. van Harmelen wrote:
> Hi ho there...
> 
> Environment: IIS 6.0 with everything mapped to aspnet_isapi.dll and the
> webiste files on a Debian Sarge Samba 3.0.23a-1 server.
> 
> Problem: When a file is changed on the Samba server, IIS keeps serving
> the old content as long as you keep requesting the file.
> 
> What I know so far: Because everything is mapped to aspnet_isapi.dll,
> everything is cached in the kernel-mode-cache on the Windows machine.
> When changing the change notify timeout to 5 seconds it takes 5 seconds
> for the content to change...
> 
> BUT!!! But when I don't wait 5 seconds en keep refreshing/requesting the
> page every 2 seconds, the content never changes?!?! Only when I stop
> refreshing for at least the time set as the change notify timeout, the
> content will be updated...
> 
> Any advice on this? If not I'm affraid I'll have to set the change
> notify timeout to 1 second which is quit costly for my system (if I
> understand correctly that is)...
> 
> Regards,
> 
> Sander
> 

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Possible bug in SAMBA connection close?

2002-10-16 Thread Jon Monroe

Well, I think I partially found out why this is acting strangely. I've 
tried this on both samba 2.2.5 and 2.2.6rc4. The file handles work a little 
differently between kernel 2.2 and kernel 2.4.

On kernel 2.2, when you access a directory, you get a single CWD open 
handle (from LSOF 4.47):
COMMAND   PID USER   FD   TYPE DEVICE SIZE   NODE NAME
smbd12659 root   cwd   DIR8,5 4096 624027 test

This CWD is the only handle opened.

This handle will stay in use until you click the 'up one folder' button. 
Just closing the window doesn't seem to help.


On Kernel 2.4 you get 3 opened handles. 2 are read handles, while the other 
is a CWD: (from LSOF 4.63):
COMMAND   PID USER   FD   TYPE DEVICE SIZE   NODE NAME
smbd14270 root   cwd   DIR8,2 4096 131038 disc_test_pc/
smbd14270 root   22r   DIR8,2 4096 131038 disc_test_pc/
smbd14270 root   23r   DIR8,2 4096 131038 disc_test_pc/

When you close the window OR click the 'up one folder' button the cwd 
handle is released.
However, the 2 extra read handles are not released. And, every instance of 
access to that folder generates 2 more extra read handles. This will happen 
for EVERY folder inside a share, or the share itself. Actually, the CWD 
handle will disappear by itself if you wait a few minutes, even if the 
folder is still in use.

So, after using a share with lots of folders on kernel 2.4 you see LOTS of 
open folder handles when you run a lsof -p  even 
if you've closed all windows to everything on that server, or you clicked 
the heck out of the 'up one folder' button..

Oh, the above test was without mounting anything. That folder had just a 
single file in it.

Soo...is there anyone out there using samba plus rh 8.0/kernel 2.4 plus 
sharing a cdrom drive where the disc is being changed regularly? Are you 
having problems unmounting the disc? :)

Again, RH 8.0, kernel 2.4.18, x86

Thanks,
Jon




At 11:03 AM 10/16/2002 -0700, you wrote:
>Hey all,
>
>I've been fighting a samba share/unmount problem for several days now and may
>have found a bug in the connect/disconnect code.
>
>Basically, it seems that while everything claims to free the connection to 
>the
>share, it doesn't actually happen. This is me closing ALL windows to the 
>server:
>
>log.smbd:
>   jon1 (192.168.200.2) connect to service disc1_pc_test as user breakit 
> (uid=501
>, gid=501) (pid 2908)
>[2002/10/16 10:13:27, 10] smbd/service.c:make_connection(672)
>   calling vfs_ops.connect for service disc1_pc_test (options = )
>   jon1 (192.168.200.2) closed connection to service IPC$
>[2002/10/16 10:13:37, 3] smbd/connection.c:yield_connection(48)
>   Yielding connection to IPC$
>   jon1 (192.168.200.2) closed connection to service disc1_pc_test
>[2002/10/16 10:13:38, 3] smbd/connection.c:yield_connection(48)
>   Yielding connection to disc1_pc_test
>
>smbstatus:
>Samba version 2.2.5
>Service  uid  gid  pid machine
>--
>IPC$ jon_monroe jon_monroe  2908   jon1 (192.168.200.2) Wed 
>Oct 16 1
>0:10:55 2002
>
>No locked files
>
>lsof disc1_pc_test:
>smbd2908 root   19r   DIR7,1 2048 65536 /DVD_BURN/disc1/disc_test_pc/
>smbd2908 root   23r   DIR7,1 2048 65536 /DVD_BURN/disc1/disc_test_pc/
>
>
>fuser disc1_pc_test:
>/DVD_BURN/disc1/disc_test_pc/:  2908
>
>
>I've tried disabling all cache options I know of, and it hasn't made any
>difference. Here is a snip of my current smb.conf:
>[disc1_pc_test]
> comment =   virtual PC volume from ISO image
> path=   /DVD_BURN/disc1/disc_test_pc
> guest ok=   yes
> valid users =   root, jon_monroe, breakit
> force user  =   breakit
> force group =   breakit
> oplocks =   no
> level2 oplocks  =   no
> read only   =   yes
> posix locking   =   no
> locking =   no
>
>
>This is on a RH8.0 x86 box, running K 2.4.18, and self installed samba 2.2.5.
>
>Due to the specific use, I can't use the pre/post exec functions for the
>unmount, though I don't see how it would make a difference.
>
>So, is there something I'm missing? Something else to try? Is this behavior
>normal? :)
>
>Thanks for any help!
>
>Jon
>
>--
>To unsubscribe from this list go to the following URL and read the
>instructions:  http://lists.samba.org/mailman/listinfo/samba

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Possible bug in SAMBA connection close?

2002-10-16 Thread Jon Monroe

Hey all,

I've been fighting a samba share/unmount problem for several days now and may 
have found a bug in the connect/disconnect code. 

Basically, it seems that while everything claims to free the connection to the 
share, it doesn't actually happen. This is me closing ALL windows to the server:

log.smbd:
  jon1 (192.168.200.2) connect to service disc1_pc_test as user breakit (uid=501
, gid=501) (pid 2908)
[2002/10/16 10:13:27, 10] smbd/service.c:make_connection(672)
  calling vfs_ops.connect for service disc1_pc_test (options = )
  jon1 (192.168.200.2) closed connection to service IPC$
[2002/10/16 10:13:37, 3] smbd/connection.c:yield_connection(48)
  Yielding connection to IPC$
  jon1 (192.168.200.2) closed connection to service disc1_pc_test
[2002/10/16 10:13:38, 3] smbd/connection.c:yield_connection(48)
  Yielding connection to disc1_pc_test

smbstatus:
Samba version 2.2.5
Service  uid  gid  pid machine
--
IPC$ jon_monroe jon_monroe  2908   jon1 (192.168.200.2) Wed Oct 16 1
0:10:55 2002

No locked files

lsof disc1_pc_test:
smbd2908 root   19r   DIR7,1 2048 65536 /DVD_BURN/disc1/disc_test_pc/
smbd2908 root   23r   DIR7,1 2048 65536 /DVD_BURN/disc1/disc_test_pc/


fuser disc1_pc_test:
/DVD_BURN/disc1/disc_test_pc/:  2908


I've tried disabling all cache options I know of, and it hasn't made any 
difference. Here is a snip of my current smb.conf:
[disc1_pc_test]
comment =   virtual PC volume from ISO image
path=   /DVD_BURN/disc1/disc_test_pc
guest ok=   yes
valid users =   root, jon_monroe, breakit
force user  =   breakit
force group =   breakit
oplocks =   no
level2 oplocks  =   no
read only   =   yes
posix locking   =   no
locking =   no


This is on a RH8.0 x86 box, running K 2.4.18, and self installed samba 2.2.5.

Due to the specific use, I can't use the pre/post exec functions for the 
unmount, though I don't see how it would make a difference.

So, is there something I'm missing? Something else to try? Is this behavior 
normal? :) 

Thanks for any help!

Jon

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba