[Samba] message command

2006-11-21 Thread Naga Gangadhar Reddy
Hi, I tried to write my own popup client similar to linpopup. Which file does %s in the message command point to?? To test it I tried to read from the file using following c program. I included following line in smb.conf message command = /bin/sh -c '/home/ganga/messg %s; rm %s' & I am attachin

Re: [Samba] message command

2005-11-08 Thread Henrik Zagerholm
To what clients are you planning on sending these messages? If it is to win clients you have to start up winpopup on those clients i think. I could be wrong :D Regrads Henrik 8 nov 2005 kl. 12.53 skrev Henrik Zagerholm: Hi! Is winpopup running on the clients? Regards Henrik 8 nov 2005 kl. 1

Re: [Samba] message command

2005-11-08 Thread Henrik Zagerholm
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 d

[Samba] message command

2005-11-08 Thread 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/l

[Samba] message command not working

2004-01-31 Thread lakshmi priya
hi, i gave this syntax in the message command option message command = /bin/csh -c 'xedit %s; rm %s' & when service was restarted and message was sent from the windows machine there was no reaction in the linux machine. what changes should be made in order make it work. please help me. i wan

[Samba] message command

2004-01-29 Thread Collen Blijenberg (MLHJ)
Just wondering... the "message command=" in smb.conf is not run by root or an other user.. so if i use "message command = xmessage -display 0:0 -file $s &" an error occure, Xlib -> unable to connect to bla bla bla... ect. logical coz' running this command as demon (i gues) leave you without en

Re: [Samba] Message Command

2003-01-10 Thread Joel Hammer
man smb.conf Then search for preexec and root preexec and postexec. for example, this should do it: /preexec Press n to repeat the search. This is part of samba. It allows samba to invoke commands when a user logs in or logs out of the share. It is very handy. Joel On Fri, Jan 10, 2003 at 11:35:4

Re: [Samba] Message Command

2003-01-10 Thread Michael Heironimus
On Fri, Jan 10, 2003 at 10:54:49PM +1100, David Andrew Patterson wrote: > First, my question:- Does Samba do anything in particular with the standard > output of the program specified here? What would it take to have it > WinPopUp-ed back to the sender of the message? Have your message command r

Re: [Samba] Message Command

2003-01-10 Thread Joel Hammer
If you want to run a command on the linux server, why not just use the exec parameter? Are you wanting to send a pop up message to a windows or linux client? Although I don't use it right now, there is a well defined mechanism for sending popup messages to windows clients. Joel On Fri, Jan 10,

[Samba] Message Command

2003-01-10 Thread David Andrew Patterson
From the smb.conf help document regarding the "message command" field:- You could make this command send mail, or whatever else takes your fancy. Please let us know of any really interesting ideas you have. First, my question:- Does Samba do anything in particular with the standard output of

Re: [Samba] message command will not work on debian woody

2002-04-18 Thread Michael Piko
Hi, Probably should have been doing other things, but decided to have a play with this winpopup stuff. samserver = my servers netbios name - Installed as per site mentioned. - restarted samba - From smbclient -M samserver - tkpopup popped up from samserver to

[Samba] message command will not work on debian woody 2nd

2002-04-18 Thread Florian Grimps
Hello, again. I tryto use the message command feature to catch winpopups send to my debian box, as it is described at http://samba.linuxbe.org/en/samba/config/advanced.html#messages Win client (e.g. net send debian hiho) or with # smbclient -M localhost; give positve result, for commands like th

[Samba] message command will not work on debian woody

2002-04-17 Thread Florian Grimps
Hello. First of all, sorry for my broken Englsih i am not a native speaker. This is my first mail to this list. I hope i make no mistake. Okay, no my Problem. I tried to use the message command feature to catch winpopups sent to my debian box, as it is described at http://samba.linuxbe.org/en/