auth programe

Richard Huang endeavorhh0 at yahoo.com
Wed Jan 23 09:14:39 UTC 2008


hi,Master

According to below which from internet

Returning information to nnrpd
 Exit status and signals `0' to indicate success
 Returning a username and domain  user:username\r

I build my auth program and add it to readers.conf,I just want test whether out param is ok?

but new.notice show:

Jan 23 11:47:33 localhost nnrpd[5840]: 192.168.1.14 (192.168.1.14) connect
Jan 23 11:47:33 localhost nnrpd[5840]: 192.168.1.14 auth_err Semicolon seems to be missing at - line 1.
Jan 23 11:47:33 localhost nnrpd[5840]: 192.168.1.14 auth_err Semicolon seems to be missing at - line 2.
Jan 23 11:47:33 localhost nnrpd[5840]: 192.168.1.14 auth_err Semicolon seems to be missing at - line 3.
Jan 23 11:47:33 localhost nnrpd[5840]: 192.168.1.14 auth_err Semicolon seems to be missing at - line 4.
Jan 23 11:47:33 localhost nnrpd[5840]: 192.168.1.14 auth_err Semicolon seems to be missing at - line 5.
Jan 23 11:47:33 localhost nnrpd[5840]: 192.168.1.14 auth_err syntax error at - line 2, near "ClientIP"
Jan 23 11:47:33
 localhost nnrpd[5840]: 192.168.1.14 auth_err Execution of - aborted due to compilation errors.
Jan 23 11:47:33 localhost nnrpd[5840]: 192.168.1.14 bad_auth
Jan 23 11:47:33 localhost nnrpd[5840]: 192.168.1.14 times user 0.000 system 0.012 idle 0.003 elapsed 0.129

this is my perl source file:

#!/usr/bin/perl
return('user:hh\r');
exit 0;

I build it to execute file via perl2exe

Any one can give me reason ,some input and output param sample is better.

thanks very much!





      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs



More information about the inn-workers mailing list