Bug 29056 - Samba4-Test: File Access Permissions
Samba4-Test: File Access Permissions
Status: CLOSED FIXED
Product: UCS Test
Classification: Unclassified
Component: Samba
unspecified
Other Linux
: P5 normal (vote)
: UCS 3.2
Assigned To: Arvid Requate
Stefan Gohmann
: interim-2
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-05 17:46 CET by Tobias Peters
Modified: 2013-11-19 06:42 CET (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Peters univentionstaff 2012-11-05 17:46:51 CET
Es soll getestet werden, ob die mit UDM gesetzten Regeln in Bezug auf einen smb-Share beim Zugriff mit smbclient korrekt wirken. Dabei werden Regeln aus folgenden Bereichen überprüft: Samba share rules, NTACL, fACL, UnixMode.
Comment 1 Tobias Peters univentionstaff 2012-11-07 16:25:23 CET
Test wurde hinzugefügt als 51_samba4/42file_access_permissions
Comment 2 Tobias Peters univentionstaff 2012-11-07 18:02:42 CET
Es werden allerdings bisher nur fACL getestet
Comment 3 Tobias Peters univentionstaff 2012-11-14 18:41:24 CET
Der Test wurde umbenannt in 51_samba4/47file_access_permissions-unixmode und testet nun nur noch, ob die in UDM gesetzten unix permissions beim Zugriff mit smbclient korrekt wirken.

Für die anderen Komponenten gibt es nun eigene Tests/Bugs:
Samba share rules: #29229
NTACL: #29230
fACL: #29228
Comment 4 Arvid Requate univentionstaff 2013-06-25 13:18:56 CEST
On a slave the script will not find /etc/ldap.secret.
Comment 5 Tobias Peters univentionstaff 2013-07-01 11:20:38 CEST
The admin credentials are now received from the corresponding UCR variables.
Comment 6 Stefan Gohmann univentionstaff 2013-07-02 09:58:36 CEST
Move to TM 3.2.
Comment 7 Arvid Requate univentionstaff 2013-07-15 17:20:44 CEST
Maybe merge 51_samba4/47file_access_permissions-unixmode and 50_samba/42file_access_permissions into one test in 53_samba-common?
Comment 8 Tobias Peters univentionstaff 2013-07-16 13:49:38 CEST
51_samba4/47file_access_permissions-unixmode and 50_samba/42file_access_permissions has been merged to 53_samba-common/47file_access_permissions-unixmode
Comment 9 Arvid Requate univentionstaff 2013-08-27 16:08:18 CEST
Reopened because 47file_access_permissions-unixmode was not race-free.
Same applies to 46file_access_permissions-samba_share_rules.
The latter is now split up into separate tests:

* 46share_access_permissions_sambaInvalidUsers
* 46share_access_permissions_sambaValidUsers
* 46share_access_permissions_sambaWriteable_No

lib/shares.sh has been improved to clarify the meaning of "writable" (nfs vs samba).
Comment 10 Arvid Requate univentionstaff 2013-08-27 16:17:56 CEST
Test successfull (samba4).
Changelog updated.
Comment 11 Stefan Gohmann univentionstaff 2013-09-19 21:05:18 CEST
OK, tests are executed sucessfully on all autotest scenarios.

Changelog: OK
Comment 12 Stefan Gohmann univentionstaff 2013-11-19 06:42:51 CET
UCS 3.2 has been released:
 http://docs.univention.de/release-notes-3.2-en.html
 http://docs.univention.de/release-notes-3.2-de.html

If this error occurs again, please use "Clone This Bug".