Debian Patches

Status for gosa/2.8~git20230203.10abe45+dfsg-18

Patch Description Author Forwarded Bugs Origin Last update
1057_fix-ldap-rename.patch Fix LDAP rename ldap::dn_exists() simply wrapper ldap_list() returning its result verbatim.
Since PHP >= 8 this no longer returns a resource but a LDAP\Result or array in
case of success. Change the method to return a boolean instead. This fixes a
check in ldap::rename_dn() which caused it to report a failed operation even if
the rename succeeded.
Also tighten the error check for ldap_rename().
Guido Berhoerster <guido+debian@berhoerster.name> no
1058_fix-ogroup-creation.patch Fix undefined variable access in the object group plugin=================================================================== Guido Berhoerster <guido+debian@berhoerster.name> no
1064_include-class_listing.inc-Fix-broken-actions-menu.patch [PATCH] include/class_listing.inc: Fix broken actions menu. Daniel Teichmann <daniel.teichmann@das-netzwerkteam.de> no 2024-08-23
1004_missing_templates.patch Add missing template files to user plugin. (Just copied from classic theme.)
===================================================================
Daniel Teichmann <daniel.teichmann@das-netzwerkteam.de> no
2001_fix-smarty-location.patch Adapt location for debian packaged smarty Cajus Pollmeier <cajus@debian.org> no
2002_fix-template-location.patch Fix location of configuration template. Cajus Pollmeier <cajus@debian.org> not-needed
2003_fix-class-mapping.patch Fix location of auto-generated class mapping file Cajus Pollmeier <cajus@debian.org> not-needed
2004_fix-locale-location.patch Fixed location of auto-generated locales Cajus Pollmeier <cajus@debian.org> not-needed
2005_allow-Debian-blends-to-override-gosa-conf.patch Debian Edu and Debian LAN take care of maintaining its own version of gosa.conf Mike Gabriel <mike.gabriel@das-netzwerkteam.de> not-needed
2006_apache2-private-tmp.patch Hint admin to disable Apache2's PrivateTmp feature during setup Wolfgang Schweer <w.schweer@gmx.de> not-needed
2007_no-pChart.patch Don't ship pChart anymore. It looks as if not used anymore these days. Mike Gabriel <mike.gabriel@das-netzwerkteam.de> not-needed
2008_set-version-file-path.patch Set path of the gosa_version_file. Mike Gabriel <mike.gabriel@das-netzwerkteam.de> not-needed
1002_php82-allow-dynamic-properties.patch Tolerate dynamic properties in all classes, deprecated in PHP 8.2 Daniel Teichmann <daniel.teichmann@das-netzwerkteam.de> no
1003_php-deprecations.patch Silence various PHP 8.2 deprecation warnings. Mike Gabriel <mike.gabriel@das-netzwerkteam.de> no
1005_preg_replace_deprecation.patch Fix deprecation warning for calling preg_replace with NULL at argument #3. Daniel Teichmann <daniel.teichmann@das-netzwerkteam.de> no
1006_fix-overflow-debug-print_a-func.patch Make table of print_a() scrollable and allow overflow on body. This makes debugLevel > 0 usable again. Daniel Teichmann <daniel.teichmann@das-netzwerkteam.de> no
1007_fix_debugLevel_bitwise_and.patch no
1008_main-dont-die-on-empty-config-object.patch no
1009_plugin-callHook-always_output_shell_debugging_msgs.patch no
1010_fix-fix-accept-to-gettext.patch no
2009-Revert-Enable-env-to-work.patch [PATCH] Revert "Enable env to work"
This reverts commit 87e54bc6e8e628dd60793e955c4eed9dfa78cbd4.
Trying to parse a shell command via regex is impossible to get right, the
current approach fails on trivial things like wrapping a command with sudo.
This may expose possibly sensitive information to other users via /proc, ps and
the like.
Guido Berhoerster <guido@berhoerster.name> no 2023-08-08
1011_Revert-bugfix-for-users-group-membership-after-group.patch [PATCH 1/9] Revert "bugfix for users group membership after groups extensions."

