1833875 Members
1687 Online
110063 Solutions
New Discussion

Samba Messaging

 

Samba Messaging

Hi people,

I would like to know how can I send message to all users from DOMAIN, I have sent message only to specific user (NETBIOS_NAME), and I want to send to all users from DOMAIN.

Someone could help me?

Tania
If you want something, you need to persist to get that.
3 REPLIES 3
Niraj Kumar Verma
Trusted Contributor

Re: Samba Messaging

use


net send /DOMAIN: message

Regards
-Niraj
Niraj.Verma@philips.com

Re: Samba Messaging

I forgot to say that I would like to send from HP-UX 11i, using smbclient command.
If you want something, you need to persist to get that.
Anu Mathew
Valued Contributor

Re: Samba Messaging

Hi Tania,

For mesaging, smbclient can be used only with the -M option which needs the machine name or the login name of the user. You cannot specify an entire Domain, as far as I know about it.

May be you should keep a file with names and call smbclient to message that particular user, until you alert all the users.

like:

for i `cat smbnames.list`
do
echo "Messaging user $i"
echo "My message to PC users" |smbclient -U "The super-user" -M $i 2> /dev/null &
done


Hope this helps.

~AM