notes:

Not working

 

[2018/11/05 13:21:07.850805,  3] ../source3/auth/auth.c:178(auth_check_ntlm_password)
  check_ntlm_password:  Checking password for unmapped user [PrintServer]\[]@[OFFICE-PRINTER] with the new password interface
[2018/11/05 13:21:07.850836,  3] ../source3/auth/auth.c:181(auth_check_ntlm_password)
  check_ntlm_password:  mapped user is: [ANKH-MORPORK]\[]@[OFFICE-PRINTER]
[2018/11/05 13:21:07.850854,  3] ../source3/auth/auth.c:249(auth_check_ntlm_password)
  check_ntlm_password: guest authentication for user [] succeeded

Working



[2018/11/05 13:30:28.262261,  3] ../source4/auth/ntlm/auth.c:271(auth_check_password_send)
  auth_check_password_send: Checking password for unmapped user [PrintServer]\[]@[OFFICE-PRINTER]
  auth_check_password_send: mapped user is: [DISCWORLD]\[]@[OFFICE-PRINTER]
[2018/11/05 13:30:28.265068,  3] ../source3/smbd/process.c:1958(process_smb)
  Transaction 3 of length 98 (0 toread)
[2018/11/05 13:30:28.265112,  3] ../source3/smbd/process.c:1538(switch_message)
  switch message SMBtconX (pid 9991) conn 0x0
[2018/11/05 13:30:28.265266,  3] ../lib/util/access.c:361(allow_access)
  Allowed connection from 192.168.88.69 (192.168.88.69)


Changed username



[2018/11/05 13:30:28.293027,  3] ../auth/ntlmssp/ntlmssp_server.c:452(ntlmssp_server_preauth)
  Got user=[DISCWORLD\Office-Printer] domain=[PrintServer] workstation=[OFFICE-PRINTER] len1=24 len2=24
[2018/11/05 13:30:28.293094,  3] ../source4/auth/ntlm/auth.c:271(auth_check_password_send)
  auth_check_password_send: Checking password for unmapped user [PrintServer]\[DISCWORLD\Office-Printer]@[OFFICE-PRINTER]
  auth_check_password_send: mapped user is: [DISCWORLD]\[DISCWORLD\Office-Printer]@[OFFICE-PRINTER]
[2018/11/05 13:30:28.293503,  3] ../source4/auth/ntlm/auth_sam.c:63(authsam_search_account)
  sam_search_user: Couldn't find user [DISCWORLD\Office-Printer] in samdb, under DC=discworld,DC=qsplace,DC=co,DC=uk
[2018/11/05 13:30:28.293543,  2] ../source4/auth/ntlm/auth.c:430(auth_check_password_recv)
  auth_check_password_recv: sam_ignoredomain authentication for user [DISCWORLD\DISCWORLD\Office-Printer] FAILED with error NT_STATUS_NO_SUCH_USER

Edit /etc/samba/smb.conf

   winbind use default domain = yes
   map untrusted to domain = Yes

Working

[2018/11/05 13:46:10.072824,  3] ../source3/auth/auth.c:178(auth_check_ntlm_password)
  check_ntlm_password:  Checking password for unmapped user [PrintServer]\[]@[OFFICE-PRINTER] with the new password interface
[2018/11/05 13:46:10.072859,  3] ../source3/auth/auth.c:181(auth_check_ntlm_password)
  check_ntlm_password:  mapped user is: [DISCWORLD]\[]@[OFFICE-PRINTER]
[2018/11/05 13:46:10.072879,  3] ../source3/auth/auth.c:249(auth_check_ntlm_password)
  check_ntlm_password: guest authentication for user [] succeeded

Following a firmware uodate I found "Workgroup option"



Fixed!

[2018/11/05 13:53:20.786523, 3] ../source3/auth/auth.c:178(auth_check_ntlm_password)
check_ntlm_password: Checking password for unmapped user [DISCWORLD]\[]@[OFFICE-PRINTER] with the new password interface
[2018/11/05 13:53:20.786559, 3] ../source3/auth/auth.c:181(auth_check_ntlm_password)
check_ntlm_password: mapped user is: [DISCWORLD]\[]@[OFFICE-PRINTER]
[2018/11/05 13:53:20.786580, 3] ../source3/auth/auth.c:249(auth_check_ntlm_password)
check_ntlm_password: guest authentication for user [] succeeded

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.