[Samba] kodi cant access samba shares

Rowland Penny rpenny at samba.org
Wed Oct 12 14:25:57 UTC 2016


On Wed, 12 Oct 2016 07:40:59 -0600
jacek burghardt via samba <samba at lists.samba.org> wrote:

> I have samba joined to domain an all ad users can access shares from
> windows clients .   I created ad user for kodi and have
> Domain;username:password and shares are not accessible to kodi. What
> I am missing.
> check_ntlm_password:  Checking password for unmapped user
> [WORKGROUP]\[firetv]@[LOCALHOST] with the new password interface
> [2016/10/12 06:55:40.254367,  3]
> ../source3/auth/auth.c:181(auth_check_ntlm_password)
>   check_ntlm_password:  mapped user is: [HEBE]\[firetv]@[LOCALHOST]
> [2016/10/12 06:55:40.255567,  2]
> ../source3/auth/auth.c:315(auth_check_ntlm_password)
>   check_ntlm_password:  Authentication for user [firetv] -> [firetv]
> FAILED with error NT_STATUS_NO_SUCH_USER
> [2016/10/12 06:55:40.255607,  2]
> ../auth/gensec/spnego.c:716(gensec_spnego_server_negTokenTarg)
>   SPNEGO login failed: NT_STATUS_NO_SUCH_USER
> [2016/10/12 06:55:40.255662,  3]
> ../source3/smbd/error.c:82(error_packet_set)
>   NT error packet at ../source3/smbd/sesssetup.c(277) cmd=115
> (SMBsesssetupX) NT_STATUS_LOGON_FAILURE
> [2016/10/12 06:55:40.256803,
> 3] ../source3/smbd/process.c:1957(process_smb) Transaction 3 of
> length 92 (0 toread) [2016/10/12 06:55:40.256842,  3]
> ../source3/smbd/process.c:1538(switch_message)
>   switch message SMBsesssetupX (pid 3618) conn 0x0

The user may exist in AD, but does the user exist to Unix ?
If you run 'getent passwd <username>', do you get any output ?

Also, ntlm_auth is turned off by default in Samba 4.5.0, I don't know
if this is the version you are using, you have never said.

Rowland



More information about the samba mailing list