RE: Secrets D-Bus Interface

On Thu, 2009-02-26 at 18:51 -0500, Philip A. Culver wrote:
> Hi Dan,
> I call Connection.GetSettings to get the map of settings.  The
> "wep-tx-keyidx" value is not in the 802-11-wireless-security submap.  This
> is being called from a process running as root.

Is the key index is the 'default' value (ie, 0) it won't necessarily
show up in the dict because default values don't.  If the key index in
the keyfile is either 1, 2, or 3, then I'd expect it to show up, and not
showing up in the GetSettings response would be a bug.


> I will double check in the morning that I am setting the value properly when
> creating the connection.  I do see the entry in the file created by the
> keyfile plugin in the system-settings directory.
> Thanks,
> Phil 
> -----Original Message-----
> From: Dan Williams [mailto:dcbw redhat com] 
> Sent: Thursday, February 26, 2009 11:14 AM
> To: Philip Culver
> Cc: networkmanager-list gnome org
> Subject: Re: Secrets D-Bus Interface
> On Wed, 2009-02-25 at 16:42 -0500, Philip Culver wrote:
> > Hi,
> > 
> > I was hoping someone here could help me out.  I need to obtain the
> > currently configured WEP Key Index for a system connection stored via
> > the keyfile plugin.   This setting doesn't come with the normal
> > Connection properties so I assume I need to query the Secrets interface
> > to do so.   I am not sure what values I need to pass for the
> > setting_name and hints parameters to retrieve this value.  I have tried
> > a few different combinations without success.
> The WEP key index ("wep-tx-keyidx") should come through with the rest of
> the connection settings, as long as it's set in the connection.  Is that
> not what you're seeing?
> Dan

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]