Informix Error -25786: Only DBSA can grant/revoke permissions for the EXTEND role.
Cause and resolution
Only DBSA can grant/revoke permissions for the EXTEND role.
Only members of the DBSA group can grant or revoke permissions for the EXTEND role.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-25786 fires when a non-DBSA user tries to grant or revoke the EXTEND role — per the
official guidance.
- A non-DBSA-group user attempting to grant/revoke the
EXTENDrole, per the official guidance — the direct, only cause.
Solutions / Resolution
- Have a member of the DBSA group grant/revoke the
EXTENDrole instead, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond a non-DBSA user attempting the grant/revoke.
Diagnostic Checks
- Check the executing user's DBSA group membership, and have a DBSA-group member perform the grant/revoke instead.
Related Errors / Related Topics
- -25785 — "Cannot create external routine (%s) without the EXTEND role." A related
EXTEND-role restriction, on using the role rather than managing its grants. - -25788 — "Cannot unload or reload module without the EXTEND role." A related
EXTEND-role restriction, on module unload/reload. - -25791 — "Cannot execute privileged built-in Java routine without the EXTEND role
or DBSA authority." A related
EXTEND-role restriction, on specific built-in Java routines.
A non-DBSA user tried to grant/revoke the EXTEND role — only a DBSA-group member can do
that.