Bug 42679 - Removed parameters in smb.conf are still configurable in UCS
Removed parameters in smb.conf are still configurable in UCS
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Samba
UCS 4.1
Other Linux
: P5 normal (vote)
: UCS 4.1-4
Assigned To: Arvid Requate
Felix Botner
https://www.samba.org/samba/history/s...
:
Depends on:
Blocks: 42624 42805
  Show dependency treegraph
 
Reported: 2016-10-14 11:45 CEST by Christina Scheinig
Modified: 2016-11-08 13:26 CET (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 1: Cosmetic issue or missing function but workaround exists
Who will be affected by this bug?: 3: Will affect average number of installed domains
How will those affected feel about the bug?: 1: Nuisance – not a big deal but noticeable
User Pain: 0.017
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2016101121000196
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 Christina Scheinig univentionstaff 2016-10-14 11:45:07 CEST
In a customer environment "samba-tool gpo list client" shows warnings in his output.

[...]
Unknown parameter encountered: "security mask"
Ignoring unknown parameter "security mask"
Unknown parameter encountered: "directory security mask"
Ignoring unknown parameter "directory security mask"
Unknown parameter encountered: "force security mode"
Ignoring unknown parameter "force security mode"
Unknown parameter encountered: "force directory security mode"
Ignoring unknown parameter "force directory security mode"
Processing section "[Sozialarbeiter]"
Unknown parameter encountered: "security mask"
Ignoring unknown parameter "security mask"
Unknown parameter encountered: "directory security mask"
Ignoring unknown parameter "directory security mask"
Unknown parameter encountered: "force security mode"
Ignoring unknown parameter "force security mode"
Unknown parameter encountered: "force directory security mode"
Ignoring unknown parameter "force directory security mode"
Processing section "[Sekretariat]"
Unknown parameter encountered: "security mask"
Ignoring unknown parameter "security mask"
Unknown parameter encountered: "directory security mask"
Ignoring unknown parameter "directory security mask"
Unknown parameter encountered: "force security mode"
Ignoring unknown parameter "force security mode"
Unknown parameter encountered: "force directory security mode"
Ignoring unknown parameter "force directory security mode"

[...]

The manpage of smb.conf says:
security mask (S)

           This parameter has been removed for Samba 4.0.0.

           No default
and
force security mode (S)

           This parameter has been removed for Samba 4.0.0.

           No default

The customer could ask, why it is possible to configure these parameters, if these were removed in samba.
Comment 1 Arvid Requate univentionstaff 2016-10-17 11:22:12 CEST
"force directory security mode" too.
Comment 2 Arvid Requate univentionstaff 2016-10-31 16:47:28 CET
Ok, https://bugzilla.samba.org/show_bug.cgi?id=9190 removed these parameters, I adjusted the samba-shares.py listener module in univention-samba and univention-samba4. Changes merged to UCS 4.2 and changelog added.

The corresponding properties in UMC/UDM will be removed later via Bug 42805.
Comment 3 Felix Botner univentionstaff 2016-11-01 17:28:23 CET
OK - changelog
OK - univention-samba
OK - univention-samba4
OK - merged to 4.2-0
Comment 4 Stefan Gohmann univentionstaff 2016-11-08 13:26:34 CET
UCS 4.1-4 has been released:
 https://docs.software-univention.de/release-notes-4.1-4-en.html
 https://docs.software-univention.de/release-notes-4.1-4-de.html

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