Solved

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

Posted on 2004-10-08
7
1,652 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
Free camera licenses with purchase of My Cloud NAS

Milestone Arcus software is compatible with thousands of industry-leading cameras for added flexibility. Upon installation on your My Cloud NAS, you will receive two (2) camera licenses already enabled in the software. And for a limited time, get additional camera licenses FREE.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Browsing webpage problem on Mac 6 65
Mac OS X 10.7.5 Login Loop 17 88
Mac OS: Need a magnifying glass as an icon 7 63
Charging Macbook Pro 8 22
Create a default user profile for Mac OS X 10.7/10.8 Create a user account on OS X that will be a template for every other user of that computer. I usually call it “profile” and make it an administrator account for the time being. 1. Install a…
Thanks to luck and dedication (hitting refresh every 5 seconds when the pre-orders were going live at midnight on April 10th) I managed to actually receive an Apple Watch on release day, April 24th. Which means I’ve been using it daily for just ov…
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.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

914 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

14 Experts available now in Live!

Get 1:1 Help Now