Date: Sun, 4 Mar 2007 02:41:18 +0100 (CET) From: lkoeller@FreeBSD.org To: FreeBSD-gnats-submit@FreeBSD.org Cc: lars@koellers.net Subject: bin/109827: mount_smbfs didn't handle password authentication corrent Message-ID: <200703040141.l241fIe1029620@door.koellers.net> Resent-Message-ID: <200703040200.l2420CxI099901@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 109827 >Category: bin >Synopsis: mount_smbfs didn't handle password authentication corrent >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Mar 04 02:00:12 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Lars Köller >Release: FreeBSD 6.2-RELEASE i386 >Organization: Computing Center, University of Bielefeld, Germany >Environment: System: FreeBSD door.koellers.net 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Sat Jan 13 13:02:29 CET 2007 root@door.koellers.net:/backup/obj/usr/src/sys/DOOR i386 >Description: I try to mount a CIFS share from a samba server (mips little endian based linux wireles router). Access with smbclient and kde konqueror smb://server/share succeeded after password and username is requested. smbd logs: [2007/03/04 01:43:15, 4] source/lib/substitute.c:automount_server(183) Home server: funk [2007/03/04 01:43:15, 4] source/smbd/password.c:smb_password_ok(475) smb_password_ok: Checking SMB password for user lkoeller [2007/03/04 01:43:15, 5] source/smbd/password.c:smb_password_ok(489) smb_password_ok: challenge received [2007/03/04 01:43:15, 4] source/smbd/password.c:smb_password_ok(499) smb_password_ok: Checking NT MD4 password [2007/03/04 01:43:15, 4] source/smbd/password.c:smb_password_ok(504) smb_password_ok: NT MD4 password check failed [2007/03/04 01:43:15, 4] source/smbd/password.c:smb_password_ok(518) smb_password_ok: Checking LM password [2007/03/04 01:43:15, 4] source/smbd/password.c:smb_password_ok(520) smb_password_ok: LM password check succeeded [2007/03/04 01:43:15, 3] source/smbd/password.c:authorise_login(791) authorise_login: ACCEPTED: session list username (lkoeller) and given password ok When I try to mount with mount_smbfs -I funk.koellers.net -W MUSIC -u lkoeller //lkoeller@funk/multimedia /smb_funk the samba server shows tha the validation of the password failed. The same smbd log part as above: [2007/03/04 01:50:03, 4] source/lib/substitute.c:automount_server(183) Home server: funk [2007/03/04 01:50:03, 4] source/smbd/password.c:smb_password_ok(475) smb_password_ok: Checking SMB password for user lkoeller [2007/03/04 01:50:03, 5] source/smbd/password.c:smb_password_ok(489) smb_password_ok: challenge received [2007/03/04 01:50:03, 4] source/smbd/password.c:smb_password_ok(499) smb_password_ok: Checking NT MD4 password [2007/03/04 01:50:03, 4] source/smbd/password.c:smb_password_ok(504) smb_password_ok: NT MD4 password check failed [2007/03/04 01:50:03, 4] source/smbd/password.c:smb_password_ok(518) smb_password_ok: Checking LM password [2007/03/04 01:50:03, 4] source/smbd/password.c:smb_password_ok(523) smb_password_ok: LM password check failed [2007/03/04 01:50:03, 2] source/smbd/password.c:pass_check_smb(575) pass_check_smb failed - invalid password for user [lkoeller] [2007/03/04 01:50:03, 3] source/smbd/password.c:authorise_login(855) authorise_login: ACCEPTED: guest account and guest ok (samba) The mount_smbfs command succeeds, when using it between two FreeBSD servers!!! Perhaps a big/littele endian issue problem when submitting the password to the samba server? >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703040141.l241fIe1029620>