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
Hi all,
I got a Review Board install up and running on Windows, which was no
small feat. It was working really well, and I'm really impressed with
the tool.
I got a little ambitious and tried switching to Active Directory
authentication, after installing python-ldap from here:
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
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.
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
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