Bug #3421

Webtop: Active Directory configuration lost

Added by Giacomo Sanchietti almost 5 years ago. Updated almost 5 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-webtop4
Target version:v6.8
Security class: Resolution:
Affected version:v6.8 NEEDINFO:No

Description

After an upgrade of nethserver-webtop4 package, any domain related configuration is lost.
For example, if the admin configures WebTop to authenticate against an Active Directory, after the update the authentication method is changed to local LDAP.

Steps to reproduce
  • Install WebTop
  • Access with the admin user and open the page "Domains" -> "NethServer"
  • Change the "Authentication Uri" to "ldapAD" and set user name and password
  • Execute:
    signal-event nethserver-webtop4-update
    
Expected behavior
  • The configuration shouldn't be changed
Actual behavior
  • The authentication configuration is lost

Associated revisions

Revision 0f844719
Added by Davide Principi almost 5 years ago

Update domain config safely. Refs #3421

Check if the NethServer domain already exists in WebTop configuration.
Execute a SQL update or insert statement accordingly.

Revision 1a8efb2a
Added by Davide Principi almost 5 years ago

Avoid updates completely. Refs #3421

The record cannot be updated automatically to prevent overwrites of
parameters specified from the configuration UI. Only on fresh
installations default values are inserted.

History

#1 Updated by Giacomo Sanchietti almost 5 years ago

  • Status changed from NEW to TRIAGED
  • Target version set to v6.8
  • % Done changed from 0 to 20

#3 Updated by Davide Principi almost 5 years ago

  • Status changed from TRIAGED to ON_DEV
  • Assignee set to Davide Principi
  • % Done changed from 20 to 30

#4 Updated by Davide Principi almost 5 years ago

  • Status changed from ON_DEV to MODIFIED
  • Assignee deleted (Davide Principi)
  • % Done changed from 30 to 60

#5 Updated by Davide Principi almost 5 years ago

  • Status changed from MODIFIED to ON_QA
  • % Done changed from 60 to 70

In nethserver-testing:
nethserver-webtop4-1.2.1-1.1.g0f84471.ns6.noarch.rpm
nethserver-webtop4-1.2.1-1.2.g1a8efb2.ns6.noarch.rpm

#6 Updated by Giacomo Sanchietti almost 5 years ago

  • Assignee set to Giacomo Sanchietti

#7 Updated by Giacomo Sanchietti almost 5 years ago

  • Status changed from ON_QA to VERIFIED
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 70 to 90

#8 Updated by Giacomo Sanchietti almost 5 years ago

NOTE: after the last commit, if a server changes the FQDN, webtop record is not automatically updated.

#9 Updated by Giacomo Sanchietti almost 5 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100

Released fo NS 6:
nethserver-webtop4-1.2.2-1.ns6.noarch.rpm

Released for NS 7:
nethserver-webtop4-1.3.3-1.ns7.noarch.rpm

Also available in: Atom PDF