Re: module ldap : no module named .py

2008-06-05 Thread Michael Ströder
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

Re: module ldap : no module named .py

2008-06-05 Thread David Hláčik
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')

Re: module ldap : no module named .py

2008-06-05 Thread David Hláčik
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

Re: module ldap : no module named .py

2008-06-05 Thread David Hláčik
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

module ldap : no module named .py

2008-06-05 Thread David Hláčik
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