This reverts commit e2f756f23cc9477c2d91820c1f083347e8fa4b60.
Mike Gabriel <mike.gabriel@das-netzwerkteam.de> no 2023-08-13
1012_Revert-fix-member-array-if-no-member-is-present.patch [PATCH 2/9] Revert "fix member array if no member is present"
This reverts commit 8e5da7d93fc7a5864a5378d2f2466c6f3d03bd47.
Mike Gabriel <mike.gabriel@das-netzwerkteam.de> no 2023-08-13
1013_Revert-update-for-generic.tpl-to-use-memberACL-inste.patch [PATCH 3/9] Revert "update for generic.tpl to use memberACL instead of memberUidACL"

This reverts a variant of commit 0717777a19790e490fe436367069f9341d6577bc.
Mike Gabriel <mike.gabriel@das-netzwerkteam.de> no 2023-08-13
1014_Revert-source-code-and-definition-adjustments-for-th.patch [PATCH 4/9] Revert "source code and definition adjustments for the group extension. v0.2"

This reverts a clean-up variant of commit 7e825c162dd8841b338fcb0e052f4f04d5a0073f.
Mike Gabriel <mike.gabriel@das-netzwerkteam.de> no 2023-08-13
1015_Revert-source-code-and-definition-adjustments-for-th.patch [PATCH 5/9] Revert "source code and definition adjustments for the group extension. v0.1"

This reverts a variant of commit 51905d512cfa404945223f8c786bbfff227e0df9.
Mike Gabriel <mike.gabriel@das-netzwerkteam.de> no 2023-08-14
1016_Revert-source-code-and-definition-adjustments-for-th.patch [PATCH 6/9] Revert "source code and definition adjustments for the group extension. v0.3"

This reverts a variant of commit 084b4ede95e74b76343e6f3f4c73e31c8dda7aa0.
Mike Gabriel <mike.gabriel@das-netzwerkteam.de> no 2023-08-14
1017_Revert-source-code-and-definition-adjustments-for-th.patch [PATCH 7/9] Revert "source code and definition adjustments for the group extension."

This reverts a variant of commit 6537afc7daed7506ab4fe35030311f7d44994b39.
Mike Gabriel <mike.gabriel@das-netzwerkteam.de> no 2023-08-14
1018_Revert-fix-multiple_edit-and-add-custom-Constraint-t.patch [PATCH 8/9] Revert "fix multiple_edit and add custom Constraint to filters"

This reverts a variant of commit 7f6cdfae3b1468e2db77c555cc41800bbae4a409.
Mike Gabriel <mike.gabriel@das-netzwerkteam.de> no 2023-08-14
1019_Revert-Extends-Functionality-to-add-groups-in-groups.patch [PATCH] Revert "Extends Functionality to add groups in groups"
This reverts a variant of commit 4fa70a94f2ce51d908409d30776ecd2883261272.
Mike Gabriel <mike.gabriel@das-netzwerkteam.de> no 2023-08-14
1020_plugins-admin-groups-class_group.inc-Re-add-structur.patch [PATCH 2/2] plugins/admin/groups/class_group.inc: Re-add structural objectClass posixGroup.

