LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 01-15-2011, 05:08 AM   #1
telx85
LQ Newbie
 
Registered: Jan 2011
Location: Australia
Distribution: Windows 7
Posts: 20

Rep: Reputation: 0
Samba networking, want to be able to send a message to people who look at shares


G'day guys
I've been trying to research unsuccessfully for a way to send a message to anyone who accesses my Linuxbox set up as a Samba sharing station. Basically i'm learning about linux ATM and i'm not that good. Enough to be dangerous some might say.

Anyway this is what I would like to do.

Right now I have one linuxbox setup as a samba workgroup (no domain just standard workgroup). I have about 7 people who use this glorified NAS system for things like stored video, pics, music, etc.

What I would like to do is whenever I update the various shares like I add another picture to the folder pics I want them to navigate to (in my case) \\192.168.1.17 and see not only the various shares but also a message that tells them whats been updated recently.

Maybe its a dream, but I thought with the knowledge out there its worth a shot.

Anyway I just want to say thanks for all the help this site especially has been to getting through a few headaches.

Have a great day.
Steve
 
Old 01-15-2011, 07:11 AM   #2
mindcontrolusa
LQ Newbie
 
Registered: Dec 2009
Posts: 19

Rep: Reputation: 0
Do you know how to shell script. I would do ls -ltr pipe out what you want (most liky by date). Then paste that out to a text file of some sort. Being that this is a share you can't really send a message. That would require something like a logon so you can paste it to there MOTD or .bash_profile.
 
Old 01-16-2011, 04:45 AM   #3
telx85
LQ Newbie
 
Registered: Jan 2011
Location: Australia
Distribution: Windows 7
Posts: 20

Original Poster
Rep: Reputation: 0
To be honest no I don't know how to shell script, i've dabbled with scripting in reference to Logon Scripts basically just editing what other people have to suit my needs. I figured that it wouldn't be possible, not required but would be nice and kinda cool...

I don't want to make a domain at my place, just for the sake of they take their computers out of home and unnecessary headaches are caused when really it can work just fine as a network.

Cheers though mate
 
Old 01-16-2011, 10:32 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,866

Rep: Reputation: 739Reputation: 739Reputation: 739Reputation: 739Reputation: 739Reputation: 739Reputation: 739
An instant messaging server like jabber would work. To send the message when the clients are connected you would need to monitor smbstatus.
Obviously everyone would need to install a jabber client and be online to receive a broadcast message.
 
Old 01-17-2011, 03:03 AM   #5
telx85
LQ Newbie
 
Registered: Jan 2011
Location: Australia
Distribution: Windows 7
Posts: 20

Original Poster
Rep: Reputation: 0
Thanks michaelk,
what client would you suggest? Has to be cross platform Mac/Linux/Windows...
cheers
steve
 
Old 01-17-2011, 04:02 AM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,866

Rep: Reputation: 739Reputation: 739Reputation: 739Reputation: 739Reputation: 739Reputation: 739Reputation: 739
I've never used jabber so I can not recommend a client. A client is available for all three operating systems.
 
Old 01-17-2011, 06:22 AM   #7
telx85
LQ Newbie
 
Registered: Jan 2011
Location: Australia
Distribution: Windows 7
Posts: 20

Original Poster
Rep: Reputation: 0
Ok I believe I'm trying to walk before I can crawl, I understand the ability of these clients to connect to multiple IM's all in the one program yet I fail to see how this would help me, couldn't I just use MSN and than IM people like that...
 
Old 01-17-2011, 06:28 AM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,866

Rep: Reputation: 739Reputation: 739Reputation: 739Reputation: 739Reputation: 739Reputation: 739Reputation: 739
Yes. that would work too.

Last edited by michaelk; 01-17-2011 at 06:30 AM.
 
Old 01-17-2011, 08:10 AM   #9
telx85
LQ Newbie
 
Registered: Jan 2011
Location: Australia
Distribution: Windows 7
Posts: 20

Original Poster
Rep: Reputation: 0
ok well obviously it won't work how I thought it would so thanks anyway...
 
Old 02-27-2011, 04:02 AM   #10
telx85
LQ Newbie
 
Registered: Jan 2011
Location: Australia
Distribution: Windows 7
Posts: 20

Original Poster
Rep: Reputation: 0
I found a way to provide the information but unfortunately not on access. Basically I set up a Ventrilo Server on the LinuxBox and the related clients log in and in the MOTD (Message of The Day) I can as the administrator change when I get new content to share.

So even though its not as I hoped it works ok. Plus you get the added feature of being able to chat with who is online both text based and through voip. Ventrilo is a great program.

Thanks all for your input.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
samba shares permissions as flexible as 2003server shares? fdelval Linux - Newbie 5 11-23-2010 08:29 AM
Mac OS networking errors with Samba shares .... michael-4 Linux - Server 2 10-24-2007 09:21 PM
Is it possible to send a message to a windows computer using samba? stormrider_may Linux - Networking 1 02-05-2006 11:54 AM
Linux can mount samba shares but not windows shares bindsocket Linux - Software 1 12-01-2003 05:28 PM


All times are GMT -5. The time now is 09:08 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration