LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-26-2009, 08:51 AM   #1
Quip11
LQ Newbie
 
Registered: Aug 2004
Location: Colorado, USA
Distribution: Fedora 15
Posts: 8

Rep: Reputation: 1
smbd: matchname: host name/address mismatch


This is a question & answer in one post, but since this forum is searchable, maybe I can save someone else a surprise.

On Sep 24, Yum updated bind and samba, and suddenly my samba service stopped working. From Windows, I'd get a password prompt when I'd try to use a share, and entering the password several ways didn't help.

In my server messages.log, I saw several lines like this:

Sep 24 19:31:27 Nicaea smbd[2869]: [2009/09/24 19:31:27, 0] lib/util_sock.c:1685(get_peer_name)
Sep 24 19:31:27 Nicaea smbd[2869]: Matchname failed on Thrace ::ffff:10.0.0.3

Not terribly helpful, since Thrace is 10.0.0.3. For a while I thought this was a new IPV6 problem, but disabling IPV6 (modprobe/blacklist) didn't fix it; that just hid the message.

So I thought maybe the passwords had been reset with the samba update:

# smbpasswd quip11
New SMB password:
Retype new SMB password:
Failed to find entry for user quip11.

Huh!? No entry for my username? This is new. The samba update didn't just reset my password; it removed the user! Fortunately it's easy to add a samba user with

# smbpasswd -a quip11
New SMB password:
Retype new SMB password:
Added user quip11.

And now the samba share works again.

-Q
 
Old 09-30-2009, 08:04 PM   #2
erbngeek
LQ Newbie
 
Registered: Oct 2007
Posts: 6

Rep: Reputation: 2
Thanks for the info. Just consider this response as a means of getting rid of a 0 reply.
 
Old 03-12-2010, 10:28 PM   #3
nellson
LQ Newbie
 
Registered: Dec 2006
Location: Great NW
Distribution: Gentoo
Posts: 15

Rep: Reputation: 0
A Big Thank You! Just rebooted my Gentoo server after long overdue updates.. Samba quit working just as described. Never would have made that connection.. back up just as described after adding my user names back in.

Nick
 
  


Reply



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
How can I get the ip address of my host system dwijesh Linux - Newbie 3 04-27-2009 04:53 AM
some other host already uses address 192.168.0.2 keratos Linux - Networking 13 11-20-2008 11:46 AM
Error IP address already used by another host lngmn7 Linux - Networking 2 08-29-2005 04:41 AM
how to force ip address/host name pair sichen Linux - Networking 4 08-12-2004 10:50 AM
eth0 and host address tommytomato Linux - Newbie 2 12-03-2003 04:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:42 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration