samba popup message


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers samba popup message
# 1  
Old 06-16-2003
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
# 2  
Old 06-16-2003
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  
Old 06-18-2003
thank you!
# 4  
Old 06-25-2003
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  
Old 06-26-2003
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.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Popup needed while reboot - for confirmation

Hi all, I need something like a pop-up while clicking on shutdown button or reboot button in GUI and also while running the command reboot / shutdown / init it should ask some confirmation message.. Do you want to do so..and so. How can i make this possible ? . (4 Replies)
Discussion started by: linuxadmin
4 Replies

2. Red Hat

Samba error message "NT_STATUS_UNSUCCESSFUL"

Hello, I integrated AD to CentOS 6 for authentication, I am seeing these samba error on the log messages, what configuration changes need to be updated inorder to get rid of these error messages. Jan 16 14:53:21 HOSTNAME1 smbd: printing/print_cups.c:109(cups_connect) Jan 16 14:53:21... (0 Replies)
Discussion started by: bobby320
0 Replies

3. Shell Programming and Scripting

Writing an annoying popup window

Hi, I work for Xerox. As a new guy, I was recently pranked by the resident Solaris guru.:cool: This is a celebrated event. I must now prank back in an equally flawless fashion. I wish to get back to him by writing a script that will generate an annoying popup randomly, a small window that... (1 Reply)
Discussion started by: orchus
1 Replies

4. Shell Programming and Scripting

Read popup message and save it in file

Hi, I am trying to automate one of the application using IE:Auotmation in perl My web application has few text fields and 2 buttons "Save Changes" and "Discard Changes".I have written code to enter values to the text fields fetching from input file and click the button "Save Changes".As soon as... (0 Replies)
Discussion started by: jyo123.jyothi
0 Replies

5. Shell Programming and Scripting

popup message

file:///C:/DOCUME%7E1/eelavazh/LOCALS%7E1/Temp/moz-screenshot-1.jpgHI,, I am new to the shell scripting and trying to be adopted soon...Can u please suggest me how do we populate a message when the following condition fails...... Thanks and Regards, Ela success250=`grep -c... (0 Replies)
Discussion started by: elavv
0 Replies

6. Shell Programming and Scripting

call a popup message from the shell script

Hi , this is my first querry in this forum and I am new bee to the shell scripting..Please have a glance on my query and give ur valuable suggestions . I have a crown job which performs one function,If the job has done successfully we need to send message to some group as "SUCCESSFUL" or else we... (0 Replies)
Discussion started by: elavv
0 Replies

7. Cybersecurity

Browser Login instead of .htaccess popup

Hi, Sorry if this is in the wrong forum. Anyway help I would appreciate. How do or or where would I find info (tried google but it's just a bit hard to understand & have no how to implement it). What I've got is a standard garden variety user registration form (php). It allows people to... (1 Reply)
Discussion started by: justanob
1 Replies

8. UNIX for Dummies Questions & Answers

Unix Messenger Popup?

Hi guys, I'm new to these forums. I'm more of a Windows guy, but I work at an electronics manufacture company that uses Solaris 10 extensively. We have Sunfire v480 servers set up to do system level testing. Everything is networked so you telnet into any server from any computer in the facility.... (1 Reply)
Discussion started by: Daniel.a
1 Replies

9. Solaris

Create popup in solaris

Does anyone know how to create a popup window in solaris 8 and later? I want to create and load a popup window when a user logon to a solaris machine and inform the user about some environment changes we have done. Can this easily be done? And if soo how? /Tony (0 Replies)
Discussion started by: tonlu
0 Replies
Login or Register to Ask a Question