[Bug 1318835] Re: regression: smbclient authfile parameter no longer works

Robie Basak 1318835 at bugs.launchpad.net
Tue May 13 03:26:31 UTC 2014


** Changed in: samba (Ubuntu)
   Importance: Undecided => Medium

-- 
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/1318835

Title:
  regression: smbclient authfile parameter no longer works

Status in “samba” package in Ubuntu:
  New

Bug description:
  I was using smbclient as part of my autofs setup to enumerate remote
  shares. This worked fine on a previous release of Ubuntu 13.10,
  however when I upgraded to 14.04, my shares no longer got enumerated.

  When I debugged further, I was getting logon errors. As a workground,
  it was suggested I modify the smb.conf file and change the workgroup
  setting there. This appeared to work, but doesn't make sense to me. I
  shouldn't need to change smb.conf (used for smbd server) for client
  usage. I would expect the "authfile" passed to -A to be used for
  authentication purposes.

  Before smb.conf change:
  user at workstation:/$ sudo /usr/bin/smbclient -A /etc/auto.credentials -gL <server>
  session setup failed: NT_STATUS_LOGON_FAILURE

  After modifying smb.conf (changed workgroup parameter to my domain name):
  user at workstation:/$ sudo /usr/bin/smbclient -A /etc/auto.credentials -gL <server>
  Domain=[mydomain] OS=[Windows Server 2012 R2 Standard 9600] Server=[Windows Server 2012 R2 Standard 6.3]
  Disk|mysharename|
  <snipped list fo sharenames>
  Domain=[mydomain] OS=[Windows Server 2012 R2 Standard 9600] Server=[Windows Server 2012 R2 Standard 6.3]

  My auto.credentials file is like so (as documented in smbclient manpage).
  username=<username>
  password=<password>
  domain=<domain/workgroup>

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



More information about the foundations-bugs mailing list