hello i've got a problem with the "message command "option here is my config in smb.conf message command = /usr/local/samba/var/popup/get_popup "%f" "%t" "%s" "%I" & and the get_popup script date=`date +%d-%m-%Y` heure=`date +%H:%M` machine=$1 destinataire=$2 message=`cat $3` ip=$4 infos=`/usr/local/samba/bin/nmblookup -A $ip | grep "<03>"` echo Le $date a $heure la machine $machine a envoye le message suivant : >> /usr/local/samba/var/popup/popup.txt echo $message >> /usr/local/samba/var/popup/popup.txt echo a destination de $destinataire >> /usr/local/samba/var/popup/popup.txt echo $infos >> /usr/local/samba/var/popup/popup.txt echo "*****************************************************************" >> /usr/local/samba/var/popup/popup.txt when i send a message only to the server i can get the message and all the information in popup.txt, but when i send a message to all the domain it doesnt works is somebody got an explication thank you and sorry for my poor english -- ---------------------------------------------------- Pascal Legrand *IUT de Chartres* - _Service Informatique_ ---------------------------------------------------- 1, place Roger Joly (/anciennement/ /place/ /Pierre/ /Mend?s/ /France/) 28000 Chartres Tel : 02 37 91 83 36 - Fax: 02 37 91 83 01 courriel : Pascal.Legrand@univ-orleans.fr
Hi! Is winpopup running on the clients? Regards Henrik 8 nov 2005 kl. 11.53 skrev Pascal Legrand:> hello > i've got a problem with the "message command "option > here is my config in smb.conf > message command = /usr/local/samba/var/popup/get_popup "%f" "%t" "% > s" "%I" & > > and the get_popup script > > date=`date +%d-%m-%Y` > heure=`date +%H:%M` > machine=$1 > destinataire=$2 > message=`cat $3` > ip=$4 > infos=`/usr/local/samba/bin/nmblookup -A $ip | grep "<03>"` > > echo Le $date a $heure la machine $machine a envoye le message > suivant : >> > /usr/local/samba/var/popup/popup.txt > echo $message >> /usr/local/samba/var/popup/popup.txt > echo a destination de $destinataire >> /usr/local/samba/var/popup/ > popup.txt > echo $infos >> /usr/local/samba/var/popup/popup.txt > echo > "*****************************************************************" >> > /usr/local/samba/var/popup/popup.txt > > > when i send a message only to the server i can get the message and > all the information in popup.txt, > but when i send a message to all the domain it doesnt works > is somebody got an explication > > thank you and sorry for my poor english > > > -- > ---------------------------------------------------- > Pascal Legrand > *IUT de Chartres* - _Service Informatique_ > ---------------------------------------------------- > > 1, place Roger Joly > (/anciennement/ /place/ /Pierre/ /Mend?s/ /France/) > 28000 Chartres > > Tel : 02 37 91 83 36 - Fax: 02 37 91 83 01 > courriel : Pascal.Legrand@univ-orleans.fr > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba