+++ This bug was initially created as a clone of Bug #176649 +++ +++ Cloned because FC5 is affected +++ From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050922 Fedora/1.0.7-1.1.fc4 Firefox/1.0.7 Description of problem: When using smbclient in tar creating mode, like this: smbclient //server/share -A server.auth -Tc /tmp/server-share.tar there is an login failure although a command smbclient //server/share -A server.auth logs in just fine. Version-Release number of selected component (if applicable): samba-3.0.20b-2.1 How reproducible: Always Steps to Reproduce: 1. smbclient //server/share -A server.auth -Tc /tmp/server-share.tar Actual Results: session setup failed: NT_STATUS_LOGON_FAILURE Expected Results: Domain=[DOMAIN] OS=[Windows NT 4.0] Server=[NT LAN Manager 4.0] tar: dumped 5 files and directories Total bytes written: 22577664 Additional info: My configuration is an NT domain with Windows NT 4 server with latest service pack. Smbclient from vanilla version of samba-3.0.20b works just fine (compiled with ./configure --prefix=/tmp/samba-3.0.20b.root && make CFLAGS=-O0 && make install). Smbclient from Fedora Core 4 also works fine but I cannot use it because of bug #167561. -- Additional comment from tometzky.pl on 2005-12-28 11:49 EST -- When I recompiled samba rpm without samba-3.0.15pre2-bug106483.patch it worked.
I have the exact same problem since upgrading to Fc5_x86_64 from Fc4_x86. This problem did not exist for me until the upgrade. Below is example of failure: # /root/Scripts/smbTmshost /usr/bin/smbclient \\mshost\E$ -A /etc/samba/ADMINISTRATOR -Tc session setup failed: NT_STATUS_LOGON_FAILURE Yet I can execute the following script under Fc5-x86_64 that is succesful: ]# /root/Scripts/smbmshost /usr/bin/smbclient \\mshost\E$ -A /etc/samba/ADMINISTRATOR Domain=[MSHOST] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager] smb: \> The event log in MSW-2000 records the following message for the unsuccesful login: The logon to account: Administrator by: MICROSOFT_AUTHENTICATION_PACKAGE_V1_0 from workstation: SAMBASERVER failed. The error code was: 3221225578 My research has found that the error code indicates the user name is correct but the password is wrong. ##############################end of output############################# I did an ethereal trace of samba activity that I could furnish if it is desired. It did not reveal information that I could use since I do not have and IT background.
The cause of this is that tar creating option arguments of smbclient are confused with password provided in command line. This is an upstream bug. I've filed it in upstream bug tracker and I'm adding a reference to https://bugzilla.samba.org/show_bug.cgi?id=3974
Updating status as requested in https://www.redhat.com/archives/fedora-package-announce/2006-September/msg00056.html samba-3.0.23c-1.fc5 is still affected
Please just add a comment in the original bug about which distro are affected in the future. *** This bug has been marked as a duplicate of 176649 ***