- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- smbclient won't send popup to PC (Connection faile...
Operating System - HP-UX
1820884
Members
3587
Online
109628
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2009 06:00 AM
03-10-2009 06:00 AM
smbclient won't send popup to PC (Connection failed)
I want to send (from an hpux server) a popup to a windows PC.
From server A it works fine with:
echo "Bla Bla Bla" | smbclient -M PC4180
From server B it won't work I wanted.
It only works when I put ip and pcname into:
/etc/opt/samba/lmhosts
And that is what I don't want. We have dns and PCâ s will changed from IP sometimes
debug output from server A see attachment:
give a line "resolve_hosts: Attempting host lookup for name PC4180<0x20>"
but server B give:
"resolve_hosts: not appropriate for name type <0x3>" I miss pc name.
What is going wrong on server B
Is samba config not up to date ?
Regards,
Paul Ettema.
From server A it works fine with:
echo "Bla Bla Bla" | smbclient -M PC4180
From server B it won't work I wanted.
It only works when I put ip and pcname into:
/etc/opt/samba/lmhosts
And that is what I don't want. We have dns and PCâ s will changed from IP sometimes
debug output from server A see attachment:
give a line "resolve_hosts: Attempting host lookup for name PC4180<0x20>"
but server B give:
"resolve_hosts: not appropriate for name type <0x3>" I miss pc name.
What is going wrong on server B
Is samba config not up to date ?
Regards,
Paul Ettema.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2009 07:41 AM
03-10-2009 07:41 AM
Re: smbclient won't send popup to PC (Connection failed)
If you look in the name resolution for PC4180 in your debug, you will see
server A
resolve_lmhosts: Attempting lmhosts lookup for name PC4180<0x20>
startlmhosts: Can't open lmhosts file /etc/opt/samba/lmhosts. Error was No such file or directory
resolve_hosts: Attempting host lookup for name PC4180<0x20>
Connecting to 10.240.32.197 at port 139
Server B
resolve_lmhosts: Attempting lmhosts lookup for name PC4180<0x3>
startlmhosts: Can't open lmhosts file /etc/opt/samba/lmhosts. Error was No such file or directory
resolve_wins: Attempting wins lookup for name PC4180<0x3>
resolve_wins: WINS server resolution selected and no WINS servers listed.
resolve_hosts: not appropriate for name type <0x3>
Server A connects to 10.240.32.197 at port 139 and resolves the PC name. Server B can not connect find your wins server
Check the samba configuration in server B (/etc/opt/samba/smb.conf). You probably don't have the wins server configured or not running the nmdb service.
server A
resolve_lmhosts: Attempting lmhosts lookup for name PC4180<0x20>
startlmhosts: Can't open lmhosts file /etc/opt/samba/lmhosts. Error was No such file or directory
resolve_hosts: Attempting host lookup for name PC4180<0x20>
Connecting to 10.240.32.197 at port 139
Server B
resolve_lmhosts: Attempting lmhosts lookup for name PC4180<0x3>
startlmhosts: Can't open lmhosts file /etc/opt/samba/lmhosts. Error was No such file or directory
resolve_wins: Attempting wins lookup for name PC4180<0x3>
resolve_wins: WINS server resolution selected and no WINS servers listed.
resolve_hosts: not appropriate for name type <0x3>
Server A connects to 10.240.32.197 at port 139 and resolves the PC name. Server B can not connect find your wins server
Check the samba configuration in server B (/etc/opt/samba/smb.conf). You probably don't have the wins server configured or not running the nmdb service.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2009 04:21 AM
04-20-2009 04:21 AM
Re: smbclient won't send popup to PC (Connection failed)
TTr,
"wins server" is the problem.
I had also discussed the problem with our windows servers administration department.
The two servers are in a different site
on one site (A) we have a "wins server" and do only that site. Site B don't have and don't get one.
So, I look foor a different solution. I found it in using the "smbclient" command.
I have pcname, do by my self nslookup and give IP at option -I to "smbclient".
So, command is now (and working):
echo "${POPUP_MSG}" | /opt/samba/bin/smbclient -I ${IPinfopc} -M $infopc >/dev/null
"wins server" is the problem.
I had also discussed the problem with our windows servers administration department.
The two servers are in a different site
on one site (A) we have a "wins server" and do only that site. Site B don't have and don't get one.
So, I look foor a different solution. I found it in using the "smbclient" command.
I have pcname, do by my self nslookup and give IP at option -I to "smbclient".
So, command is now (and working):
echo "${POPUP_MSG}" | /opt/samba/bin/smbclient -I ${IPinfopc} -M $infopc >/dev/null
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2009 09:00 PM
04-20-2009 09:00 PM
Re: smbclient won't send popup to PC (Connection failed)
Solution is use option -I
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP