[Openswan Users] RES: RES: RES: RES: Openswan using Radius server forauthentication
Giovani Moda
giovani at mrinformatica.com.br
Tue Jun 3 08:19:31 EDT 2008
>Here's the clients.conf. Yes I'm using NETKEY. I've tried your
suggestions but I'm still getting the same error messages.
Your config is alright. The problem is somewhere else. I'm out of ideas
here... Maybe you should seek for help with the pppd guys at their
forum. Here is the code in pppd radius plugin that reports that error,
but I can't figure out what leads to it:
243 length = sizeof (salocal);
244 sin = (struct sockaddr_in *) & salocal;
245 memset ((char *) sin, '\0', (size_t) length);
246 sin->sin_family = AF_INET;
247 sin->sin_addr.s_addr = htonl(INADDR_ANY);
248 sin->sin_port = htons ((unsigned short) 0);
249 if (bind (sockfd, (struct sockaddr *) sin, length) < 0 ||
250 getsockname (sockfd, (struct sockaddr *) sin,
&length) < 0)
251 {
252 close (sockfd);
253 memset (secret, '\0', sizeof (secret));
254 error("rc_send_server: bind: %s: %m", server_name);
255 return (ERROR_RC);
256 }
As a last resort, is selinux disabled? Is pppd running as root? When and
if you find na answer, let me know. I came across sume guys with the
same error around, and I'm sure we could help them out. :-)
Giovani Moda
More information about the Users
mailing list