![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Browser Login instead of .htaccess popup | justanob | Security | 1 | 04-05-2008 04:03 PM |
| How to supress a UI popup at the time of Service start up in solaris-10 | krevathi1912 | SUN Solaris | 5 | 11-24-2007 10:20 AM |
| Unix Messenger Popup? | Daniel.a | UNIX for Dummies Questions & Answers | 1 | 08-08-2007 08:16 AM |
| Create popup in solaris | tonlu | SUN Solaris | 0 | 04-05-2007 01:53 AM |
| Samba 2.2.4 | marvin51796 | High Level Programming | 0 | 05-08-2002 06:00 AM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
samba popup message
I would like to display a popup message to my clients when they connect to my samba share explaining certain file restricitions and maintenance instructions. How do I go about this method? Right now I'm sharing linux with mac clients and pc's, but can only display a message with my mac clients. Is this a simple script issue?
Cheers Benzo |
| Forum Sponsor | ||
|
|
|
|||
|
norsk thanks again for the help. However, my problem was never resolved.
As my users logon to my samba share I want a message to popup to them automatically kind of like a logon script. Can I use smbclient -M to schedule something like this. At first I thought, just use a logon.bat file in netlogon but my samba server is not a logon server. What I have is a simple public share accessible to all and thats it. I want anyone who uses this share to be prompted with a brief message. How to do this with a non-logon server? Benzo |
|
|||
|
if you have the smb share mounted at boot with an rc script, then you could append to that script placing another script which will take care of the popup.
hmm that dosnt make too much sense. ok, first of all this is a solution for the linux clients. if at boot time, you have a script that is run to mount smb shares, you could add to that script a line which would make executable ( chmod +x filename ) an already existing script in that users home directory in there .bashrc or whatever shell they are using 's login file. additionally this would also remove the executable bit on the popup script so that the message is NOT displayed when the smb share is not mounted. i tried to make that as clear as i could, if you are unsure of what i am suggesting please post back with questions i will try to answer. |
|||
| Google UNIX.COM |