Informix Error -26724: Cannot drop the HOMEDIR property for the user (<username>) because a value is specified. Do not include a value for the HOMEDIR property with the DROP option. </username>
Cause and resolution
Cannot drop the HOMEDIR property for the user (<username>) because a value is specified. Do not include a value for the HOMEDIR property with the DROP option. </username>
In an ALTER USER operation to drop a specified property, a value should be supplied only when the property is GROUP or AUTHORIZATION. For all other properties, a property value cannot be specified.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26724 fires when ALTER USER ... DROP HOMEDIR includes a value — per the official
guidance.
- A value was specified for
HOMEDIRalongsideDROP, per the official guidance — the direct, only cause; a value withDROPis only valid forGROUP/AUTHORIZATION, not other properties.
Solutions / Resolution
- Remove the value from the
DROP HOMEDIRclause, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond a DROP HOMEDIR with an included
value.
Diagnostic Checks
- Check the
DROP HOMEDIRclause for an included value, and remove it.
Related Errors / Related Topics
- -26721 — "Cannot drop the password for the user (
) because the password is specified. Do not include a value for the PASSWORD property with the DROP option." The same class of DROP-with-value restriction, forPASSWORDrather thanHOMEDIR. - -26725 — "Cannot drop the UID property for the user (
) because a value is specified. Do not include a value for the UID property with the DROP option." The same class of DROP-with-value restriction, forUIDrather thanHOMEDIR. - -26726 — "Cannot drop the USER property for the user (
) because a value is specified. Do not include a value for the USER property with the DROP option." The same class of DROP-with-value restriction, forUSERrather thanHOMEDIR.
DROP HOMEDIR included a value, which isn't allowed — remove it.