pam_radius + saslauthd + cyrus imapd
Fatemeh Taj
fatemeh53 at yahoo.com
Tue Jun 8 04:53:58 UTC 2004
There is no blank line after my settings :(
--- Joe Lewis <joe at joe-lewis.com> wrote:
> After the :
>
> pam_radius_auth: Unable to open socket5: Success
> Jun 7 10:22:34 test saslauthd[16217]:
> pam_radius_auth: Not handling
> blank line: # server[:port] shared_secret
> timeout (s)
>
> That looks fine. It means that the first line (a
> comment) is being
> seen. After that, you should get a line :
>
> Unable to open socket8: Success
>
> in the logs, as well. What I am looking for is to
> check after the
>
> Unable to open socket8: Success
> Unable to open socket10: Success
>
> lines in the output, and THEN you might have :
>
> test saslauthd[16217]: pam_radius_auth: Not
> handling
> blank line:
>
> lines. You should have a LOT of these lines if we
> are in an endless
> loop and the EOF on the fserver file handle are
> failing to return truth.
> It may be OS specific. Perhaps add one more
> line :
>
> _pam_log(LOG_ERR, "feof(fserver): %d\n",
> feof(fserver));
>
> Just inside the while loop. Each pass should print
> the feof output (a
> couple should return 0, and then you should get
> non-zero results). If
> these numbers match, the while loop should fail, and
> you will get a
>
> Unable to open socketAAA: Success
>
> logged. However, I don't think that is happening.
> Perhaps a blank line
> at the end of the /etc/raddb/servers may change how
> things work. Try it
> and tell me what happens on that.
>
> Joe
>
> Fatemeh Taj wrote:
>
> > First I should say thanks for your continous help.
> I
> > did what you said. You are right it has problem
> with
> > blanks. Here is the result:
> >
> > There are same results when /etc/raddb/server is
> > configured normally and also when I add some blank
> > lines after IP address.
> >
> > Jun 7 10:22:34 test saslauthd[16217]:
> rel_accept_lock
> > : released accept lock
> > Jun 7 10:22:34 test saslauthd[16218]:
> get_accept_lock
> > : acquired accept lock
> > Jun 7 10:22:34 test saslauthd[16217]:
> > pam_radius_auth: Got user name fatemeh
> > Jun 7 10:22:34 test saslauthd[16217]:
> > pam_radius_auth: Unable to open socket5:
> > Success
> > Jun 7 10:22:34 test saslauthd[16217]:
> > pam_radius_auth: Not handling blank line:
> > # server[:port] shared_secret timeout (s)
> >
> > Now how I should solve this problem? By the way,
> why
> > it does not go furthur to socket10 or socket23
> tags ?
> >
> > Thanks
> > Fatemeh Taj
> >
> >
> >
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > Friends. Fun. Try the all-new Yahoo! Messenger.
> > http://messenger.yahoo.com/
> >
> >
> > _______________________________________________
> > Pam-list mailing list
> > Pam-list at redhat.com
> > https://www.redhat.com/mailman/listinfo/pam-list
>
>
> _______________________________________________
> Pam-list mailing list
> Pam-list at redhat.com
> https://www.redhat.com/mailman/listinfo/pam-list
__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/
More information about the Pam-list
mailing list