FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 06-20-2008, 06:32 PM
"Dr. Michael J. Chudobiak"
 
Default samba F9 problem - matchname: host name/address mismatch

A Windows 98 machine of mine can not access samba shares after the samba
server was upgraded to F9. It worked OK before the upgrade.


The samba logs say:

[2008/06/20 13:45:23, 0] lib/util_sock.c:matchname(1670)
matchname: host name/address mismatch: ::ffff:192.168.0.93 !=
engraver.domain.avtechpulse.com
[2008/06/20 13:45:23, 0] lib/util_sock.c:get_peer_name(1791)
Matchname failed on engraver.domain.avtechpulse.com ::ffff:192.168.0.93

The "::ffff:" may be the source of confusion. The DNS should be OK:

[root@server2 samba]# ping engraver
PING engraver.domain.avtechpulse.com (192.168.0.93) 56(84) bytes of data.

Similar issues reported here:
http://forums.fedoraforum.org/forum/showthread.php?t=192091
http://forums.fedoraforum.org/forum/showthread.php?t=192136


Any suggestions?


- Mike

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 06-20-2008, 06:52 PM
Craig White
 
Default samba F9 problem - matchname: host name/address mismatch

On Fri, 2008-06-20 at 14:32 -0400, Dr. Michael J. Chudobiak wrote:
> A Windows 98 machine of mine can not access samba shares after the samba
> server was upgraded to F9. It worked OK before the upgrade.
>
> The samba logs say:
>
> [2008/06/20 13:45:23, 0] lib/util_sock.c:matchname(1670)
> matchname: host name/address mismatch: ::ffff:192.168.0.93 !=
> engraver.domain.avtechpulse.com
> [2008/06/20 13:45:23, 0] lib/util_sock.c:get_peer_name(1791)
> Matchname failed on engraver.domain.avtechpulse.com ::ffff:192.168.0.93
>
> The "::ffff:" may be the source of confusion. The DNS should be OK:
>
> [root@server2 samba]# ping engraver
> PING engraver.domain.avtechpulse.com (192.168.0.93) 56(84) bytes of data.
>
> Similar issues reported here:
> http://forums.fedoraforum.org/forum/showthread.php?t=192091
> http://forums.fedoraforum.org/forum/showthread.php?t=192136
>
>
> Any suggestions?
----
well ::ffff:192.168.0.93 is just an ipv6 representation of the ipv4
address 192.168.0.93 so I wouldn't think this matters but you could test
that by turning off ipv6 on the Fedora 9 system (there's no way to turn
on ipv6 on a Win98 system that I know of).

I wouldn't know about the DNS...do you run your own DNS servers? Are you
serving DNS for ipv6?

do you have restrictions in smb.conf that any of this would matter? i.e.
do you have 'hosts allow' or 'bind interfaces' type statements in
smb.conf?

Craig



--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 06-23-2008, 06:06 PM
"Dr. Michael J. Chudobiak"
 
Default samba F9 problem - matchname: host name/address mismatch

Craig White wrote:

On Fri, 2008-06-20 at 14:32 -0400, Dr. Michael J. Chudobiak wrote:
A Windows 98 machine of mine can not access samba shares after the samba
server was upgraded to F9. It worked OK before the upgrade.


The samba logs say:

[2008/06/20 13:45:23, 0] lib/util_sock.c:matchname(1670)
matchname: host name/address mismatch: ::ffff:192.168.0.93 !=
engraver.domain.avtechpulse.com
[2008/06/20 13:45:23, 0] lib/util_sock.c:get_peer_name(1791)
Matchname failed on engraver.domain.avtechpulse.com ::ffff:192.168.0.93

The "::ffff:" may be the source of confusion. The DNS should be OK:


do you have restrictions in smb.conf that any of this would matter? i.e.
do you have 'hosts allow' or 'bind interfaces' type statements in
smb.conf?


Well, I removed the "hosts allow" statement. I no longer get these error
messages - I get silent failures now. That is, the W98 box can not use
any of the shares. It gives authentication errors and requests passwords
for IPC$.


It works fine for Windows 2000 clients.

There's nothing useful in the samba logs... so I'm not sure where the
problem is.


- Mike

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 06-23-2008, 06:34 PM
Craig White
 
Default samba F9 problem - matchname: host name/address mismatch

On Mon, 2008-06-23 at 14:06 -0400, Dr. Michael J. Chudobiak wrote:
> Craig White wrote:
> > On Fri, 2008-06-20 at 14:32 -0400, Dr. Michael J. Chudobiak wrote:
> >> A Windows 98 machine of mine can not access samba shares after the samba
> >> server was upgraded to F9. It worked OK before the upgrade.
> >>
> >> The samba logs say:
> >>
> >> [2008/06/20 13:45:23, 0] lib/util_sock.c:matchname(1670)
> >> matchname: host name/address mismatch: ::ffff:192.168.0.93 !=
> >> engraver.domain.avtechpulse.com
> >> [2008/06/20 13:45:23, 0] lib/util_sock.c:get_peer_name(1791)
> >> Matchname failed on engraver.domain.avtechpulse.com ::ffff:192.168.0.93
> >>
> >> The "::ffff:" may be the source of confusion. The DNS should be OK:
> >
> > do you have restrictions in smb.conf that any of this would matter? i.e.
> > do you have 'hosts allow' or 'bind interfaces' type statements in
> > smb.conf?
>
> Well, I removed the "hosts allow" statement. I no longer get these error
> messages - I get silent failures now. That is, the W98 box can not use
> any of the shares. It gives authentication errors and requests passwords
> for IPC$.
>
> It works fine for Windows 2000 clients.
>
> There's nothing useful in the samba logs... so I'm not sure where the
> problem is.
----
I suppose that you could up the log level of samba to get more useful
logs but then you'd have to go through the logs to figure it out.

I know nothing about your smb.conf to be of much use to you here and
merely responded to the little glimpse of errors that you sharing with
us (which I don't think are actually the issue).

I suppose that you could go to windows 98 command line and try to
authenticate manually...

something like...

net use f: SERVER_NAMESHARE_NAME user:$USER_NAME

but it's been a long time since I used Windows 98 so you better check
the format of the command via 'net use /?'

Craig

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 06-23-2008, 06:39 PM
"Dr. Michael J. Chudobiak"
 
Default samba F9 problem - matchname: host name/address mismatch

Craig White wrote:

I suppose that you could up the log level of samba to get more useful
logs but then you'd have to go through the logs to figure it out.


Did that, and ... drum roll ... found the problem!

Current samba releases disable lanman authentication by default. And
they quietly delete the old lanman hashes from the user database. A
double whammy:


http://lists.samba.org/archive/samba-technical/2007-September/055549.html

I had to add:

lanman auth = yes
client plaintext auth = yes # not sure if this is needed
client lanman auth = yes

AND reset the W98 user's password in Samba.

Thanks for your suggestions, Craig!


- Mike

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 

Thread Tools




All times are GMT. The time now is 12:51 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org