|
|
Choosing A Webhost: |
Re: DBus Over multiple machines: msg#00030freedesktop.dbus
On December 12, 2003 5:42 pm, Willem Dantuma wrote: > I submitted a patch about a month ago to add SASL authentication to d-bus ... > when the patch is applied you can do something like this: > > ------ > > dbus_bool_t get_username(**username) { > > *username="username"; > > return TRUE; > } > > dbus_boot_t get_password(**password( { > > *password="password"; > return TRUE; > } > > DBusConnection *busConnection = dbus_connection_open( address, &busError > ); dbus_connection_set_get_username_function(busConnection,get_username); > dbus_connection_set_get_password_function(busConnection,get_password); > dbus_bus_register( busConnection , &busError ); Ok, I get how to set the username and password functions for the connecting client. I do not, however, see how I set what usernames and passwords are authorized on the server end. Do you have to call something after dbus_bus_register ? The details on this type of thing are extremely sketchy i the API docs and examples.
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | D-BUS C++ bindings, Murray . Cumming-OjwGQPBioPdBDgjK7y7TUQ |
|---|---|
| Next by Date: | Re: DBus Over multiple machines, Willem Dantuma |
| Previous by Thread: | Re: DBus Over multiple machines, Willem Dantuma |
| Next by Thread: | Re: DBus Over multiple machines, Willem Dantuma |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home
| advertise | OSDir is
an inevitable website.
|