[Bug 1389920] [NEW] The domain option in credentials files isn't working with smbclient

Karl M. Davis 1389920 at bugs.launchpad.net
Thu Nov 6 01:23:02 UTC 2014


Public bug reported:

It seems that smbclient isn't properly parsing domains out of
credentials files:

$ sudo cat /etc/auto.cifs.mycreds
username=myuser
password=SuperSecret
domain=LAB9320
$ sudo smbclient -A /etc/auto.cifs.mycreds //foo.example.com/MyShare
session setup failed: NT_STATUS_LOGON_FAILURE


But if I specify the domain (again) via the command line options, it works:

$ sudo smbclient -A /etc/auto.cifs.mycreds -W LAB9320 //foo.example.com/MyShare
Domain=[LAB9320] OS=[Windows Server 2012 Standard 9200] Server=[Windows Server 2012 Standard 6.2]
smb: \>

** Affects: samba (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1389920

Title:
  The domain option in credentials files isn't working with smbclient

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1389920/+subscriptions



More information about the Ubuntu-server-bugs mailing list