;
; /etc/smb.conf
; demos part
; Michele Andreoli

; activate the PC-speaker, at mount and umount

[ring]
   comment = Ring (preexec/postexec test) 
   browseable = yes
   writable = no
   locking = no
   path = /tmp/nothing
   public = yes
   preexec = wave -c 220 2; wave -c 440 2; wave -c 880 4 
   postexec = wave -c 220 4 

; say voice synth

[say]
   comment = say (a printable service) 
   browseable = yes
   printable = yes
   path = /tmp/nothing
   public = yes
   writable = no
   create mode = 0700

   print command = say < %s; rm %s 
   lprm command = rm %s
   ;lpq command = wave -c 880 2


[sendmail]
   comment = Demo Mail to root 
   browseable = yes
   writable = no
   locking = no
   path = /tmp/nothing
   public = yes
   preexec = echo `id`@`hostname` | sendmail -f Samba-in root 
   postexec = echo `id`@`hostname` | sendmail -f Samba-out root 


[playdemo]
   comment = Play a demo WAV 
   browseable = yes
   writable = no
   locking = no
   path = /tmp/nothing
   public = yes
   preexec = play-demo
   postexec = play-demo


