[Samba] can not access samba drive on Redhat ES 4

Kathy Khagani kkhagani at stec-inc.com
Thu Oct 15 10:43:34 MDT 2009


Hi,

Our samba server is running  Red Hat Enterprise Linux ES release 4 (Nahant Update 4) with samba version: samba-3.0.33-0.17.el4.  We like to authenticate all the users with our Primary Domain Controller wnidows 2008.  Some users keep getting asked to enter username and password. Even with the correct password, still can't access the drive.  The strange thing is that some users are successful.
These users all have valid accounts on windows.
In this case user "jrau" is a valid user and "JRAUXP" is the PC name from which he is accessing the samba share.

Wbinfo -u   displays his username:

STEC-INC=jrau

But not the computer name, which makes me think that might be the problem.
Also we are not using LDAP, just winbind.

Here is some my config files and error logs:

/var/log/samba/<userlog>:

[2009/10/12 07:28:56, 0] lib/util_sock.c:read_data(534)
  read_data: read failure for 4 bytes to client xxxx.xxx.xx.xx. Error = Connection reset by peer
[2009/10/12 07:28:56, 0] lib/util_sock.c:write_data(562)
  write_data: write failure in writing to client 0.0.0.0. Error Connection reset by peer
[2009/10/12 07:28:56, 0] lib/util_sock.c:send_smb(761)
  Error writing 4 bytes to client. -1. (Connection reset by peer)
[2009/10/12 07:47:19, 0] lib/util_sock.c:write_data(562)
  write_data: write failure in writing to client xxx.xx.xx.xx. Error Connection reset by peer
[2009/10/12 07:47:19, 0] lib/util_sock.c:send_smb(761)
  Error writing 4 bytes to client. -1. (Connection reset by peer)
[2009/10/12 08:37:16, 0] lib/util_sock.c:write_data(562)
  write_data: write failure in writing to client xxx.xx.xx.xx. Error Connection reset by peer
[2009/10/12 08:37:16, 0] lib/util_sock.c:send_smb(761)
  Error writing 4 bytes to client. -1. (Connection reset by peer)
[2009/10/12 12:11:02, 1] smbd/sesssetup.c:reply_spnego_kerberos(316)
  Failed to verify incoming ticket with error NT_STATUS_LOGON_FAILURE!           <-------------
[2009/10/12 12:11:02, 0] lib/util_sock.c:read_data(534)
  read_data: read failure for 4 bytes to client xxx.x.xxx.xx. Error = Connection reset by peer
[2009/10/13 10:26:30, 1] smbd/sesssetup.c:reply_spnego_kerberos(439)
  Username STEC-INC=jrau is invalid on this system
[2009/10/13 10:26:30, 0] lib/util_sock.c:write_data(562)
  write_data: write failure in writing to client xxx.xxx.xxx.xx. Error Connection reset by peer
[2009/10/13 10:26:30, 0] lib/util_sock.c:send_smb(761)
  Error writing 4 bytes to client. -1. (Connection reset by peer)
[2009/10/13 16:16:45, 0] lib/util_sock.c:read_data(534)
  read_data: read failure for 4 bytes to client xxx.xxx.xx.xx. Error = Connection reset by peer
[2009/10/13 16:16:46, 0] lib/util_sock.c:write_data(562)
  write_data: write failure in writing to client xxx.xx.xx.xx. Error Connection reset by peer
[2009/10/13 16:16:46, 0] lib/util_sock.c:send_smb(761)
  Error writing 4 bytes to client. -1. (Connection reset by peer)
[2009/10/13 16:51:19, 1] smbd/sesssetup.c:reply_spnego_kerberos(439)
  Username STEC-INC=JRAUXP$ is invalid on this system                       <--

.
Thank you for your help.
Kathy


PROPRIETARY-CONFIDENTIAL INFORMATION INCLUDED

This electronic transmission, and any documents attached hereto, may contain confidential, proprietary and/or legally privileged information. The information is intended only for use by the recipient named above. If you received this electronic message in error, please notify the sender and delete the electronic message. Any disclosure, copying, distribution, or use of the contents of information received in error is strictly prohibited, and violators will be pursued legally.


More information about the samba mailing list