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

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


Whoops, forgot to mention: this is on Ubuntu 14.04.

$ apt-cache show cifs-utils | grep Version
Version: 2:6.0-1ubuntu2

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, 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

Status in “samba” package in Ubuntu:
  New

Bug description:
  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: \>

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



More information about the foundations-bugs mailing list