← Back to team overview

enterprise-support team mailing list archive

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

 

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/Client Support Team, which is subscribed to samba in Ubuntu.
Matching subscriptions: Ubuntu Server/Client Support Team
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


Follow ups

References