This reverts a change that sneaked in via commit 79aa7fe63bc07b468865e103d4bdab9c07e5abbb.
Mike Gabriel <mike.gabriel@das-netzwerkteam.de> no 2023-08-14
1021_fix-config-parser-being-null.patch Since PHP 8.x an XML parser must not be null when accessed. It needs to be an instance of XMLParser(). Mike Gabriel <mike.gabriel@das-netzwerkteam.de> no
1022_fix-implicit-conversions-of-float-to-int.patch no
1035_acl_override_to_allow_delete_of_group_members.patch Support member removal from groups, if someone has the right to edit the group. Christian Schwamborn <cs@imap.architektur.tu-darmstadt.de> yes
1099_remove-debug-code.patch no
1102_style-robustness.patch Make generated image styles more robust UNKNOWN no
1105_no-image-warning.patch Don't throw warnings in update-gosa on already existing image files UNKNOWN no
1137_fix_shadowexpire_checkbox_from_tmplate_setting.patch Propagate shadow expiry from user templates to created user objects. Christian Schwamborn <cs@imap.architektur.tu-darmstadt.de> no
1138_shadowexpire_in_one_line.patch Show shadow expiry (esp. the calendar icon) in one line on screen (html template adjustment). Christian Schwamborn <cs@imap.architektur.tu-darmstadt.de> no
1143_smarty-add-on-function-param-types.patch Use correct smarty3 API.Abstract.
For the {render} add-on block, drop the &$smarty reference parameter
entirely.
.
Drop the complete {tr} add-on block. Not registered as a plugin, not
used.
.
For the add-on image and add-on factory functions, switch from
reference &$smarty to value $smarty.
Mike Gabriel <mike.gabriel@das-netzwerkteam.de> yes
1144_crypto-transition-without-mcrypt.patch No need to let this script depend on php-mcrypt Dominik George <natureshadow@debian.org> yes
1145_dont_use_filter_caching.patch Disable flawed filter caching (which works via storing unserialized objects in $_SESSION)Abstract:
All required information is in the above upstream bug report.
.
This patch has work-around status. It is no proper solution.
Mike Gabriel <mike.gabriel@das-netzwerkteam.de> yes
1149_gosa-fix-filterlocklabelimage.patch Use NULL as default for $userPassword in filterLockImage() and filterLockLabel(). Frederik Himpe <fhimpe@ai.vub.ac.be> no
1151_openldap-gosa-samba3.-Provide-alias-attribute-descri.patch [PATCH] openldap/gosa-samba3.*: Provide 'alias' attribute description by objectClass 'gosaMailAccount'.

A very common use case in LDAP stored mail accounts is the definition
of a primary mail address and mail address aliases. The add-on module
gosa-plugin-mailaddress provides a field for adding e-mail aliases to
user mail accounts.

Up to now, the 'alias' attribute has only been provided to user accounts
that were set up as kolabInetOrgPerson based accounts.

With this change, the 'alias' attribute description gets provided
for usual gosaMailAccount based accounts.

This change comes together with a schema change in GOsa²'s kolab2.schema
(where we comment out the 'alias' attribute description). Normally,
Kolab Users maintained via GOsa² have the 'gosaMailAccount' objectClass
already set, so 'alias' gets provided via gosa-samba3.schema all fine.
Mike Gabriel <mike.gabriel@das-netzwerkteam.de> no 2021-05-25
1154_skip-DN-when-processing-existing-account-settings.patch gosa-core/include/functions.inc: The $initialAttrs array in change_password() contains the result of an LDAP fetch which contains the DN (and this is not an array), so skip that. Mike Gabriel <mike.gabriel@das-netzwerkteam.de> no
1023_fix-icon-labelling-with-default-theme.patch Properly render labelled icons if default materialize CSS theme is used. Mike Gabriel <mike.gabriel@das-netzwerkteam.de> no
1024_fix-mess-of-using-and-comparing-int-and-string-values.patch no
1155_fix-uid-generation-when-many-uids-have-been-already-taken.patch [PATCH] include/functions.inc: Resolve UID generation for cases where many UIDs have already been taken.

While mass creating users these days for a school, I noticed that an
idGenerator expression such as "{%sn[6-8]}{%givenName[2-4]}" did not
produce expected results if many UIDs have already been taken.

In my case (making up names here), I had

sn: Fresher
givenName: Jim

Note that both name parts, sn and givenName, have less then the
max number of characters as specified in the idGenerator expression.
(i.e. Fresher -> 7 chars, Jim -> 3 chars).

In my use case excample, the following login name was already in use,
so it got excluded by gen_uids() from the list of possible login names::

fresheji

So, the expected results for gen_uids() should have been:

fresherji
freshejim
fresherjim

But gen_uids() returned an empty result array().

This change fixes UID generation and also includes UIDs that have max
number of allowed / possible characters as specified by the idGenerator
expression.

