dev@glassfish.java.net

Re: v3 commands - create-file-user: should it or shouldn't it accept --user?

From: Bill Shannon <bill.shannon_at_sun.com>
Date: Wed, 12 Aug 2009 14:54:39 -0700

You're probably running into the same bug Lloyd ran into,
and that I fixed earlier today.

Note that --user does not specify the suer that you're creating
with create-file-user, it specifies the user you're using for
authentication when talking to the server. If the server is set
up for anonymous login, then you're running into the bug I fixed.

If someone can confirm that the latest bits solve this problem,
I'll close this bug.


Jane Young wrote on 8/12/09 12:21 PM:
> Looks like a regression.
>
> I also could not execute: "asadmin create-file-user --user admin ..."
> and "asadmin --user admin create-file-user ...".
> However, interatcive mode works.
>
> I've filed an IT:
> https://glassfish.dev.java.net/issues/show_bug.cgi?id=9105
>
>
>
> Tim Quinn wrote:
>> Hi.
>>
>> This seems to be a recent change.
>>
>> create-file-user no longer seems to accept the --user adminUserName
>> option. Some deployment devtests have specified this for a long time
>> and recently began failing due to that.
>>
>>
>> The error which the CLI displays is "invalid command" not "invalid
>> option."
>>
>>
>> The on-line help still describes --user as a valid option and shows it
>> in the examples (after the command, by the way).
>>
>>
>> - Tim
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>