w1z4rd
Karmic Sangoma
- Joined
- Jan 17, 2005
- Messages
- 49,747
Im not sure if this is even possible.
The problem: Our one company uses a crap old database system to manage its stocks. This database is a flat file that is stored on a normal windows samba share. Sometimes the db gets locked (like has a ghost session) and only restarting smb will kill the connection and allow the user to login again.
What I need to be able to do is allow a certain end user (and I mean really end user), to double click something on their desktop that will restart the smb service.
I have no idea how to do this... Im thinking perhaps its possible to do a script or to write a php file that will restart the smb service?
Any ideas on how to go about this?
The problem: Our one company uses a crap old database system to manage its stocks. This database is a flat file that is stored on a normal windows samba share. Sometimes the db gets locked (like has a ghost session) and only restarting smb will kill the connection and allow the user to login again.
What I need to be able to do is allow a certain end user (and I mean really end user), to double click something on their desktop that will restart the smb service.
I have no idea how to do this... Im thinking perhaps its possible to do a script or to write a php file that will restart the smb service?
Any ideas on how to go about this?