Without this change, only UIDs up to max-1 characters (or strlen-1
characters) are offered.
Mike Gabriel <mike.gabriel@das-netzwerkteam.de> no 2021-07-27
2010_vacation-templates-writeable-path.patch Use a www-data-user-writeable path for vacation templates. Mike Gabriel <mike.gabriel@das-netzwerkteam.de> no
1025_fix-icons-in-debugBar.patch Don't use image() method from GOsa²'s function.inc. The debug toolbar is not themed, so hard-code icon img tags. Mike Gabriel <mike.gabriel@das-netzwerkteam.de> no
1026_dont-access-static-property-non-static.patch no
1027_include-functions-class_userinfo-.inc-Don-t-referenc.patch [PATCH 02/13] include/{functions,class_userinfo}.inc: Don't reference non-variable. Resolves PHP error 'Only variables should be assigned by
reference'.
root <root@postoffice.intern> no 2023-08-17
1028_include-class_listing.inc-Avoid-implicit-array-to-st.patch [PATCH 03/13] include/class_listing.inc: Avoid implicit array-to-string conversion. root <root@postoffice.intern> no 2023-08-17
1029_include-class_session.inc-Only-operate-on-an-element.patch [PATCH 04/13] include/class_session.inc: Only operate on an element in $_SESSION if it exists. root <root@postoffice.intern> no 2023-08-17
1030_class_group.inc-class_trustedModeDialog.inc-class_po.patch [PATCH 05/13] class_group.inc, class_trustedModeDialog.inc, class_posixAccount.inc: Only access array elements if they are set. root <root@postoffice.intern> no 2023-08-17
1031_html-main.php-Fix-bug-where-config-is-a-string-after.patch [PATCH 07/13] html/main.php: Fix bug where $config is a string after a while of AFK. GOsa would show PHP crashing.

Can be amended to existing patch!
root <root@postoffice.intern> no 2023-08-22
1032_include-class_sortableListing.inc-Fix-copy-paste-mis.patch [PATCH 10/13] include/class_sortableListing.inc: Fix copy&paste mistake. Don't try to get element 0 of INTEGER $index. root <root@postoffice.intern> no 2023-08-23
1033_include-class_acl.inc-Fix-indentation-whitespace-of-.patch [PATCH] include/class_acl.inc: Fix indentation + whitespace of execute() block.

+ Fix $this->$value -> $this->value (Note: the extra $!)
+ Fix case where $oc would not be initialized.
root <root@postoffice.intern> no 2023-08-23
1060_include-class_acl.inc-Fix-array_keys-being-called-wi.patch [PATCH 08/13] include/class_acl.inc: Fix array_keys being called with a string instead of array at param. #1. root <root@postoffice.intern> no 2023-08-22
1061_include-class_acl.inc-Fix-convertForListing-by-fixin.patch [PATCH 01/13] include/class_acl.inc: Fix convertForListing() by fixing a clerical logic mistake & initialize roleArray as array not as
string.
root <root@postoffice.intern> no 2023-08-17
1062_include-class_acl.inc-Fixing-typos-invalid-misused-P.patch [PATCH 12/13] include/class_acl.inc: Fixing typos + invalid/misused PHP syntax.

$this->arr isn't referenced anywhere, guessing they mean $attrs?
root <root@postoffice.intern> no 2023-08-23
1063_include-class_-listing-acl-.inc-plugins-admin-acl-cl.patch [PATCH 2/3] include/class_{listing, acl}.inc, plugins/admin/acl/class_aclRole.inc: Fix accessing variables if they are NULL
or keys of arrays which arent even set.
root <root@postoffice.intern> no 2023-08-25
1034_include-class_listing.inc-Fix-processElementFilter-n.patch [PATCH 1/3] include/class_listing.inc: Fix processElementFilter() not considering default values for method parameters.

