public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] CancelBondingProcess -> Not authorized
@ 2008-07-02  8:50 Fritz Code
  2008-07-02  9:12 ` Marcel Holtmann
  0 siblings, 1 reply; 6+ messages in thread
From: Fritz Code @ 2008-07-02  8:50 UTC (permalink / raw)
  To: bluez-users


[-- Attachment #1.1: Type: text/plain, Size: 419 bytes --]

Want to cancel a running bonding process by sending CancelBondingProcess.
But as a reply I get Not authorized, unfortunately.
What might be the problem (However, I'm root)?

In case I can send this message how can i detect a correct cancellation of
the BondingProcess?
In dbus-api.txt I've read something about the Signal AthenticationCanceled
but from which Interface gets this send?

thanks

-- 
Regards,
--Codefritz

[-- Attachment #1.2: Type: text/html, Size: 490 bytes --]

[-- Attachment #2: Type: text/plain, Size: 347 bytes --]

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Bluez-users] CancelBondingProcess -> Not authorized
  2008-07-02  8:50 [Bluez-users] CancelBondingProcess -> Not authorized Fritz Code
@ 2008-07-02  9:12 ` Marcel Holtmann
  2008-07-02  9:32   ` Fritz Code
  0 siblings, 1 reply; 6+ messages in thread
From: Marcel Holtmann @ 2008-07-02  9:12 UTC (permalink / raw)
  To: BlueZ users

Hi Fritz,

> Want to cancel a running bonding process by sending
> CancelBondingProcess.
> But as a reply I get Not authorized, unfortunately.
> What might be the problem (However, I'm root)? 

only the program (with the unique D-Bus bus id) can call this method.
Same as that we will cancel any attempt automatically if the caller
dies.

Regards

Marcel



-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Bluez-users] CancelBondingProcess -> Not authorized
  2008-07-02  9:12 ` Marcel Holtmann
@ 2008-07-02  9:32   ` Fritz Code
  2008-07-02  9:57     ` Marcel Holtmann
  0 siblings, 1 reply; 6+ messages in thread
From: Fritz Code @ 2008-07-02  9:32 UTC (permalink / raw)
  To: BlueZ users


[-- Attachment #1.1: Type: text/plain, Size: 1257 bytes --]

Hi Marcel,

well I guess you mean only the same programm which has sent the
CreateBonding signal can also send the CancelBonding signal? (no
reconnection between so that it doesn't change its d-bus bus id)
But thats the case!

Fritz

On Wed, Jul 2, 2008 at 11:12 AM, Marcel Holtmann <marcel@holtmann.org>
wrote:

> Hi Fritz,
>
> > Want to cancel a running bonding process by sending
> > CancelBondingProcess.
> > But as a reply I get Not authorized, unfortunately.
> > What might be the problem (However, I'm root)?
>
> only the program (with the unique D-Bus bus id) can call this method.
> Same as that we will cancel any attempt automatically if the caller
> dies.
>
> Regards
>
> Marcel
>
>
>
> -------------------------------------------------------------------------
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lameness
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-users
>



-- 
Regards,
--Codefritz

[-- Attachment #1.2: Type: text/html, Size: 1863 bytes --]

[-- Attachment #2: Type: text/plain, Size: 347 bytes --]

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Bluez-users] CancelBondingProcess -> Not authorized
  2008-07-02  9:32   ` Fritz Code
@ 2008-07-02  9:57     ` Marcel Holtmann
  2008-07-02 10:09       ` Fritz Code
  0 siblings, 1 reply; 6+ messages in thread
From: Marcel Holtmann @ 2008-07-02  9:57 UTC (permalink / raw)
  To: BlueZ users

Hi Fritz,

> well I guess you mean only the same programm which has sent the
> CreateBonding signal can also send the CancelBonding signal? (no
> reconnection between so that it doesn't change its d-bus bus id)
> But thats the case!

show us your testing program. You are using bluez-utils-3.35?

Regards

Marcel



-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Bluez-users] CancelBondingProcess -> Not authorized
  2008-07-02  9:57     ` Marcel Holtmann
@ 2008-07-02 10:09       ` Fritz Code
  2008-07-02 12:23         ` Marcel Holtmann
  0 siblings, 1 reply; 6+ messages in thread
From: Fritz Code @ 2008-07-02 10:09 UTC (permalink / raw)
  To: BlueZ users


[-- Attachment #1.1: Type: text/plain, Size: 1263 bytes --]

Im using utils-3.31.
Programm is coming soon..

Might the scenario when I get on the bus with dbus_bus_get(), sending
CreateBonding message and now do a dbus_connection_unref (accidently) after
that try to send the CancelBonding message result in this error?

> well I guess you mean only the same programm which has sent the
> CreateBonding signal can also send the CancelBonding signal?
Is that true so far?





On Wed, Jul 2, 2008 at 11:57 AM, Marcel Holtmann <marcel@holtmann.org>
wrote:

> Hi Fritz,
>
>  (no
> > reconnection between so that it doesn't change its d-bus bus id)
> > But thats the case!
>
> show us your testing program. You are using bluez-utils-3.35?
>
> Regards
>
> Marcel
>
>
>
> -------------------------------------------------------------------------
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lameness
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-users
>



-- 
Regards,
--Codefritz

[-- Attachment #1.2: Type: text/html, Size: 1931 bytes --]

[-- Attachment #2: Type: text/plain, Size: 347 bytes --]

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Bluez-users] CancelBondingProcess -> Not authorized
  2008-07-02 10:09       ` Fritz Code
@ 2008-07-02 12:23         ` Marcel Holtmann
  0 siblings, 0 replies; 6+ messages in thread
From: Marcel Holtmann @ 2008-07-02 12:23 UTC (permalink / raw)
  To: BlueZ users

Hi Fritz,

> Im using utils-3.31.

start using 3.35 since we fixed a lot of stuff.

> Programm is coming soon..
> 
> Might the scenario when I get on the bus with dbus_bus_get(), sending
> CreateBonding message and now do a dbus_connection_unref (accidently)
> after that try to send the CancelBonding message result in this error?

Yes.

> > well I guess you mean only the same programm which has sent the
> > CreateBonding signal can also send the CancelBonding signal?
> Is that true so far?

Yes.

Regards

Marcel



-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-07-02 12:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-02  8:50 [Bluez-users] CancelBondingProcess -> Not authorized Fritz Code
2008-07-02  9:12 ` Marcel Holtmann
2008-07-02  9:32   ` Fritz Code
2008-07-02  9:57     ` Marcel Holtmann
2008-07-02 10:09       ` Fritz Code
2008-07-02 12:23         ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox