Bug 47859 - User template syntax: LDAP Error: Invalid syntax: userPrimaryGroupPreset: value #0 invalid per syntax
User template syntax: LDAP Error: Invalid syntax: userPrimaryGroupPreset: val...
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC - Users
UCS 4.2
Other Linux
: P5 normal (vote)
: UCS 4.2-5-errata
Assigned To: Ole Schwiegert
Johannes Keiser
:
Depends on: 46288
Blocks:
  Show dependency treegraph
 
Reported: 2018-09-25 17:27 CEST by Christian Völker
Modified: 2018-11-01 13:56 CET (History)
7 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 3: A User would likely not purchase the product
User Pain: 0.171
Enterprise Customer affected?: Yes
School Customer affected?:
ISV affected?:
Waiting Support: Yes
Flags outvoted (downgraded) after PO Review:
Ticket number: 2018092521000687
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 Christian Völker univentionstaff 2018-09-25 17:27:12 CEST
+++ This bug was initially created as a clone of Bug #46288 +++

The following error occurred on a customer system which is joined into a German MS AD domain:

  LDAP Error: Invalid syntax: userPrimaryGroupPreset: value #0 invalid per syntax

It happened in a Kopano join script while creating the Kopano template:

+ ucr_varname=domainusers
+ ucr_varname=groups/default/domainusers
+ /usr/sbin/univention-config-registry get groups/default/domainusers
+ result=Domänen-Benutzer
+ [ -n Domänen-Benutzer ]
+ echo -n Domänen-Benutzer
+ univention-directory-manager settings/usertemplate create --ignore_exists --position cn=templates,cn=univention,dc=foo,dc=bar --set name=Kopano Account --set mailPrimaryAddress=<username>@foo.bar --set kopano-role=user --set unixhome=/home/<username> --set primaryGroup=cn=Domänen-Benutzer,cn=groups,dc=foo,dc=bar
LDAP Error: Invalid syntax: userPrimaryGroupPreset: value #0 invalid per syntax
+ die
Comment 1 Ole Schwiegert univentionstaff 2018-10-16 09:48:08 CEST
Package: univention-ldap
Version: 13.0.7-21A~4.2.0.201810160946
Branch: ucs_4.2-0
Scope: errata4.2-5

Backported from #46288
Comment 2 Johannes Keiser univentionstaff 2018-11-01 09:46:09 CET
OK: backported code
OK: syntax for userPrimaryGroupPreset is changed
OK: YAML (aaff100c50 -> use same wording as Bug #46288)
-> verified
Comment 3 Arvid Requate univentionstaff 2018-11-01 13:56:51 CET
<http://errata.software-univention.de/ucs/4.2/540.html>