Coda File System

Re: Other (small) bugs

From: Jan Harkes <jaharkes_at_cs.cmu.edu>
Date: Thu, 6 Jul 2000 12:43:36 -0400
On Thu, Jul 06, 2000 at 05:21:33PM +0200, Guido Witmond wrote:
> To all Coda-lovers,
> 
> It seems to work, however not all tools report correct error codes. Have
> a look at my wishlistitem:
>  srv1-back:/coda/home# createvol_rep rep.solid E0000104 /vicepa
>  [output suppressed]
>  srv1-back:/code/home# cfs mkmount /coda/solid rep.solid
>  srv1-back:/code/home# cfs sa /coda/solid solid rlidwka
>  /coda/solid: Invalid argument

That's EINVAL, there is no ENOUSER (or EWOULDBENICE) errorcode we can
use to report the problem. I've added a printf to cfs setacl which
should now make this look like:

srv1-back:/code/home# cfs sa /coda/solid solid rlidwka
/coda/solid: Invalid argument
*** User unknown by the servers?
srv1-back:/code/home#

>  srv1-back:/coda/home# pdbtool
>  pdbtool> nui solid 111
>  pdbtool> quit

Remember that you still need to activate that new user using the `au'
command, befor he can authenticate using clog.

$ au nu
Your name:         codaadmin
Your password:     .....
New user name:     solid
New user password: xxxx

Jan
Received on 2000-07-06 12:58:38