This one is a little weird, and a little obscure. I couldn't find this posted previously, so I'm sorry if it's a duplicate. Anyways, I'm trying to access a share on a WinXP Pro machine via smbclient. If I have '!!' as part of my user password, it always fails to connect. I have a WinNT4 domain set up, but neither the XP Pro client nor the Samba client should be using it, as I'm using all local users. I don't think that part matters. The weird part is, if I change the 'workgroup =' line in smb.conf on the Linux box running smbclient to something other than the workgroup that the XP machine is on, it works fine. Not working: root@debian:~# smbclient -V Version 3.0.14a-Debian root@debian:~# grep workgroup /etc/samba/smb.conf workgroup = NT4DOM root@debian:~# smbclient -U 'justin%a!!a' "//xppro/justin" session setup failed: NT_STATUS_LOGON_FAILURE Working: root@debian:~# smbclient -V Version 3.0.14a-Debian root@debian:~# grep workgroup /etc/samba/smb.conf workgroup = WORKGROUP root@debian:~# smbclient -U 'justin%a!!a' "//xppro/justin" Domain=[NT4DOM] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager] smb: \> quit Without the !'s in the password, it works fine in either case.
Has anyone taken a look at this yet?
FYI, the problem still exists in 3.0.21c.
Just tried with latest trunk, works for me. I think you don't have a problem with the !! in the password, you need to make sure the XP machine tries the right account. Please try to use '-W xppro' as an argument to smbclient to force xp to use its local account. Otherwise it defaults to the domain account which probably has a different password. Volker