<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV>Hi there,</DIV>
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt">
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt">
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt">
<DIV>&nbsp;</DIV>
<DIV>You might remember me from ~ a year ago, when I was asking a few questions related to integrating Cyrus SASL2 into DBus in order to enable remote (i.e., over TCP/IP) authentication via username/password or whatever other SASL plugin. Well, I managed to get this mostly working quite some time ago, and then got busy. Recently, I decided to drag this thing out of stasis and get it cleaned up and contributed. Patch will be forthcoming sometime soon.</DIV>
<DIV>&nbsp;</DIV>
<DIV>As part of tidying up, I jumped forward from v1.2.3 to v1.3.0. One thing that caught my attention during the merge was the addition to dbus-auth.h/c of some stuff for negotiating something about passing unix file descriptors. This caused me to take a second look at the architecture for setting up the DBus connection, and I noticed a few things that seem wrong:</DIV>
<P>&nbsp; -- DBusTransport owns the DBusAuth, and delegates its portion of the connection negotiation conversation to the DBusAuth. This is why DBusAuth has fields for storing stuff related to file descriptors (which are really a "transport" feature). IMO, the DBusAuth and DBusTransport ought to be siblings, underneath the DBusConnection, and each of them should get to participate in the connection setup. Then, there's no need to stuff auth-related stuff into DBusTransport, and vice versa. This seems like something that I know enough to fix.</P>
<P>&nbsp; -- DBusAuth doesn't distinguish between "authenticated" and "authorized". I haven't yet found any bugs in the code related to this, but it seems like a bug waiting to happen. "Authenticated" should mean "I know who you are", whereas "authorized" should mean "I permit you to acccess the bus". Thus, it's perfectly reasonable and meaningful to say "the client successfully authenticated (i.e., the username/password match) but authorization was denied (i.e., because of some policy)". I'm inclined to fix this as well.</P>
<P>&nbsp;</P>
<P>Does that sound reasonable?</P>
<P>&nbsp;</P>
<P>Also, what's the process for submitting patches? I saw on the website that Bugzilla is where the patch should be submitted, but there wasn't a lot of detail on the procedure. Do I open a new bug saying "DBus auth code uses confusing terminology" and then atttach the patch to it?</P>
<P>&nbsp;</P>
<P>Finally, when I do submit the patch(es) how would y'all prefer that I do so? It seems to me that it would be best to do it in several patches, rather than in one big one, since that will make it easier to review each one. Do y'all agree?</P>
<P>&nbsp;</P>
<P>Thanks,</P>
<P>R</P></DIV><BR>
<META content=on http-equiv=x-dns-prefetch-control></DIV></DIV></div><br>

      </body></html>