Closes: #632environments/ppa-mbqj77/deployments/1
parent
6649edf9a9
commit
7fdf76c74b
@ -0,0 +1,25 @@ |
||||
#!/bin/sh |
||||
|
||||
set -e |
||||
. /usr/share/debconf/confmodule |
||||
|
||||
db_input medium liblemonldap-ng-common-perl/domain || true |
||||
|
||||
db_input medium liblemonldap-ng-common-perl/ldapServer || true |
||||
|
||||
db_input medium liblemonldap-ng-common-perl/ldapPort || true |
||||
|
||||
db_input medium liblemonldap-ng-common-perl/ldapBase || true |
||||
|
||||
db_input medium liblemonldap-ng-common-perl/managerDn || true |
||||
|
||||
db_input medium liblemonldap-ng-common-perl/managerPassword || true |
||||
|
||||
db_input medium liblemonldap-ng-common-perl/portal || true |
||||
|
||||
if dpkg --compare-versions $2 lt 1.0; then |
||||
db_input high liblemonldap-ng-common-perl/migrate || true |
||||
fi |
||||
|
||||
db_go || true |
||||
|
@ -1,13 +1,13 @@ |
||||
# lemonldap-ng.ini must be readable by www-data but not by other (db passwords |
||||
# can be set here |
||||
liblemonldap-ng-conf-perl: non-standard-file-perm etc/lemonldap-ng/lemonldap-ng.ini 0640 != 0644 |
||||
liblemonldap-ng-common-perl: non-standard-file-perm etc/lemonldap-ng/lemonldap-ng.ini 0640 != 0644 |
||||
# If file storage is used for configuration, DB passwords can be stored here |
||||
# so this directory must not be readable by all |
||||
liblemonldap-ng-conf-perl: non-standard-dir-perm var/lib/lemonldap-ng/conf/ 0750 != 0755 |
||||
liblemonldap-ng-common-perl: non-standard-dir-perm var/lib/lemonldap-ng/conf/ 0750 != 0755 |
||||
# If file storage is used for configuration, later configuration files will be |
||||
# in 0640 mode. So the first is adjusted so |
||||
liblemonldap-ng-conf-perl: non-standard-file-perm var/lib/lemonldap-ng/conf/lmConf-1 0640 != 0644 |
||||
liblemonldap-ng-common-perl: non-standard-file-perm var/lib/lemonldap-ng/conf/lmConf-1 0640 != 0644 |
||||
# If file storage is used for sessions, user passord may be stored in this |
||||
# directory, so it must not be readable by all but must be writable by www-data |
||||
liblemonldap-ng-conf-perl: non-standard-dir-perm var/lib/lemonldap-ng/sessions/ 0770 != 0755 |
||||
liblemonldap-ng-conf-perl: non-standard-dir-perm var/lib/lemonldap-ng/sessions/lock/ 0770 != 0755 |
||||
liblemonldap-ng-common-perl: non-standard-dir-perm var/lib/lemonldap-ng/sessions/ 0770 != 0755 |
||||
liblemonldap-ng-common-perl: non-standard-dir-perm var/lib/lemonldap-ng/sessions/lock/ 0770 != 0755 |
@ -1,25 +0,0 @@ |
||||
#!/bin/sh |
||||
|
||||
set -e |
||||
. /usr/share/debconf/confmodule |
||||
|
||||
db_input medium liblemonldap-ng-conf-perl/domain || true |
||||
|
||||
db_input medium liblemonldap-ng-conf-perl/ldapServer || true |
||||
|
||||
db_input medium liblemonldap-ng-conf-perl/ldapPort || true |
||||
|
||||
db_input medium liblemonldap-ng-conf-perl/ldapBase || true |
||||
|
||||
db_input medium liblemonldap-ng-conf-perl/managerDn || true |
||||
|
||||
db_input medium liblemonldap-ng-conf-perl/managerPassword || true |
||||
|
||||
db_input medium liblemonldap-ng-conf-perl/portal || true |
||||
|
||||
if dpkg --compare-versions $2 lt 1.0; then |
||||
db_input high liblemonldap-ng-conf-perl/migrate || true |
||||
fi |
||||
|
||||
db_go || true |
||||
|
@ -1 +1 @@ |
||||
[type: gettext/rfc822deb] liblemonldap-ng-conf-perl.templates |
||||
[type: gettext/rfc822deb] liblemonldap-ng-common-perl.templates |
||||
|
Loading…
Reference in new issue