Works with manuel check, not using service

I can test it fine (manuel check) and get OK result for share, but when I create a service and with same details in check it fails.

CRITICAL SMB Sharename: xml session setup failed: NT_STATUS_LOGON_FAILURE