Displaying 20 results from an estimated 34 matches for "changenotify".
2007 Aug 04
10
Need some help with pure Ruby win32-changenotify
Hi all,
I know it''s deprecated, but people seem to still be using
win32-changenotify, so I thought I''d see if I could make it pure Ruby.
Also, I thought it would be a good opportunity to test passing a custom
Win32::Event object.
I''m mostly done I think, but I''m having trouble unraveling the
FILE_NOTIFY_INFORMATION struct buffer. Please check out the...
2005 Jan 06
0
Some thoughts on win32-changenotify
Hi all,
As things stand now, you can do something like this with
win32-changenotify:
require "win32/changenotify"
include Win32
filter = ChangeNotify::FILE_NAME | ChangeNotify::DIR_NAME |
ChangeNotify::LAST_WRITE
cn = ChangeNotify.new("c:\\",false,filter){
puts "Something changed"
}
cn.wait
You can pass a block that''s executed when a chan...
2006 Nov 17
2
[ win32utils-Bugs-6722 ] win32-changenotify fails on Ruby 1.8.4
...gs item #6722, was opened at 2006-11-17 05:17
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=411&aid=6722&group_id=85
Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: win32-changenotify fails on Ruby 1.8.4
Initial Comment:
throws an exception when loading, roughly
NameError: Invalid name "recursive?"
(probably complaining about the ivar named "@recursive?")
Can be fixed by replacing "recursive?" with "recursive" in changenotify.c
-------...
2007 Aug 06
0
win32-changenotify and events
Hi all,
I''ve made some changes to the way that events are handled in
win32-changenotify, and I wanted to verify that they were both
appropriate and sensical.
First, win32-changenotify now requires win32-event. In the constructor,
if an event isn''t explicitly passed, a new Win32::Event object is
created (instead of calling CreateEvent directly).
Then, in the ChangeNotify#...
2006 Dec 21
0
Curious win32-changenotify behavior - numbers instead of names
Hi all,
Ruby 1.8.5
win32-ipc 0.4.2 (or 0.5.0 in cvs)
win32-changenotify 0.4.2
I noticed something strange tonight while tinkering with
win32-changenotify. Here''s my sample script:
# cntest.rb
require ''win32/changenotify''
include Win32
path = "C:\\test"
filter = ChangeNotify::FILE_NAME | ChangeNotify::DIR_NAME
cn = ChangeNotify...
2005 Jan 20
1
ChangeNotify help wanted
Hi all,
I''ve checked in some code to win32-changenotify. Unfortunately, it
doesn''t work right. I need some help. I don''t understand what,
exactly, I''m supposed to pass to ReadDirectoryChangesW() for the 2nd
argument, nor how to read the data back out.
There''s also a WCHAR issue that needs to be worked out with reg...
2005 Apr 21
3
win32-changejournal modification
Hi all,
Should we make the same change for win32-changejournal
that we made for win32-changenotify (i.e yield an
array of structs rather than a single struct)?
Any objections?
Dan
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
2007 Aug 09
0
win32-changenotify 0.5.0 nearing release
Hi all,
I made some minor final changes to the win32-changenotify code (added
accessors I forgot, updated the test suite, explicit type checking in
the constructor, etc).
The only somewhat major change that I made is that I now have the
constructor yield/close if a block is given. Unless anyone objects to
that, it''s going into 0.5.0.
Otherwise, I...
2005 Jan 25
3
Change Journals
Hi,
I''ve released win32-changenotify 0.3.0 today. Take a look.
Park and I have discussed a Ruby interface to change journals a little bit:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/base/creating_modifying_and_deleting_a_change_journal.asp
Park, would you like to do this, or did you want me to? I wasn...
1999 Jan 20
1
JBuilder Reload buffers? confusion (any update?) (PR#12876)
...struggling with JBuilder 2.0 and its "File has been
> externally updated, reload buffers?" messages. Has anyone found a fix?
> Is it a bug in JBuilder? i.e should I save my hair and not spend any
> more time investigating/trying to fix this problem?
>
If it's genuinely a ChangeNotify problem then updating
to Samba 2.0 should fix it. Samba 2.0 contains a real
implementation of ChangeNotify.
Regards,
Jeremy Allison,
Samba Team.
--
--------------------------------------------------------
Buying an operating system without source is like buying
a self-assembly Space Shuttle w...
2007 Aug 08
12
Some more win32-changenotify analysis
Hi all,
I decided to check the responsiveness of the pure Ruby vs C extension
versions of win32-changenotify. I setup this little file generator program:
a = []
10.times{ |n|
a << Thread.new{
File.open("File_#{n}", ''w''){ |fh| fh.puts "test #{n}" }
}
}
a.each{ |t| t.join }
The pure Ruby version did not do so well. In some cases it only picked...
2020 Oct 29
0
[Announce] Samba 4.13.1, 4.12.9 and 4.11.15 Security Releases Available
Release Announcements
---------------------
These are a security releases in order to address the following defects:
o CVE-2020-14318: Missing handle permissions check in SMB1/2/3 ChangeNotify.
o CVE-2020-14323: Unprivileged user can crash winbind.
o CVE-2020-14383: An authenticated user can crash the DCE/RPC DNS with easily
crafted records.
=======
Details
=======
o CVE-2020-14318:
The SMB1/2/3 protocols have a concept of "ChangeNotify", where a client can
reques...
2020 Oct 29
0
[Announce] Samba 4.13.1, 4.12.9 and 4.11.15 Security Releases Available
Release Announcements
---------------------
These are a security releases in order to address the following defects:
o CVE-2020-14318: Missing handle permissions check in SMB1/2/3 ChangeNotify.
o CVE-2020-14323: Unprivileged user can crash winbind.
o CVE-2020-14383: An authenticated user can crash the DCE/RPC DNS with easily
crafted records.
=======
Details
=======
o CVE-2020-14318:
The SMB1/2/3 protocols have a concept of "ChangeNotify", where a client can
reques...
2016 Jan 30
2
Fwd: Change notify/Directory enumeration issue with two MAC OS X El Capitan accessing same folder
Hi Folks,
We are seeing an issues where two OS X El Capitan clients opened a folder
and one of them creates a "New Folder" (untitled folder) and renames it, on
the other MAC client explorer the "unititled folder" remains same and
unable to access it.
Note: The samba version is 4.1.19 and we have not used the vfs_fruit
module.
attached packet capture where the SMB2 Find
2005 Feb 04
0
RE: Bug fix
...that - I misunderstood.
Hm...what do you think about modifying ChangeModify#wait (or possibly
Ipc#wait) to accept an optional 2nd "recursive" argument, that would
indicate whether a wait call with an associated block would break out or
repeat indefinitely?
So, something like this:
cn = ChangeNotify.new("C:\\",true,filter)
# This would break out on the first change
cn.wait{ |s|
p s
}
# This would recycle the block indefinitely, unless you broke out
manually somehow
cn.wait(ChangeNotify::INFINITE,true){ |s|
p s
}
Or am I getting too tricky?
Regards,
Dan
2004 May 07
2
New packages?
Hi,
I should have win32-changenotify and win32-semaphore out this weekend at
some point. Then, the next version of win32-file. And after that? I don''t
know.
What do you think we should tackle next? What interests you? Different
mutex flavors? IE controllers? Exchange interfaces? I think we should
probably look a...
2004 Apr 29
3
win32-ipc bug?
Either I''ve been up too late, or the timeout value passed to Ipc.new isn''t
actually saved anywhere. Am I wrong?
Anyway, I''ve added docs and a test suite for win32-ipc. Feel free to take a
look and make sure there aren''t any glaring errors. Thanks.
Dan
PS - I''m hoping to release win32-event 0.2.0 and win32-ipc 0.1.0 this
weekend unless there are
2016 Jan 30
0
Fwd: Change notify/Directory enumeration issue with two MAC OS X El Capitan accessing same folder
...ter
> few
> > > SMB2 notify responses.
> > >
> > > So will this issues fixes by vfs_fruit module or by latest SAMBA ?
> >
> > No attachment I'm afraid.
>
> it was attached in a resend.
>
> > Is the client watching the directory getting a ChangeNotify reply
> > after the rename ?
>
> Yes, the client is getting a proper ChangeNotify, from a quick check
> it looks like the server is behaving correctly.
>
> > The only way to determine if Ralph already fixed
> > this is to download master or v4.4 and give it
> > a...
2005 Feb 04
7
FW: Bug fix
...<Daniel.Berger@qwest.com> wrote:
>
> Hm...what do you think about modifying ChangeModify#wait (or possibly
> Ipc#wait) to accept an optional 2nd "recursive" argument, that
"recursive" would be confusing, don''t you think? what with the same name
used in ChangeNotify.new as well.
>
> So, something like this:
>
> cn = ChangeNotify.new("C:\\",true,filter)
>
> # This would break out on the first change
> cn.wait{ |s|
> p s
> }
>
> # This would recycle the block indefinitely, unless you broke out
> manually som...
2005 Apr 19
1
Bug 1806
Hi all,
I''m trying to get new tracker items to automatically
send an email to this list, so I may run a couple of
tests this week. You can ignore them.
Heesob, can you please take a look at Bug 1806? I''m
not sure if it''s possible or not, but it seems like a
reasonable idea if it is.
Regards,
Dan
__________________________________
Do you Yahoo!?
Plan great