[Samba] Problem to detect changes in directory

sebastien Pastor spastor at center.com
Tue Nov 22 00:51:35 GMT 2005


Ok i guess i found out. Samba would do only Directory Changes 
notification but not File Changes notification.Meaning it returns only 
the fact that "something" has changed in the folder and not "this file" 
has changed. i guess my transcoder software is expecting the latter ...

Can anyone confirm me this limitation in samba ?


Cheers

seb

sebastien Pastor wrote:

> 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 :
>
> smbd/notify_kernel.c:kernel_check_notify(99)
>  kernel_check_notify: kernel change notify on . fd[0]=27 
> (signals_received=1)
> [2005/11/21 23:55:49, 10] 
> smbd/notify.c:process_pending_change_notify_queue(161)
>  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)
>  write_socket(24,75)
> [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
>
>
> Seb
>
>
>
>
>
>



More information about the samba mailing list