[Samba] Problem to detect changes in directory

sebastien Pastor spastor at center.com
Mon Nov 21 22:57:25 GMT 2005

Hi guys,

    I am trying to make samba send a notification to our video 
transcoder software when a new file is created in a specific folder.
So far no success @ all ... : running samba version  3.0.14a-r2 on linux 
kernel 2.613. All i can see is that the changes is detected by the 
kernel but for some reasons not passed by to the windows XP client where 
the video transcoder software is running .

here the logs :

  kernel_check_notify: kernel change notify on . fd[0]=27 
[2005/11/21 23:55:49, 10] 
  process_pending_change_notify_queue: dir . changed !
[2005/11/21 23:55:49, 3] smbd/error.c:error_packet(129)
  error packet at smbd/notify.c(55) cmd=160 (SMBnttrans) NT code 0x0000010c
[2005/11/21 23:55:49, 6] lib/util_sock.c:write_socket(449)
[2005/11/21 23:55:49, 6] lib/util_sock.c:write_socket(452)
  write_socket(24,75) wrote 75
[2005/11/21 23:55:49, 3] smbd/notify_kernel.c:kernel_remove_notify(144)
  kernel_remove_notify: fd=-1

I ve tried many things : (permissions all set to 777 , forcing a port 
139 or 445 and other more stupid i wouldn t tell ...) Running out of 
ideas , any help would be appreciated.

Cheers and thanx


More information about the samba mailing list