Bug 32731 - machine secret hard-coded to 8 characters (or less)
Summary: machine secret hard-coded to 8 characters (or less)
Status: CLOSED FIXED
Alias: None
Product: UCS manual
Classification: Unclassified
Component: Domain services / LDAP
Version: unspecified
Hardware: Other Linux
: P5 normal
Target Milestone: UCS 3.2
Assignee: Moritz Muehlenhoff
QA Contact: Felix Botner
URL:
Keywords: interim-2
Depends on:
Blocks:
 
Reported: 2013-09-30 08:42 CEST by Moritz Muehlenhoff
Modified: 2015-04-01 13:34 CEST (History)
6 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):
Customer ID:
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Moritz Muehlenhoff univentionstaff 2013-09-30 08:42:22 CEST
+++ This bug was initially created as a clone of Bug #31281 +++

management/univention-ldap/10univention-ldap-server.inst:95:
      computerPassword=$(makepasswd --chars 8)
management/univention-join/univention-server-join:336:
      computerPassword="$(makepasswd --chars=8)"
base/univention-system-setup/usr/lib/univention-system-setup/scripts/setup-join.sh:122:
      echo -n "$(makepasswd)" > /etc/ldap.secret
base/univention-system-setup/usr/lib/univention-system-setup/scripts/setup-join.sh:123:
      echo -n "$(makepasswd)" > /etc/ldap-backup.secret
base/univention-server/server_password_change:84:
      new_password=$(makepasswd --chars 8)
base/univention-server/debian/univention-server-master.preinst:55:
      echo -n "$(makepasswd)" > /etc/ldap.secret
base/univention-server/debian/univention-server-master.preinst:61:
      echo -n "$(makepasswd)" > /etc/ldap-backup.secret


Should probably be configurable through an UCR variable.

Would probably help to unify the password generation instead of spreading the procedure over multiple packages and doing it slightly different.
Comment 1 Moritz Muehlenhoff univentionstaff 2013-10-07 13:42:39 CEST
Documented in Chapter 7.1
Comment 2 Felix Botner univentionstaff 2013-10-14 10:35:28 CEST
OK