David Hláčik wrote:
> As you can see :
> Jun 5 13:33:12 dev01 nnrpd[9550]: python: Error: No module named py
> comes from nnrpd_auth.py :
Frankly I don't see anything I can understand or for what I have a clue
how to help you.
> Alltought when i pass it to INN, when INN calls nnrpd_auth.py and
As you can see :
Jun 5 13:33:12 dev01 nnrpd[9550]: python: Error: No module named py
comes from nnrpd_auth.py :
try:
if
self.__newsauth(str(attributes['user']),str(attributes['pass'])):
syslog('notice', 'authentication by username
succeeded')
FYI,
this is the result of test.py :
-- syslog level: notice message: nnrpd authentication class instance created
** set_auth_hook for
-- syslog level: notice message: authentication module successfully hooked
into nnrpd
-- syslog level: notice message: nnrpd authentication class instance created
FYI,
this is the result of test.py :
-- syslog level: notice message: nnrpd authentication class instance created
** set_auth_hook for
-- syslog level: notice message: authentication module successfully hooked
into nnrpd
-- syslog level: notice message: nnrpd authentication class instance created
Hello, i am trying to write python authentification hook for
InternetNewsService (INN) using *python-ldap module*
I have created nnrpd_auth.py ,which is working for me, when i am calling it
from my test.py script.
Alltought when i pass it to INN, when INN calls nnrpd_auth.py and comes to
line *wh