Thanks a lot, Javier! There were a few caveats to getting this to work
for me, but I've gotten there, finally!
For anyone else who wants to use this solution, check out this posting
by a bloke named Andre, who was extremely helpful when I emailed him
asking for a bit of a hand:
http://andre.liqu
nk is purged from
> their session. Of course, this also means that Django would have to
> either serve the file itself, or you would have to rename the file on
> disk after every access .. which would be lame.
>
> On Aug 13, 11:00 am, stupidgeek wrote:
>
> > Hi there,
>
&
Hi there,
So I'm practically done with my first django site (i've worked with
PHP for years, and I'm so glad I found django), but I am having some
trouble with securing files; let me explain:
I've written a faculty review system, with tight checks on access for
reviews, based on committees, etc.
return None
Many thanks again to David and Peter.
Brenton.
On Aug 12, 12:31 pm, David De La Harpe Golden
wrote:
> stupidgeek wrote:
> > def get_user(self, username):
> > try:
> > user = User.objects.get(username=username)
> > pr
8/12/2009 11:17 AM, stupidgeek wrote:
>
>
>
> > Hi all,
>
> > I'm having a strange problem. I wrote a basic LDAP backend, to
> > authenticate users against our open directory server:
>
> > [snip]
>
> > Note that the print user line works, so a valid
Hi all,
I'm having a strange problem. I wrote a basic LDAP backend, to
authenticate users against our open directory server:
from django.contrib.auth.models import User
import ldap
import ldap.sasl
class LDAPBackend:
def authenticate(self, username=None, password=None):
if username
6 matches
Mail list logo