Bug 43559 - samba/share/netlogon/path: Description is misleading about the default location
samba/share/netlogon/path: Description is misleading about the default location
Status: REOPENED
Product: UCS
Classification: Unclassified
Component: Samba
UCS 5.0
Other Linux
: P5 minor (vote)
: ---
Assigned To: UCR maintainers
Samba maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-02-16 09:24 CET by Mathieu Simon
Modified: 2022-11-28 13:17 CET (History)
3 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 4: Will affect most installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.137
Enterprise Customer affected?: Yes
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2019071621000571
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 Mathieu Simon 2017-02-16 09:24:49 CET
The information text of the UCR variable samba/share/netlogon/path is misleading

Discovered in UCS 4.1-4 Errata 396:
----
samba/share/netlogon/path: <empty>
 This variable allows the configuration of the directory for the Netlogon share. If the variable is unset, /var/lib/samba/netlogon/ is used.
 Categories: service-samba
----

The template /etc/univention/files/etc/samba/base.conf says:
default_netlogon_path = '/var/lib/samba/sysvol/%s/scripts' % configRegistry.get('kerberos/realm', '').lower()

If not set, the default actually leads to the following value i.e:
/var/lib/samba/sysvol/myucs.example.org/scripts

Please fix the description text to i.e.

This variable allows the configuration of the directory for the Netlogon share. If the variable is unset, /var/lib/samba/netlogon/<kerberos/realm>/scripts is used.

Best regards
Mathieu Simon, Adfinis SyGroup
Comment 1 Stefan Gohmann univentionstaff 2019-01-03 07:19:05 CET
This issue has been filled against UCS 4.1. The maintenance with bug and security fixes for UCS 4.1 has ended on 5st of April 2018.

Customers still on UCS 4.1 are encouraged to update to UCS 4.3. Please contact
your partner or Univention for any questions.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you.
Comment 2 Mathieu Simon 2019-01-03 13:54:12 CET
Hi Stefan

This issue is still present in 4.3-3 therefore I'd like to renew my request.

Regards
Mathieu
Comment 3 Christina Scheinig univentionstaff 2019-08-01 15:56:06 CEST
I ran in the same problem:

ucr info samba/share/netlogon/path
samba/share/netlogon/path: <empty>
 This variable allows the configuration of the directory for the Netlogon share. If the variable is unset, /var/lib/samba/netlogon/ is used.
 Categories: service-samba

Adding a new script via windows in the netlogon share of the master, the script shows up in /var/lib/samba/sysvol/schein.ig/scripts/ on the filesystem, but not in /var/lib/samba/netlogon/scripts/ as i would expect, according to the description of the ucr variable.


Still in UCS 4.4 an Issue
Comment 4 Dirk Ahrnke univentionstaff 2022-11-28 13:17:43 CET
Reported by customer, adjusting UP because time-consuming investigation was needed.