Bug 29672 - Benutzervorlagen: "Abteilungsnummer" und "Konto deaktiviert" offenbar wirkungslos
Benutzervorlagen: "Abteilungsnummer" und "Konto deaktiviert" offenbar wirkung...
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC - Users
UCS 4.1
Other Linux
: P5 normal (vote)
: UCS 4.2
Assigned To: Philipp Hahn
Florian Best
: interim-2
: 33106 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-10 11:48 CET by Dirk Wiesenthal
Modified: 2017-04-04 18:29 CEST (History)
6 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?: 1: Will affect a very few 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.034
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2014071721000739
Bug group (optional):
Max CVSS v3 score:
hahn: Patch_Available+


Attachments
Bug #29672 udm: Fix usertemplate LDAP mapping (2.42 KB, patch)
2017-01-26 16:10 CET, Philipp Hahn
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Wiesenthal univentionstaff 2012-12-10 11:48:10 CET
"Abteilungsnummer" gibt es bei einem Benutzer gar nicht. Die Eigenschaft wird nicht einmal in der Vorlage gespeichert. Ist hier "Mitarbeiternummer" gemeint? Wie sollte man das sinnvoll in einem Template setzen?

"Konto deaktiviert" ist in der Vorlage eine CheckBox, beim Benutzer aber eine ComboBox mit jeder Menge Kombinationsmöglichkeiten, was denn nun genau deaktiviert sei. Entsprechend wird die CheckBox nicht übernommen und (unschön) das Feld beim Benutzer ist zunächst als fehlerhaft markiert (sieht aber nur gefährlich aus, man kann es trotzdem speichern: als "Keine Deaktivierung") - schließlich kann die ComboBox nicht mit dem Wert der Vorlage (true oder false) anfangen.
Comment 1 Dirk Wiesenthal univentionstaff 2013-11-04 19:16:18 CET
*** Bug 33106 has been marked as a duplicate of this bug. ***
Comment 2 Ingo Steuwer univentionstaff 2014-07-21 16:15:37 CEST
Departmentnumber was reported by 2014071721000739 again, still true in UCS 3.2-2 Errata 152
Comment 3 Philipp Hahn univentionstaff 2017-01-26 15:12:14 CET
udm settings/usertemplate create --position "cn=templates,cn=univention,$(ucr get ldap/base)" --set disabled=1

(In reply to Dirk Wiesenthal from comment #0)
> "Konto deaktiviert" ist in der Vorlage eine CheckBox, beim Benutzer aber
> eine ComboBox mit jeder Menge Kombinationsmöglichkeiten, was denn nun genau
> deaktiviert sei. Entsprechend wird die CheckBox nicht übernommen und
> (unschön) das Feld beim Benutzer ist zunächst als fehlerhaft markiert (sieht
> aber nur gefährlich aus, man kann es trotzdem speichern: als "Keine
> Deaktivierung") - schließlich kann die ComboBox nicht mit dem Wert der
> Vorlage (true oder false) anfangen.

Works for me: checking the check-box disables all aspects of the account.

Task #6641 - UCS technical training
Comment 4 Philipp Hahn univentionstaff 2017-01-26 16:10:23 CET
Created attachment 8379 [details]
Bug #29672 udm: Fix usertemplate LDAP mapping
Comment 5 Philipp Hahn univentionstaff 2017-01-27 17:33:54 CET
(In reply to Dirk Wiesenthal from comment #0)
> "Abteilungsnummer" gibt es bei einem Benutzer gar nicht. Die Eigenschaft
> wird nicht einmal in der Vorlage gespeichert. Ist hier "Mitarbeiternummer"
> gemeint? Wie sollte man das sinnvoll in einem Template setzen?
(In reply to Ingo Steuwer from comment #2)
> Departmentnumber was reported by 2014071721000739 again, still true in UCS
> 3.2-2 Errata 152

There is a property departmentNumber="Abteilungsnummer" on Tab=Contact/Group=Business, but Tab=General/Group=Organisation/property=employeeNumber makes more sense.


r76150 | Bug #29672 udm: Fix usertemplate LDAP mapping
 Fix wrong mapping
r76155 | Bug #43428,Bug #42765,Bug #29672: udm usertemplate
r76154 | Bug #42765,Bug #43428,Bug #29672 test: usertemplate

Package: univention-directory-manager-modules
Version: 12.0.12-6A~4.2.0.201701271722
Branch: ucs_4.2-0

r76156 | Bug #43428,Bug #42765,Bug #29672: udm usertemplate CL
Comment 6 Florian Best univentionstaff 2017-01-30 13:11:53 CET
OK: department number
OK: account disabled
OK: layout changes
OK: test script
OK: changelog
Comment 7 Stefan Gohmann univentionstaff 2017-04-04 18:29:17 CEST
UCS 4.2 has been released:
 https://docs.software-univention.de/release-notes-4.2-0-en.html
 https://docs.software-univention.de/release-notes-4.2-0-de.html

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