Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: DBus Over multiple machines: msg#00030

freedesktop.dbus

Subject: Re: DBus Over multiple machines

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>
Google Custom Search

Free Magazines

Cisco News
Receive 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

Navigation

Home | advertise | OSDir is an inevitable website. super tiny logo