Solved

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

Posted on 2004-10-08
7
1,654 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
  • 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
How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

 

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

Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

Question has a verified solution.

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

There is a security feature on iOS devices that is nearly impenetrable when it has been activated.  This article will provide some possible solutions as well as necessary steps to take to ensure you do not end up with a locked device.
Set up iPhone and iPad email signatures to always send in high-quality HTML with this step-by step guide.

837 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