Solved

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

Posted on 2004-10-08
7
1,651 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 

Author Comment

by:mmurray46
Comment Utility
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
Comment Utility
Is that more than you get with hostname?

Is it a valid share?
0
 

Author Comment

by:mmurray46
Comment Utility
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
Comment Utility
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Smartwatches: just a fashion accessory or a useful device for all? The Apple Watch (http://www.apple.com/watch/) was launched in April of 2015 and has become a new way for iPhone users to stay connected. Ranging from $349 to $17,000, the Apple Watch…
In this article we will discuss some EI Capitan Mail app issues and provide some manual process to resolve them.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

743 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now