Bug 31829 - computers/windows module should ignore given password if ntCompatibility is set to "1"
computers/windows module should ignore given password if ntCompatibility is s...
Status: RESOLVED DUPLICATE of bug 36596
Product: UCS
Classification: Unclassified
Component: UMC - Computers
UCS 3.1
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-27 12:04 CEST by Lukas Walter
Modified: 2018-04-13 13:29 CEST (History)
2 users (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
Patch suggestion (997 bytes, patch)
2013-06-27 12:04 CEST, Lukas Walter
Details | Diff
Patch (993 bytes, patch)
2013-06-27 12:10 CEST, Lukas Walter
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Walter univentionstaff 2013-06-27 12:04:42 CEST
Created attachment 5290 [details]
Patch suggestion

When creating a computer/windows object whith given password and ntCompatiblity=1 ("Initialize password with hostname" checkbox on Advanced settings/Account tab in UMC), the error "The LDAP object could not be saved: LDAP Error Constraint violation: sambaNTPassword: multiple values provided" is thrown because "sambaNTPassword" is twice in addlist after _ldap_addlist() and _ldap_modlist() have been called.

UDM should simply ignore a given password while generating addlist when ntCompatibility=1 is given.
Comment 1 Lukas Walter univentionstaff 2013-06-27 12:10:20 CEST
Created attachment 5291 [details]
Patch
Comment 2 Lukas Walter univentionstaff 2013-06-27 14:43:51 CEST
(In reply to Lukas Walter from comment #1)
> Created attachment 5291 [details]
> Patch

Rudimentary tested.
Comment 3 Stefan Gohmann univentionstaff 2014-02-18 21:29:04 CET
This issue has been filed against the UCS version "unstable" which does not really exist. Please change the version value.
Comment 4 Florian Best univentionstaff 2016-10-10 16:11:03 CEST

*** This bug has been marked as a duplicate of bug 36596 ***