Andrew Tridgell
1997-Oct-08 14:49 UTC
Win95 profiles on server (was Re: Automated installs (very long)) (BUG#618)
> > Ideally, I'd like an error message to come up when an > > already-logged-in user tries to login from another machine, and for > > the login process to abort back to the login dialog box. > >Have to think about this one.It would be trivial to add a smbrun() call just after the following line in server.c: DEBUG(1,("too many connections - rejected\n")); To see how, look at the "root preexec" code a few lines further down. Then you could run a script that runs smbclient -M to send a winpopup message to the users machine. Hmmm, I wonder if win95 accepts winpopups while processing a login? Andrew
Gerald W. Carter
1997-Oct-08 14:57 UTC
Win95 profiles on server (was Re: Automated installs (very long)) (BUG#618)
> Then you could run a script that runs smbclient -M to send a winpopup > message to the users machine. Hmmm, I wonder if win95 accepts > winpopups while processing a login? > > AndrewI though about this but 'winpopup' actually has to be running to receives messages. If you could run it as a service, then it would be launched prior to the login prompt. j- -- ________________________________________________________________________ Gerald ( Jerry ) Carter Engineering Network Services Auburn University jerry@eng.auburn.edu http://www.eng.auburn.edu/users/cartegw "...a hundred billion castaways looking for a home." - Sting "Message in a Bottle" ( 1979 ) ________________________________________________________________________