[BlueOnyx:27123] Re: Why can I not reuse an old username?

Larry Smith lesmith at ecsis.net
Sat Jul 20 10:15:51 -05 2024


Michael,

  Added a bunch of debug statements to the handle_user.pl
and where it is failing is the test: 

   if (($#others > 0) || ($#mlist >= 0) || ($#other_aliases > -1)) {

the $#other_aliases is greater than -1.  Which when it falls through
from that test it gets to errors++ and hence fails to add the user.

-- 
Larry Smith
lesmith at ecsis.net

On Fri July 19 2024 18:29, Michael Stauber wrote:
> Hi Larry,
>
> >    Thanks, ,but no additonal information was shown:
> >
> > Jul 19 14:23:00 web22 cced(smd)[2884]: client [0:2883] has admin rights
> > Jul 19 14:23:35 web22 cced(smd)[2937]: client 7:[49:21883]:
> > CREATE  "User" "fullName" "=" "C.Finch" "ftpDisabled" "=" "1"
> > "capLevels" "=" "" "sortName" "=" "" "email
> > Disabled" "=" "0" "volume" "=" "/home" "description" "=" "PASSWORD"
> > "name" "=" "cfinch" "password" "=" xxx "stylePreference" "=" "BlueOnyx"
> > "site" "=" "site5" "enabled" "=" "1" "localePreference" "=" "browser"
> > Jul 19 14:23:35 web22 cced(smd)[2960]: client [0:2947] has admin rights
> > Jul 19 14:23:35 web22 cced(smd)[2961]: client [0:2947] has admin rights
> > Jul 19 14:23:35 web22 cced(smd)[2937]: handler
> > handlers/base/user/handle_user.pl fa
> > iled
> > Jul 19 14:23:35 web22 cced(smd)[2937]: client 7:[49:21883]: CREATE failed
>
> This is still helpful. It didn't get to the point where it would have
> printed 'data valid'. Which means that it ran into the error
> 'userNameAlreadyTaken' or (very unlikely) the error
> 'excessivelyLargeQuota'.
>
> Let's check what CCEclient say. Run /usr/sausalito/bin/cceclient  as
> "root" and it will show something like this:
>
> [root at 5211r ~]# /usr/sausalito/bin/cceclient
> 100 CSCP/0.99
> 200 READY
>
> In there type:
>
> FIND User name = "cfinch"
>
> See what that reports back. If it just says "201 OK", then the user
> doesn't exist in CODB. If it reports something like "104 OBJECT
> <NUMBER>", then the user already exists in CODB.


More information about the Blueonyx mailing list