Stas Bekman wrote:
Is anybody familiar with RFC1413?

Sadly, yes, I am.

We provide this API but there is no test. Any takers to write this test?

Writing a test like this one will prove to be near impossible. You need to be root to run the identd deamon, and I am not sure it would be wise to get the test-suite to try and start/listen on the identd port ? Too bad you can't configure what port httpd's ident queries go thru.

Not sure there is anything we can do. I mean, we can call the function
to make sure it is there, but as to being able to validate/verify what
comes back from it, I don't quite think so.

I suppose it requires identd or auth daemon...

=head2 C<get_remote_logname>

Retrieve the login name of the remote user.  Undef if it could not be
determined
RFC1413, which involves querying the client's identd or auth daemon.

   $ret = $r->get_remote_logname();

=over 4

=item obj: C<$r>
( C<L<Apache::RequestRec object|docs::2.0::api::Apache::RequestRec>> )

The current request

=item ret: C<$ret> (string)

The user logged in to the client machine

=item since: 1.99_12

=back


-- -------------------------------------------------------------------------------- Philippe M. Chiasson m/gozer\@(apache|cpan|ectoplasm)\.org/ GPG KeyID : 88C3A5A5 http://gozer.ectoplasm.org/ F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 88C3A5A5

Attachment: signature.asc
Description: OpenPGP digital signature



Reply via email to