The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


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 !!

More UNIX and Linux Forum Topics You Might Find Helpful
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

Closed Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-15-2003
Registered User
 

Join Date: Nov 2001
Posts: 11
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
  #2 (permalink)  
Old 06-16-2003
Registered User
 

Join Date: Jul 2002
Location: new york
Posts: 1,025
if the pc clients have a program called 'winpopup' running, you can send them messages across the network. see the man page for smbclient :
man smbclient
  #3 (permalink)  
Old 06-18-2003
Registered User
 

Join Date: Nov 2001
Posts: 11
thank you!
  #4 (permalink)  
Old 06-25-2003
Registered User
 

Join Date: Nov 2001
Posts: 11
Lightbulb revisted

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
  #5 (permalink)  
Old 06-25-2003
Registered User
 

Join Date: Jul 2002
Location: new york
Posts: 1,025
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
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 07:49 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0