Kathy Khagani
2009-Oct-15 00:02 UTC
[Samba] cli_session_setup: NT1 session setup failed: NT_STATUS_LOGON_FAILURE
MY OS is: Red Hat Enterprise Linux ES release 4 (Nahant Update 8) Samba version: samba-3.0.25b-0.4E.6 I'm map a share drive and I get asked for user name and password. Right now I'm just trouble shooting the samba part. "smb" service is running and "winbind" server is running too. The /var/log/samba/xxxx log file has the following in it: libads/authdata.c:pac_io_pac_info_hdr_ctr(569) unknown PAC type 12 [2009/10/14 16:51:05, 3] smbd/sesssetup.c:reply_spnego_kerberos(321) Ticket name is [KKHAGANIXP$@STEC-INC.AD] [2009/10/14 16:51:05, 1] smbd/sesssetup.c:reply_spnego_kerberos(439) Username STEC-INC=KKHAGANIXP$ is invalid on this system [2009/10/14 16:51:05, 3] smbd/error.c:error_packet_set(106) error packet at smbd/sesssetup.c(444) cmd=115 (SMBsesssetupX) NT_STATUS_LOGON_FAILURE [2009/10/14 16:51:05, 3] smbd/process.c:process_smb(1068) Transaction 3 of length 1854 [2009/10/14 16:51:05, 3] smbd/process.c:switch_message(926) switch message SMBsesssetupX (pid 31213) conn 0x0 [2009/10/14 16:51:05, 3] smbd/sec_ctx.c:set_sec_ctx(241) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2009/10/14 16:51:05, 3] smbd/sesssetup.c:reply_sesssetup_and_X(1244) wct=12 flg2=0xc807 [2009/10/14 16:51:05, 2] smbd/sesssetup.c:setup_new_vc_session(1200) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2009/10/14 16:51:05, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(1029) Doing spnego session setup [2009/10/14 16:51:05, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(1060) NativeOS=[Windows 2002 Service Pack 3 2600] NativeLanMan=[Windows 2002 5.1] PrimaryDomain=[] [2009/10/14 16:51:05, 3] smbd/sesssetup.c:reply_spnego_negotiate(697) reply_spnego_negotiate: Got secblob of size 1623 [2009/10/14 16:51:05, 3] libads/authdata.c:pac_io_pac_info_hdr_ctr(569) unknown PAC type 12 [2009/10/14 16:51:05, 3] smbd/sesssetup.c:reply_spnego_kerberos(321) Ticket name is [kkhagani at STEC-INC.AD] [2009/10/14 16:51:05, 1] smbd/sesssetup.c:reply_spnego_kerberos(439) Username STEC-INC=kkhagani is invalid on this system [2009/10/14 16:51:05, 3] smbd/error.c:error_packet_set(106) error packet at smbd/sesssetup.c(444) cmd=115 (SMBsesssetupX) NT_STATUS_LOGON_FAILURE [2009/10/14 16:51:05, 3] smbd/process.c:timeout_processing(1328) timeout_processing: End of file from client (client has disconnected). [2009/10/14 16:51:05, 3] smbd/sec_ctx.c:set_sec_ctx(241) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2009/10/14 16:51:05, 3] smbd/connection.c:yield_connection(69) Yielding connection to [2009/10/14 16:51:05, 3] smbd/server.c:exit_server_common(768) Server exit (normal exit) [2009/10/14 16:51:06, 0] lib/util_sock.c:write_data(562) write_data: write failure in writing to client xxx.xxx.xxx.xxx. Error Connection reset by peer [2009/10/14 16:51:06, 0] lib/util_sock.c:send_smb(769) Error writing 4 bytes to client. -1. (Connection reset by peer) [2009/10/14 16:51:06, 3] smbd/sec_ctx.c:set_sec_ctx(241) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2009/10/14 16:51:06, 3] smbd/connection.c:yield_connection(69) Yielding connection to [2009/10/14 16:51:06, 3] smbd/connection.c:yield_connection(76) yield_connection: tdb_delete for name failed with error Record does not exist. [2009/10/14 16:51:06, 3] smbd/server.c:exit_server_common(768) Server exit (process_smb: send_smb failed.) [2009/10/14 16:51:06, 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/14 16:51:06, 0] lib/util_sock.c:send_smb(769) Error writing 4 bytes to client. -1. (Connection reset by peer) [2009/10/14 16:51:06, 3] smbd/sec_ctx.c:set_sec_ctx(241) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2009/10/14 16:51:06, 3] smbd/connection.c:yield_connection(69) Yielding connection to [2009/10/14 16:51:06, 3] smbd/connection.c:yield_connection(76) yield_connection: tdb_delete for name failed with error Record does not exist. [2009/10/14 16:51:06, 3] smbd/server.c:exit_server_common(768) Server exit (process_smb: send_smb failed.) Also the following command results: #smbclient -d 4 -U kkhagani -W STEC-INC -L ldaptest Connecting to xxx.xxx.xx.xxx at port 445 session request ok Password: cli_session_setup: NT1 session setup failed: NT_STATUS_LOGON_FAILURE session setup failed: NT_STATUS_LOGON_FAILURE Any information and suggestion is greatly appreciated. Regards, 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.
simo
2009-Oct-15 00:34 UTC
[Samba] cli_session_setup: NT1 session setup failed: NT_STATUS_LOGON_FAILURE
On Wed, 2009-10-14 at 17:02 -0700, Kathy Khagani wrote:> MY OS is: > > Red Hat Enterprise Linux ES release 4 (Nahant Update 8) > > Samba version: > > samba-3.0.25b-0.4E.6As far as I know RHEL 4.8 has samba 3.0.33, this package is from RHEL 4.6, are you sure your ssytem was properly updated ? Simo. -- Simo Sorce Samba Team GPL Compliance Officer <simo at samba.org> Principal Software Engineer at Red Hat, Inc. <simo at redhat.com>