On Mon, 2010-02-22 at 01:45 +0100, Marc Schiffbauer wrote:
> Hi all,
>
> does anybody have an idea of what I must do to be able to use the
> "setip" command from within a client's console?
>
>
> I can access the director through a console on the client:
>
> # On Director (bacula-dir.conf):
> Director {
> Name = lisa-dir
> [...]
> Password = "password1"
> }
> ----------------
> # On the client (bconsole.conf):
> Director {
> Name = lisa-dir
> [...]
> Password = "password1"
> }
>
>
> from the client:
>
> Connecting to Director lisa:9101
> 1000 OK: lisa-dir Version: 5.0.0 (26 January 2010)
> Enter a period to cancel a command.
> [ all kinds of commands working, but: ]
> *setip
> Unauthorized command from this console.
> *
>
> What console rsources must I set up and how?
>
>
> I already tried this in bacula-dir.conf:
> Console {
> Name = bart-fd
> Password = "password2"
> CommandACL = SetIP # I also tried 'setip' (lowercase)
> }
>
> and with this in bconsole.conf on the client:
>
> Console {
> Director = lisa-dir
> Name = bart-fd
> Password = "password2"
> }
>
> Now, I cannot do anything on the director from the client:
>
> client:# bconsole
> Connecting to Director lisa:9101
> 1000 OK: lisa-dir Version: 5.0.0 (26 January 2010)
> Enter a period to cancel a command.
> *setip
> Unauthorized command from this console.
> *status
> status: is an invalid command.
> *help
> help: is an invalid command.
> *
>
> So it seems to use the new configuration where only "setip" should work, not?
----
shouldn't this...
> and with this in bconsole.conf on the client:
>
> Console {
> Director = lisa-dir
> Name = bart-fd
> Password = "password2"
> }
be
Console {
Director = bart-dir
Name = bart-dir
Password = "password1"
}
?
Craig
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|