[Linux-ha-dev] Bind/stat option for IPC Authentication
alanr at unix.sh
Fri Jun 18 12:09:30 MDT 2004
Andrew Beekhof wrote:
> I'm looking to apply the attached patch for providing IPC Authentication
> on machines that dont support SO_PEERCRED, SCM_CREDS or any of the other
> current options.
> From the patch:
> + * This implementation has been adapted from "Advanced Programming
> + * in the Unix Environment", Section 15.5.2, by W. Richard Stevens.
> I have taken the liberty of replacing USE_DUMMY_CREDS as I believe this
> should be portable - Matt perhaps you would like to test this for
> Solaris. If this turns out not to be the case I will happily add
> USE_DUMMY_CREDS back in also.
> Also, the choice for which option to use has been moved earlier in the
> file so that it can be observed by socket_client_channel_new().
This sounds generally reasonable.
From all I can tell from reading the web and Solaris documentation, that
Solaris doesn't support any authentication options of any kind for
sockets... If I understand correctly, it only supports authentication for
So, I believe you'll have to restore the USE_DUMMY_CREDS section of code...
Alan Robertson <alanr at unix.sh>
"Openness is the foundation and preservative of friendship... Let me claim
from you at all times your undisguised opinions." - William Wilberforce
More information about the Linux-HA-Dev