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

Bug #1389920 reported by Karl M. Davis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
New
Undecided
Unassigned

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

Revision history for this message
Karl M. Davis (karlmdavis) wrote :

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

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

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.