No, it's not. We should fix this so it's only imported as needed.

Would you mind filing a bug?

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.review-board.org
VMware, Inc. - http://www.vmware.com


On Tue, Jul 28, 2009 at 6:40 PM, neil <neil.trim...@gmail.com> wrote:

>
> Great thanks.
> Commented out
> import crypt
> in
> reviewboard/accounts/backends.py
>
> I then get error about import nis in the same file
> Commented that out and appears to work OK
>
> Is commenting out the nis likely to break something?
>
>
>
> On Jul 29, 1:05 pm, Dan Savilonis <d...@n-cube.org> wrote:
> > crypt is only available in unix versions of python. Perhaps no one has
> > tried using LDAP on a Windows install. This module isn't needed for
> > for LDAP, so you could try removing the import from backends.py to
> > verify whether you can set up LDAP authentication.
> >
> > Dan
> >
> > On Jul 28, 6:43 pm, neil <neil.trim...@gmail.com> wrote:
> >
> >
> >
> > > The win32 installer for 2.5 does not appear to include crypt
> >
> > > On Jul 28, 5:40 pm, Christian Hammond <chip...@chipx86.com> wrote:
> >
> > > > Where did you install Python from? It should be part of Python. The
> Python
> > > > 2.5 or 2.6 installer from python.org includes it.
> >
> > > > Christian
> >
> > > > --
> > > > Christian Hammond - chip...@chipx86.com
> > > > Review Board -http://www.review-board.org
> > > > VMware, Inc. -http://www.vmware.com
> >
> > > > On Mon, Jul 27, 2009 at 9:57 PM, neil <neil.trim...@gmail.com>
> wrote:
> >
> > > > > I am running 1.0 on windows.
> > > > > I have tried to enable ldap authentication.
> >
> > > > > I have done
> > > > > easy_install python_ldap
> >
> > > > > but get an error "No module named crypt"
> >
> > > > > It looks like reviewboard/accounts/backends.py attempts to import
> > > > > crypt
> >
> > > > > Where do I get a windows version of this from?
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To post to this group, send email to reviewboard@googlegroups.com
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to