Introduced by c996dc9d1d60c2152 (fix_develop).
root <root@postoffice.intern> no 2023-08-25
1036_include-class_filter.inc-Define-gridClass-for-defaul.patch [PATCH 3/3] include/class_filter.inc: Define gridClass for default and classic theme. root <root@postoffice.intern> no 2023-08-25
1037_include-php_setup.inc-Hide-ldap_-search-read-Search-.patch [PATCH] include/php_setup.inc: Hide 'ldap_{search,read}(): Search: No such object.' errors. They occur rather often and don't hint to an actual
error.
root <root@postoffice.intern> no 2023-08-29
1038_include-class_pathNavigator.inc-Don-t-send-object-DN.patch [PATCH] include/class_pathNavigator.inc: Don't send object DN for new objects when registering plugin. root <root@postoffice.intern> no 2023-08-29
1040_fix-instance-property-typo-in-class_acl-inc.patch Typo fix in accessing instance property. Mike Gabriel <mike.gabriel@das-netzwerkteam.de> no
1041_fix-role-selector.patch Fix role selector when using the default theme Add workaround for Matrialize.css which hides <input> elements with type=radio
unless wrapped in a <label> and followed by a <span> element.
===================================================================
Guido Berhoerster <guido+freiesoftware@berhoerster.name> no
1042_fix-user-info-default-theme.patch Fix styling of user properties.
Fix plugin list generation. Move openPlugin JS function outside of $menu Smarty
variable since it used outside of the menu as well and $menu is not rendered in
the default theme when no menu is requested.
Guido Berhoerster <guido+freiesoftware@berhoerster.name> no
1043a_Add-setter-for-skipFooter-property-needed-for-mfa-ex.patch [PATCH] Add setter for skipFooter property (needed for mfa extension of usermanagement) Jochen Schimmelpfennig <jochen@onlinegeneration.com> no 2023-11-13
1043b_honour-plugin-property-skipFooter-used-by-mfa-account.patch Honour plugin property skipFooter before drawing buttons. Mike Gabriel <mike.gabriel@das-netzwerkteam.de> no
1044_fix-class-ldap-serialization.patch no
1045_fix-posixaccount-shadowExpire.patch debian/patches/: Add 0003-fix-posixaccount-shadowExpire.patch which fixes shadowExpire always being set to 0. (User can't login then) (Closes: #1053806) "Daniel Teichmann" <daniel.teichmann@das-netzwerkteam.de> no
1046_groups-classic-theme-generic-tpl.patch Drop artifact from group overview/generic page template. Mike Gabriel <mike.gabriel@das-netzwerkteam.de> no
1047_silence-SnapshotHandler-in-logs.patch Don't pass new class instantiation as reference.Abstract:
This avoids PHP errors of the following kind:
.
PHP error: Only variables should be passed by reference (/usr/share/gosa/include/class_SnapshotHandler.inc, line 117)
Mike Gabriel <mike.gabriel@das-netzwerkteam.de> no
1048_fix-undefined-variable.patch Fix undefined variable $acl_mode when using classic theme. Mike Gabriel <mike.gabriel@das-netzwerkteam.de> no
1049_dont-compare-multidim-arrays-with-array-diff.patch Compare JSON hashes instead of comparing array.Abstract:
This avoids an 'Array to string conversion' error when comparing multi-dimensional arrays.
Mike Gabriel <mike.gabriel@das-netzwerkteam.de> no
1050_fix-ldap-fetch.patch Fix LDAP fetch in case of empty results If the LDAP\Result is empty ldap_first_entry() returns false which is stored
in $this->re[$srp]. Any subsequent calls to fetch will pass this as an argument
to ldap_next_entry() which will throw an exception. Fix this by checking for a
falsy value.
Guido Berhoerster <guido+debian@berhoerster.name> no
1052_dont-access-uninitialized-variable.patch Make sure current_password is initialized as string. Mike Gabriel <mike.gabriel@das-netzwerkteam.de> no
1053_dont-count-ldap-result-object-if-false.patch Don't count LDAP objects if search/list result is false (bool). Mike Gabriel <mike.gabriel@das-netzwerkteam.de> no
1054_utf8-decode-is-deprecated.patch Stop using utf8_decode anymore. code paths. Mike Gabriel <mike.gabriel@das-netzwerkteam.de> no
1055_fix-ldap-count.patch Fix ldap::count() Return false instead of "" in case of errors. In PHP < 8 "" == 0 returned true
but in PHP >= 8 it returns false which causes logic bugs all over the codebase.
ldap_count_entries() also already uses false to indicate errors.
Guido Berhoerster <guido+debian@berhoerster.name> no
1056_fix-suppressed-errors.patch Fix handling of suppressed errors In PHP >= 8 error_reporting() returns no longer 0 but
E_ERROR | E_CORE_ERROR | E_COMPILE_ERROR | E_USER_ERROR | E_RECOVERABLE_ERROR | E_PARSE
in case of suppressed errors, fix the error handling accordingly.
Guido Berhoerster <guido+debian@berhoerster.name> no

All known versions for source package 'gosa'

Links