Technical article 105881

Adding user in Account Manager fails with 'expected boolean value but got ""'

OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4

Written · Last revised

Problem

After installing AFPS I can no longer add a user or modify user defaults.

When attempting to add a user, the following error is displayed:

Unexpected error:
expected boolean value but got ""
expected boolean value but got ""
    while executing
"if {$distval} {
        set asuuserDistribution "distributed"
    } else {
        set asuuserDistribution "local"
    }"
    (procedure "NewUserCB" line 81)
    invoked from within
"NewUserCB {{dialog
.accountGUI.mainscreen_popup.mainscreen.mainscreen} {widget
.accountGUI.mainscreen_popup.mainscreen.mainscreen.menubar.
popup__HelpM ..."

Cause

When AFPS is installed, Account Manager checks if a user is
networked or not.  The variables USER_DISTRIBUTED and ASU_USER
need to be set.  The default values are normally set in
/etc/default/accounts.

Solution

Take these steps:
1. Change directories to /etc/default.
2. Edit the "accounts" file.

3. Under the User Specific Attributes section check for this line:

ASU_USER=1

4. It is likely that the line is not present. Add the line under the User Specific Attributes.

NOTE:     If AFPS is being installed under SCO OpenServer 5.0.0, Support
          Level Supplement (SLS) OSS414A, the SCOadmin Supplement, must be
          applied before installing AFPS.

See also

TA100010 "The error "No such attribute isASUEnabled" occurs in SCOadmin with SCO AFPS."

TA105243, "What is Support Level Supplement (SLS) OSS414A?"

From the Xinuos technical article database, record 105881. Reproduced with permission. The original is at www.sco.com/ta/105881, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.