From 74d2166e5fad7901881ed61b4bb12f78ceec0d5f Mon Sep 17 00:00:00 2001
From: Simon McVittie <alexl@redhat.com>
Version 0.15
Revision History | ||
---|---|---|
Revision current | commit log | |
Revision 0.15 | 3 November 2010 | |
Revision 0.14 | 12 May 2010 | |
Revision 0.13 | 23 Dezember 2009 | |
Revision 0.12 | 7 November, 2006 | |
Revision 0.11 | 6 February 2005 | |
Revision 0.10 | 28 January 2005 | |
Revision 0.9 | 7 Januar 2005 | |
Revision 0.8 | 06 September 2003 | |
First released document. |
Table of Contents
Version 0.15
Revision History | ||
---|---|---|
Revision current | commit log | |
Revision 0.15 | 3 November 2010 | |
Revision 0.14 | 12 May 2010 | |
Revision 0.13 | 23 Dezember 2009 | |
Revision 0.12 | 7 November, 2006 | |
Revision 0.11 | 6 February 2005 | |
Revision 0.10 | 28 January 2005 | |
Revision 0.9 | 7 Januar 2005 | |
Revision 0.8 | 06 September 2003 | |
First released document. |
Table of Contents
D-Bus is a system for low-latency, low-overhead, easy to use interprocess communication (IPC). In more detail:
@@ -899,14 +899,14 @@ commands may be introduced both before, and after authentication, i.e. both before and after the OK command.
-
Figure 1. Example of successful magic cookie authentication
+Figure 1. Example of successful magic cookie authentication
(MAGIC_COOKIE is a made up mechanism) C: AUTH MAGIC_COOKIE 3138363935333137393635383634 S: OK 1234deadbeef C: BEGIN
-Figure 2. Example of finding out mechanisms then picking one
+Figure 2. Example of finding out mechanisms then picking one
C: AUTH S: REJECTED KERBEROS_V4 SKEY C: AUTH SKEY 7ab83f32ee @@ -915,14 +915,14 @@ S: OK 1234deadbeef C: BEGIN
-Figure 3. Example of client sends unknown command then falls back to regular auth
+Figure 3. Example of client sends unknown command then falls back to regular auth
C: FOOBAR S: ERROR C: AUTH MAGIC_COOKIE 3736343435313230333039 S: OK 1234deadbeef C: BEGIN
-Figure 4. Example of server doesn't support initial auth mechanism
+Figure 4. Example of server doesn't support initial auth mechanism
C: AUTH MAGIC_COOKIE 3736343435313230333039 S: REJECTED KERBEROS_V4 SKEY C: AUTH SKEY 7ab83f32ee @@ -931,7 +931,7 @@ S: OK 1234deadbeef C: BEGIN
-Figure 5. Example of wrong password or the like followed by successful retry
+Figure 5. Example of wrong password or the like followed by successful retry
C: AUTH MAGIC_COOKIE 3736343435313230333039 S: REJECTED KERBEROS_V4 SKEY C: AUTH SKEY 7ab83f32ee @@ -944,7 +944,7 @@ S: OK 1234deadbeef C: BEGIN
-Figure 6. Example of skey cancelled and restarted
+Figure 6. Example of skey cancelled and restarted
C: AUTH MAGIC_COOKIE 3736343435313230333039 S: REJECTED KERBEROS_V4 SKEY C: AUTH SKEY 7ab83f32ee @@ -957,7 +957,7 @@ S: OK 1234deadbeef C: BEGIN
-Figure 7. Example of successful magic cookie authentication with successful negotiation of Unix FD passing
+Figure 7. Example of successful magic cookie authentication with successful negotiation of Unix FD passing
(MAGIC_COOKIE is a made up mechanism) C: AUTH MAGIC_COOKIE 3138363935333137393635383634 @@ -966,7 +966,7 @@ S: AGREE_UNIX_FD C: BEGIN
-Figure 8. Example of successful magic cookie authentication with unsuccessful negotiation of Unix FD passing
+Figure 8. Example of successful magic cookie authentication with unsuccessful negotiation of Unix FD passing
(MAGIC_COOKIE is a made up mechanism) C: AUTH MAGIC_COOKIE 3138363935333137393635383634 @@ -1244,7 +1244,7 @@ fails, the lock fails. Servers should retry for a reasonable period of time, then they may choose to delete an existing lock to keep users from having to manually delete a stale - lock. [1] + lock. [1]Once the lockfile has been created, the server loads the cookie file. It should then delete any cookies that are old (the @@ -2010,7 +2010,7 @@
General syntax
Comment format
-
Figure 9. Example service description file
+Figure 9. Example service description file
# Sample service description file [D-BUS Service] Names=org.freedesktop.ConfigurationDatabase;org.gnome.GConf; @@ -2180,7 +2180,7 @@ allowing another process to set the selection between the verification and the setting (e.g., by using XGrabServer / XungrabServer). -[FIXME specify location of .service files, probably using DESKTOP_DIRS etc. from basedir specification, though login session bus is not really desktop-specific] @@ -2195,7 +2195,7 @@ variable. If that variable is not set, applications should try to connect to the well-known address
unix:path=/var/run/dbus/system_bus_socket
. - [2] + [2][FIXME specify location of system bus .service files]
@@ -2380,7 +2380,7 @@ There is also a per-machine ID, described in the section called “
org.freedesktop.DBus.Peer
” and returned by org.freedesktop.DBus.Peer.GetMachineId(). For a desktop session bus, the bus ID can be used as a way to uniquely identify a user's session. -This glossary defines some of the terms used in this specification.
[1] Lockfiles are used instead of real file +
[1] Lockfiles are used instead of real file locking
fcntl()
because real locking implementations are still flaky on network - filesystems.[2] + filesystems.
[2] The D-Bus reference implementation actually honors the
$(localstatedir)
configure option for this address, on both client and server side. -- cgit v1.2.3