Bug 1498910

Summary: owncloud external storage smb auth does not work
Product: [Fedora] Fedora EPEL Reporter: lejeczek <peljasz>
Component: owncloudAssignee: James Hogarth <james.hogarth>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: epel7CC: awilliam, james.hogarth
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description lejeczek 2017-10-05 14:21:29 UTC
Description of problem:

No matter what I put in SMB/CIFS configuration storage always fails, and on the samba side of logs I see:

..
[2017/10/05 15:07:32.661727,  1] ../source3/smbd/service.c:502(make_connection_snum)
  create_connection_session_info failed: NT_STATUS_ACCESS_DENIED
[2017/10/05 15:08:50.528245,  2] ../source3/smbd/service.c:319(create_connection_session_info)
  guest user (from session setup) not permitted to access this share (my.Priv.Docs)
[2017/10/05 15:08:50.528306,  1] ../source3/smbd/service.c:502(make_connection_snum)
  create_connection_session_info failed: NT_STATUS_ACCESS_DENIED

..
making blobs for 's user_info struct
[2017/10/05 15:07:09.632710,  3] ../source3/auth/auth.c:178(auth_check_ntlm_password)
  check_ntlm_password:  Checking password for unmapped user []\[]@[] with the new password interface
[2017/10/05 15:07:09.632738,  3] ../source3/auth/auth.c:181(auth_check_ntlm_password)
  check_ntlm_password:  mapped user is: [TEC]\[]@[]
[2017/10/05 15:07:09.632789,  3] ../source3/auth/auth.c:249(auth_check_ntlm_password)
  check_ntlm_password: guest authentication for user [] succeeded
[2017/10/05 15:07:09.632818,  5] ../source3/auth/auth.c:305(auth_check_ntlm_password)
  check_ntlm_password:  guest authentication for user [] -> [] -> [nobody] succeeded


Version-Release number of selected component (if applicable):

owncloud-9.1.5-1.el7.noarch
php-smbclient-0.9.0-1.el7.x86_64
samba-4.6.2-11.el7_4.x86_64

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info: