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

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!
mmurray46Asked:
Who is Participating?
 
Scorp888Connect With a Mentor Commented:
Is that more than you get with hostname?

Is it a valid share?
0
 
Scorp888Commented:
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
 
mmurray46Author Commented:
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
Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

 
Scorp888Commented:
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
 
mmurray46Author Commented:
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
 
mmurray46Author Commented:
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
 
Scorp888Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.