Re: How do I switch back to account authentication?

2009-01-27 Thread Jeremy G
On Jan 26, 6:33 pm, Christian Hammond chip...@chipx86.com wrote: Funny, I don't remember other people running into this, but I can see how one might... We probably should just have the imports for nis and crypt reside in the classes that use them, and then just catch the ImportError and do

Re: How do I switch back to account authentication?

2009-01-26 Thread Christian Hammond
Hi Jeremy. From the exception, it sounds like you don't have the crypt module. What version of Python are you running and how did you install it? If you can look for some missing crypt model, you may be able to fix this quickly and log in again. If not, I'll work up a small set of instructions

Re: How do I switch back to account authentication?

2009-01-26 Thread Jeremy G
OK, that makes sense. Good call on the backup the DB approach. It looks like maybe Windows implementations of Python don't use crypt - it's POSIX only? When I just fire up my standard interpreter and try 'import crypt', I get ImportError: No module named crypt.

Re: How do I switch back to account authentication?

2009-01-26 Thread Jeremy G
Having fun replying to myself here... http://www.python.org/doc/2.5.2/lib/module-nis.html 16.14 nis -- Interface to Sun's NIS (Yellow Pages) Availability: UNIX. The nis module gives a thin wrapper around the NIS library, useful for central administration of several hosts. Because NIS exists

Re: How do I switch back to account authentication?

2009-01-26 Thread Christian Hammond
Funny, I don't remember other people running into this, but I can see how one might... We probably should just have the imports for nis and crypt reside in the classes that use them, and then just catch the ImportError and do the right thing if it doesn't exist. Christian -- Christian Hammond