Solved

PC User's Can't connect to XServe - Logins Fail

Posted on 2004-10-08
7
1,655 Views
Last Modified: 2013-11-17
We suddenly have a problem with PC Users logging in to our Xserve.  Spoke to Apple and they ID'd some entries in the log (below) which indicate a problem with SMB.  Login from Connect to Server over SMB fails.  

The server did have both ethernet ports connected to the network on the same subnet (different IP's) and seemed to work fine for three to four months.  Apple had me remove the top port connection, reboot, rebuild permissions on the startup drive to no avail.  Their next suggestion from Apple is to rebulid the server completely since there is no patch or separate installation for the SMB daemon.  

This will be a royal pain in the you know what.  Would you have any other suggestions/possibilities?

Thanks


to set socket option TCP_NODELAY (Error Connection reset by peer)
[2004/10/06 19:08:53, 0] /SourceCache/samba/samba-56/samba/source/lib/util_sock.c:get_peer_addr(968)
  getpeername failed. Error was Socket is not connected
[2004/10/06 19:08:53, 0] /SourceCache/samba/samba-56/samba/source/lib/util_sock.c:get_peer_addr(968)
  getpeername failed. Error was Socket is not connected
[2004/10/06 19:08:53, 0] /SourceCache/samba/samba-56/samba/source/lib/util_sock.c:write_socket_data(404)
  write_socket_data: write failure. Error = Broken pipe
[2004/10/06 19:08:53, 0] /SourceCache/samba/samba-56/samba/source/lib/util_sock.c:write_socket(429)
  write_socket: Error writing 4 bytes to socket 6: ERRNO = Broken pipe
[2004/10/06 19:08:53, 0] /SourceCache/samba/samba-56/samba/source/lib/util_sock.c:send_smb(621)
  Error writing 4 bytes to client. -1. (Broken pipe)
[2004/10/06 19:08:53, 0] auth_ods.c:opendirectory_smb_pwd_check_ntlmv1(266)
  opendirectory_smb_pwd_check_ntlmv1: [-14090]opendirectory_auth_user
[2004/10/06 19:08:53, 0] auth_ods.c:opendirectory_smb_pwd_check_ntlmv1(266)
  opendirectory_smb_pwd_check_ntlmv1: [-14090]opendirectory_auth_user
[2004/10/06 19:08:53, 0] auth_ods.c:opendirectory_smb_pwd_check_ntlmv1(266)
  opendirectory_smb_pwd_check_ntlmv1: [-14090]opendirectory_auth_user
[2004/10/06 19:08:54, 0] auth_ods.c:opendirectory_smb_pwd_check_ntlmv1(266)
  opendirectory_smb_pwd_check_ntlmv1: [-14090]opendirectory_auth_user
[2004/10/06 19:08:54, 0] auth_ods.c:opendirectory_smb_pwd_check_ntlmv1(266)
  opendirectory_smb_pwd_check_ntlmv1: [-14090]opendirectory_auth_user
[2004/10/06 19:23:03, 0] /SourceCache/samba/samba-56/samba/source/lib/util_sock.c:set_socket_options(160)
  Failed to set socket option TCP_NODELAY (Error Connection reset by peer)
[2004/10/06 19:23:03, 0] /SourceCache/samba/samba-56/samba/source/lib/util_sock.c:get_peer_addr(968)
  getpeername failed. Error was Socket is not connected
[2004/10/06 19:23:03, 0] /SourceCache/samba/samba-56/samba/source/lib/util_sock.c:get_peer_addr(968)
  getpeername failed. Error was Socket is not connected
[2004/10/06 19:23:03, 0] /SourceCache/samba/samba-56/samba/source/lib/util_sock.c:write_socket_data(404)
  write_socket_data: write failure. Error = Broken pipe
[2004/10/06 19:23:03, 0] /SourceCache/samba/samba-56/samba/source/lib/util_sock.c:write_socket(429)
  write_socket: Error writing 4 bytes to socket 17: ERRNO = Broken pipe
[2004/10/06 19:23:03, 0] /SourceCache/samba/samba-56/samba/source/lib/util_sock.c:send_smb(621)
  Error writing 4 bytes to client. -1. (Broken pipe)
[2004/10/06 19:23:03, 0] auth_ods.c:opendirectory_smb_pwd_check_ntlmv1(266)
  opendirectory_smb_pwd_check_ntlmv1: [-14090]opendirectory_auth_user
[2004/10/06 19:23:03, 0] auth_ods.c:opendirectory_smb_pwd_check_ntlmv1(266)
  opendirectory_smb_pwd_check_ntlmv1: [-14090]opendirectory_auth_user
[2004/10/06 19:23:03, 0] auth_ods.c:opendirectory_smb_pwd_check_ntlmv1(266)
  opendirectory_smb_pwd_check_ntlmv1: [-14090]opendirectory_auth_user
[2004/10/06 19:23:03, 0] auth_ods.c:opendirectory_smb_pwd_check_ntlmv1(266)
  opendirectory_smb_pwd_check_ntlmv1: [-14090]opendirectory_auth_user
[2004/10/06 19:23:03, 0] auth_ods.c:opendirectory_smb_pwd_check_ntlmv1(266)
  opendirectory_smb_pwd_check_ntlmv1: [-14090]opendirectory_auth_user
[2004/10/06 19:29:17, 0] auth_ods.c:opendirectory_smb_pwd_check_ntlmv1(266)
  opendirectory_smb_pwd_check_ntlmv1: [-14090]opendirectory_auth_user
[2004/10/06 19:29:17, 0] auth_ods.c:opendirectory_smb_pwd_check_ntlmv1(266)
  opendirectory_smb_pwd_check_ntlmv1: [-14090]opendirectory_auth_user
[2004/10/06 19:29:17, 0] auth_ods.c:opendirectory_smb_pwd_check_ntlmv1(266)
  opendirectory_smb_pwd_check_ntlmv1: [-14090]opendirectory_auth_user
[2004/10/06 19:29:18, 0] auth_ods.c:opendirectory_smb_pwd_check_ntlmv1(266)
  opendirectory_smb_pwd_check_ntlmv1: [-14090]opendirectory_auth_user
[2004/10/06 19:29:18, 0] auth_ods.c:opendirectory_smb_pwd_check_ntlmv1(266)
  opendirectory_smb_pwd_check_ntlmv1: [-14090]opendirectory_auth_user
[2004/10/06 19:30:31, 0] auth_ods.c:opendirectory_smb_pwd_check_ntlmv1(266)
  opendirectory_smb_pwd_check_ntlmv1: [-14090]opendirectory_auth_user
[2004/10/06 19:30:32, 0] auth_ods.c:opendirectory_smb_pwd_check_ntlmv1(266)
  opendirectory_smb_pwd_check_ntlmv1: [-14090]opendirectory_auth_user
[2004/10/06 19:30:33, 0] auth_ods.c:opendirectory_smb_pwd_check_ntlmv1(266)
  opendirectory_smb_pwd_check_ntlmv1: [-14090]opendirectory_auth_user
[2004/10/06 19:30:34, 0] auth_ods.c:opendirectory_smb_pwd_check_ntlmv1(266)
  opendirectory_smb_pwd_check_ntlmv1: [-14090]opendirectory_auth_user
[2004/10/06 19:30:34, 0] auth_ods.c:opendirectory_smb_pwd_check_ntlmv1(266)
  opendirectory_smb_pwd_check_ntlmv1: [-14090]opendirectory_auth_user
[2004/10/06 19:30:35, 0] auth_ods.c:opendirectory_smb_pwd_check_ntlmv1(266)
  opendirectory_smb_pwd_check_ntlmv1: [-14090]opendirectory_auth_user
[2004/10/06 19:30:35, 0] auth_ods.c:opendirectory_smb_pwd_check_ntlmv1(266)
  opendirectory_smb_pwd_check_ntlmv1: [-14090]opendirectory_auth_user
[2004/10/06 19:30:35, 0] auth_ods.c:opendirectory_smb_pwd_check_ntlmv1(266)
  opendirectory_smb_pwd_check_ntlmv1: [-14090]opendirectory_auth_user
[2004/10/06 19:30:36, 0] auth_ods.c:opendirectory_smb_pwd_check_ntlmv1(266)
  opendirectory_smb_pwd_check_ntlmv1: [-14090]opendirectory_auth_user
[2004/10/06 19:30:36, 0] auth_ods.c:opendirectory_smb_pwd_check_ntlmv1(266)
  opendirectory_smb_pwd_check_ntlmv1: [-14090]opendirectory_auth_user
[2004/10/06 19:30:36, 0] auth_ods.c:opendirectory_smb_pwd_check_ntlmv1(266)
  opendirectory_smb_pwd_check_ntlmv1: [-14090]opendirectory_auth_user
[2004/10/06 19:30:36, 0] auth_ods.c:opendirectory_smb_pwd_check_ntlmv1(266)
  opendirectory_smb_pwd_check_ntlmv1: [-14090]opendirectory_auth_user
[2004/10/06 19:30:37, 0] auth_ods.c:opendirectory_smb_pwd_check_ntlmv1(266)
  opendirectory_smb_pwd_check_ntlmv1: [-14090]opendirectory_auth_user
[2004/10/06 19:30:37, 0] auth_ods.c:opendirectory_smb_pwd_check_ntlmv1(266)
  opendirectory_smb_pwd_check_ntlmv1: [-14090]opendirectory_auth_user
[2004/10/06 19:30:37, 0] auth_ods.c:opendirectory_smb_pwd_check_ntlmv1(266)
  opendirectory_smb_pwd_check_ntlmv1: [-14090]opendirectory_auth_user
[2004/10/06 19:30:37, 0] auth_ods.c:opendirectory_smb_pwd_check_ntlmv1(266)
  opendirectory_smb_pwd_check_ntlmv1: [-14090]opendirectory_auth_user
[2004/10/06 19:30:37, 0] auth_ods.c:opendirectory_smb_pwd_check_ntlmv1(266)
  opendirectory_smb_pwd_check_ntlmv1: [-14090]opendirectory_auth_user
[2004/10/06 19:30:37, 0] auth_ods.c:opendirectory_smb_pwd_check_ntlmv1(266)
  opendirectory_smb_pwd_check_ntlmv1: [-14090]opendirectory_auth_user
[2004/10/06 19:30:38, 0] auth_ods.c:opendirectory_smb_pwd_check_ntlmv1(266)
  opendirectory_smb_pwd_check_ntlmv1: [-14090]opendirectory_auth_user
[2004/10/06 19:30:38, 0] auth_ods.c:opendirectory_smb_pwd_check_ntlmv1(266)
  opendirectory_smb_pwd_check_ntlmv1: [-14090]opendirectory_auth_user
[2004/10/06 19:30:38, 0] auth_ods.c:opendirectory_smb_pwd_check_ntlmv1(266)
  opendirectory_smb_pwd_check_ntlmv1: [-14090]opendirectory_auth_user
[2004/10/06 19:39:01, 0] auth_ods.c:opendirectory_smb_pwd_check_ntlmv1(266)
  opendirectory_smb_pwd_check_ntlmv1: [0]opendirectory_auth_user
[2004/10/06 19:45:01, 0] /SourceCache/samba/samba-56/samba/source/printing/pcap.c:pcap_printer_fn(333)
  No printcap file name configured!
[2004/10/06 19:45:44, 0] /SourceCache/samba/samba-56/samba/source/smbd/server.c:main(747)
  smbd version 3.0.2 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2004
[2004/10/06 19:45:45, 0] /SourceCache/samba/samba-56/samba/source/printing/pcap.c:pcap_printer_fn(333)
  No printcap file name configured!
[2004/10/06 19:46:23, 0] /SourceCache/samba/samba-56/samba/source/lib/util_sock.c:set_socket_options(160)
  Failed to set socket option TCP_NODELAY (Error Connection reset by peer)
[2004/10/06 19:46:23, 0] /SourceCache/samba/samba-56/samba/source/lib/util_sock.c:get_peer_addr(968)
  getpeername failed. Error was Socket is not connected
[2004/10/06 19:46:23, 0] /SourceCache/samba/samba-56/samba/source/lib/util_sock.c:get_peer_addr(968)
  getpeername failed. Error was Socket is not connected
[2004/10/06 19:46:23, 0] /SourceCache/samba/samba-56/samba/source/lib/util_sock.c:write_socket_data(404)
  write_socket_data: write failure. Error = Broken pipe
[2004/10/06 19:46:23, 0] /SourceCache/samba/samba-56/samba/source/lib/util_sock.c:write_socket(429)
  write_socket: Error writing 4 bytes to socket 17: ERRNO = Broken pipe
[2004/10/06 19:46:23, 0] /SourceCache/samba/samba-56/samba/source/lib/util_sock.c:send_smb(621)
  Error writing 4 bytes to client. -1. (Broken pipe)
[2004/10/06 19:46:23, 0] auth_ods.c:opendirectory_smb_pwd_check_ntlmv1(266)
  opendirectory_smb_pwd_check_ntlmv1: [0]opendirectory_auth_user
[2004/10/06 19:46:55, 0] auth_ods.c:opendirectory_smb_pwd_check_ntlmv1(266)
  opendirectory_smb_pwd_check_ntlmv1: [-14090]opendirectory_auth_user
[2004/10/06 19:46:55, 0] auth_ods.c:opendirectory_smb_pwd_check_ntlmv1(266)
  opendirectory_smb_pwd_check_ntlmv1: [-14090]opendirectory_auth_user
[2004/10/06 19:46:55, 0] auth_ods.c:opendirectory_smb_pwd_check_ntlmv1(266)
  opendirectory_smb_pwd_check_ntlmv1: [-14090]opendirectory_auth_user
[2004/10/06 19:46:55, 0] auth_ods.c:opendirectory_smb_pwd_check_ntlmv1(266)
  opendirectory_smb_pwd_check_ntlmv1: [-14090]opendirectory_auth_user
[2004/10/06 19:46:55, 0] auth_ods.c:opendirectory_smb_pwd_check_ntlmv1(266)
  opendirectory_smb_pwd_check_ntlmv1: [-14090]opendirectory_auth_user
[2004/10/06 19:47:20, 0] auth_ods.c:opendirectory_smb_pwd_check_ntlmv1(266)
  opendirectory_smb_pwd_check_ntlmv1: [-14090]opendirectory_auth_user
[2004/10/06 19:58:21, 0] /SourceCache/samba/samba-56/samba/source/smbd/server.c:main(747)
  smbd version 3.0.2 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2004
[2004/10/06 19:58:21, 0] /SourceCache/samba/samba-56/samba/source/printing/pcap.c:pcap_printer_fn(333)
  No printcap file name configured!
0
Comment
Question by:mmurray46
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 2

Expert Comment

by:Scorp888
ID: 12263061
Well, depending on the number of users, and the time you've got to play with, options:

Upgrade samba using something like fink.

Remove samba, and then add via fink.

Is samba completely broken? In which case, either of these two options can't make anything any worse.

The other thing I'd consider at this point, is to change the ip of the downed ethernet card to a private address outside the subnet.

so if eth0 is 10.1.1.1

change eth1 to 192.168.1.1

 Failed to set socket option TCP_NODELAY (Error Connection reset by peer)

This from your log, seems to indicate a timeout of somekind, perhaps samba is waiting for both cards to respond, or what can happen, is that traffic gets split between the cards.

Also when you say " Apple had me remove the top port connection,"

What commands did you run? did you remove the card, plumb it down, or something else.
0
 

Author Comment

by:mmurray46
ID: 12263239
No commands.  I shut the server down, disconnected the CATV cable from the upper ethernet port and restarted the server.  I called Apple a third time and this third technician says I need to change the host name to a FQDN and to add a reverse lookup after determining the need. Currently only Mac clients can log in through AFS - not SMB.  PC users can no longer connect at all EXCEPT ME...  Strange...
0
 
LVL 2

Expert Comment

by:Scorp888
ID: 12263267
ok, so what currently provides dns locally?

Also, I can't see why this would affect samba, unless you could connect on an ip address, and not on a fqdn, or a hostname at all, can you try that, a connection on a windows box, to the ip of the connected (lower) ethernet port's ip addresss

so if it were 192.168.1.1

it would be from the windows machine.

\\192.168.1.1\sharename

If that works and hostname doesn't then I'd say apple were right, it not, then it's a red herring.
0
Don't miss ATEN at NAB Show April 24-27!

Visit ATEN at NAB Show to learn how our "Seamlessly Entertaining" solutions deliver fast, precise video streaming without delays for the broadcasting and media environment. ATEN will showcase its 16x16 Modular Matrix Switch (VM1600) and KVM Over IP Solution (KE6900 series).

 

Author Comment

by:mmurray46
ID: 12263359
DNS is provided by a local Win2k Server.

I just tried \\192.168.118.xx\sharename from an XP machine and got an authentication request.  It returns a Network path not  found error.
0
 
LVL 2

Accepted Solution

by:
Scorp888 earned 250 total points
ID: 12263364
Is that more than you get with hostname?

Is it a valid share?
0
 

Author Comment

by:mmurray46
ID: 12263929
I'm going to accept - the problem has been solved by a consultant friend.  It was (of all the stupid things) a password issue.  The passwords need to match between Win domain user accounts and XServe user accounts.  If not - lo login...

Hope that makes some sense...
0
 
LVL 2

Expert Comment

by:Scorp888
ID: 12268417
It does.


I didn't realise that this was never working, sorry.

I'd assumed you'd had it working, and then it had stopped when you added the second network confirg into the mix.

Glad you got it working!
0

Featured Post

Save the day with this special offer from ATEN!

Save 30% on the CV211 using promo code EXPERTS30 now through April 30th. The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Trident and Apple iOS upgrade 2 97
Reinstall Mac OSx 13 55
How can I disable my MacBook cd dvd drive? 9 79
has anyone used Parallels Desktop 12 for Mac? is it working? 14 110
Information security is a multi-billion dollar industry. Just as lucrative is the black market industry which trades stolen identities, credit card numbers and software exploits all over the world. Nothing is hack-proof. The best one can do is make …
How can this article save you time AND money?  In just a few minutes you may discover something you didn't know existed that is easy enough for you to fix yourself!

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question