system_list now works as expected only listing hosts available to the
user credentials presented.  After finding the .spacecmd/<host>/session
file and 0'ing it out.

Aaron Prayther

-----Original Message-----
From: spacewalk-list-boun...@redhat.com
[mailto:spacewalk-list-boun...@redhat.com] On Behalf Of Aron Parsons
Sent: Monday, November 29, 2010 12:16 PM
To: prayt...@gmail.com; spacewalk-list@redhat.com
Subject: Re: [Spacewalk-list] spacecmd system_list

The behavior you're seeing on your system is not correct.  The
system.listSystems API 
call that spacecmd uses only lists systems that are visible to the
current user, which
should only be the systems in your organization.  This is the behavior I
see on Spacewalk
1.2.

Can you clear your spacecmd caches and see if you can replicate the
issue?

/aron

----- Original Message -----
From: "aaron prayther" <prayt...@gmail.com>
To: spacewalk-list@redhat.com
Sent: Monday, November 29, 2010 10:39:59 AM GMT -05:00 US/Canada Eastern
Subject: [Spacewalk-list]  spacecmd system_list

spacecmd --username='username1' --password='PASSWD' -- system_list

I was hoping that this command would only bring back system host names
that
the users "organization" had access to.  it appears to bring back the
system
host names from all organizations on the satellite server regardless of
organization.

is this a bug or am i doing something silly?

Regards,

Aaron

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to