Anonymous | Login | 2024-12-22 04:44 MST |
Main | My View | View Issues | Change Log | Roadmap | Repositories |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0001513 | ClearOS | app-flexshare - Flexshares | public | 2014-01-13 14:30 | 2019-06-07 03:18 | ||||
Reporter | dloper | ||||||||
Assigned To | NickH | ||||||||
Priority | low | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | suspended | ||||||
Platform | OS | OS Version | |||||||
Product Version | 6.5.0 | ||||||||
Target Version | 6.5.0 | Fixed in Version | |||||||
Summary | 0001513: Group names with spaces fail authentication mechanism for CIFS-based flexshares. | ||||||||
Description | When setting up a flexshare, groups that have spaces in the group name will fail to authenticate using the File mechanism (Samba/CIFS) in app-flexshare. It is untested whether the same is true for FTP, HTTP and others. | ||||||||
Steps To Reproduce | Using AD connector, create a flexshare and assign a group (like 'domain users' or other) to the flexshare. You will be able to access your home directory but not any flexshare with a group that uses a space. | ||||||||
Additional Information | This is likely fixed by putting quotations marks around the group name assigned in /etc/samba/flexshare.conf: valid users = @"%D\user group name", @"user group name" instead of: valid users = @"%D\user group name", @user group name | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Notes | |
(0012121) NickH (developer) 2019-06-07 02:51 |
Yes, it is as simple as that. In /usr/clearos/apps/flexshare/libraries/Flexshare.php, change: $linestoadd .= "\tvalid users = @\"%D" . '\\' . trim($share["ShareGroup"]) . "\", @" . trim($share["ShareGroup"]) . "\n"; to: $linestoadd .= "\tvalid users = @\"%D" . '\\' . trim($share["ShareGroup"]) . "\", @\"" . trim($share["ShareGroup"]) . "\"\n"; |
(0012131) NickH (developer) 2019-06-07 03:18 |
Migrated to https://gitlab.com/clearos/clearfoundation/app-flexshare/issues/11 [^] |
Issue History | |||
Date Modified | Username | Field | Change |
2014-01-13 14:30 | dloper | New Issue | |
2014-01-14 11:42 | user2 | Status | new => confirmed |
2019-06-07 02:51 | NickH | Note Added: 0012121 | |
2019-06-07 03:18 | NickH | Note Added: 0012131 | |
2019-06-07 03:18 | NickH | Status | confirmed => closed |
2019-06-07 03:18 | NickH | Assigned To | => NickH |
2019-06-07 03:18 | NickH | Resolution | open => suspended |