Monday, January 18, 2010

Re: [nslu2-linux] Hooking SAMBA access to script?

Mai Kee Reis wrote:
> Hello friends of tiny linux boxes,
>
> I wonder if anybody could give me an advice how to hook some script to
> each fopen(), when initiated by a remote client.
> Currently, I'm running Samba 3.2.8 on a NSLU2 rev.2
> (uname -a: Linux Nslu2.home 2.6.27.8 #1 Sat Mar 7 06:32:59 UTC 2009
> armv5tel unknown unknown GNU/Linux)
>
> The idea is to catch all access to *.mp3 and *.ogg files from user
> 'audioplayer' to create some last played / most played / least played
> playlist files.
> Thus, it's not required to have it in real time.
>
> Of course I asked google (just found a lot "if-down.d hook samba") and
> my local smb.conf (/var/log/samba/log.%m has no filenames).
>
> Any hint? Impossible without patching samba?
>
Yes, impossible without patching samba.

-Mike (mwester)


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/nslu2-linux/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/nslu2-linux/join
(Yahoo! ID required)

<*> To change settings via email:
nslu2-linux-digest@yahoogroups.com
nslu2-linux-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
nslu2-linux-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/

No comments:

Post a Comment