On Sat, Feb 6, 2016 at 4:41 PM, Doug Smythies <[email protected]> wrote: > On 2016.02.06 Tom H wrote: >> On Sat, Feb 6, 2016 at 1:17 AM, Doug Smythies <[email protected]> wrote:
>>> I have been attempting to make samba work on an Ubuntu amd64 server 16.04 I >>> am building. >>> My windows user account name is "Doug". My Ubuntu user account name is >>> "doug". This appears to be the root issue. >>> >>> On my 14.04 server: >>> check_ntlm_password: authentication for user [Doug] -> [Doug] -> [doug] >>> succeeded >>> >>> On my 16.04 server: >>> check_ntlm_password: sam authentication for user [Doug] FAILED with error >>> NT_STATUS_NO_SUCH_USER >>> check_ntlm_password: Authentication for user [Doug] -> [Doug] FAILED with >>> error NT_STATUS_NO_SUCH_USER >> >> Can you logon as "doug" from a Linux box? > > I can login as "doug" locally and from other boxes via ssh or whatever. > If you mean via samba from a different Linux box, then I have never done that. Yes to the latter. Can you list the shares with: smbclient -L //smb_srv-ip_address -U doug Can you log into doug's home share with: smbclient //smb_srv-ip_address/doug -U doug >> Did you create machine accounts? > > Just me, so far. The account "doug" was created during installation. > And that is the same as my 14.04 test server. > I have never used the samba username name stuff, and not needing > to is the whole point of the way I configure samba. AFAIK, you need machine accounts when you set "domain logons = yes" because the samba server acts as a DC; and you have both "domain logons = yes" and the "server role = classic primary domain controller" set. What's the output of "pdbedit -L" on 14.04 and 16.04? Are machine accounts (ending with "$") listed? You have "add machine script = ..." in your smb.conf to create a unix machine account automatically if it already has a samba machine account so you must (?) have some. -- ubuntu-server mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
