diff -r 000000000000 -r bde4ae8d615e os/ossrv/ofdbus/dbus/data/auth/fallback.auth-script --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/os/ossrv/ofdbus/dbus/data/auth/fallback.auth-script Fri Jun 15 03:10:57 2012 +0200 @@ -0,0 +1,17 @@ +## this tests that a client can fallback to a secondary auth mech + +CLIENT + +## Will try EXTERNAL by default first without first calling AUTH alone. + +EXPECT_COMMAND AUTH +SEND 'REJECTED EXTERNAL DBUS_COOKIE_SHA1 DBUS_TEST_NONEXISTENT_MECH' + +## And this time we get DBUS_COOKIE_SHA1 + +EXPECT_COMMAND AUTH +## of course real DBUS_COOKIE_SHA1 would not send this here... +SEND 'OK 1234deadbeef' + +EXPECT_COMMAND BEGIN +EXPECT_STATE AUTHENTICATED