enterprise-support team mailing list archive
-
enterprise-support team
-
Mailing list archive
-
Message #03402
[Bug 1318835] [NEW] regression: smbclient authfile parameter no longer works
Public bug reported:
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@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@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>
** 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/1318835
Title:
regression: smbclient authfile parameter no longer works
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1318835/+subscriptions
Follow ups
References