Bug 55079 - univention.uldap.access deprecated, but deprecation not documented in 5.0 docs
univention.uldap.access deprecated, but deprecation not documented in 5.0 docs
Status: NEW
Product: UCS
Classification: Unclassified
Component: UMC - System diagnostic
UCS 5.0
Other Mac OS X 10.1
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2022-08-08 16:14 CEST by Ingo Jürgensmann
Modified: 2022-08-09 13:13 CEST (History)
1 user (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): bitesize
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ingo Jürgensmann univentionstaff 2022-08-08 16:14:26 CEST
Hi!

At a customer /var/log/univention/management-console-module-diagnostic.log is full of these lines: 

08.08.22 11:46:51.858  ADMIN       ( ERROR   ) : using univention.uldap.access instance is deprecated. Use univention.admin.uldap.access instead.
08.08.22 11:46:51.859  ADMIN       ( ERROR   ) : using univention.uldap.access instance is deprecated. Use univention.admin.uldap.access instead.
08.08.22 11:46:51.859  ADMIN       ( ERROR   ) : using univention.uldap.access instance is deprecated. Use univention.admin.uldap.access instead.
08.08.22 11:46:51.859  ADMIN       ( ERROR   ) : using univention.uldap.access instance is deprecated. Use univention.admin.uldap.access instead.
08.08.22 11:46:51.859  ADMIN       ( ERROR   ) : using univention.uldap.access instance is deprecated. Use univention.admin.uldap.access instead.
08.08.22 11:46:51.859  ADMIN       ( ERROR   ) : using univention.uldap.access instance is deprecated. Use univention.admin.uldap.access instead.

grep -c "using univention.uldap.access instance is deprecated. Use univention.admin.uldap.access instead"  /var/log/univention/management-console-module-diagnostic.log
82598

So, two things: 

1) the line in question should maybe a warning instead of an error

2) the line says that univention.uldap.access is deprecated, but 
https://docs.software-univention.de/ucs-python-api/univention.html#univention.uldap.access doesn't show a note about about deprecation. Please also note that https://docs.software-univention.de/ucs-python-api/univention.admin.html?highlight=univention%20admin%20uldap%20access#univention.admin.uldap.access might also be corrected.
Comment 1 Florian Best univentionstaff 2022-08-09 13:12:41 CEST
univention.uldap.access is not deprecated but it is deprecated `using` it in a UDM handler.