Coder Social home page Coder Social logo

django-auth-ldap-ad's People

Contributors

cmemery avatar hanskait avatar nanonyme avatar rsp2k avatar susundberg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

django-auth-ldap-ad's Issues

Create a pypi package

I'm using a copy of your project in many projects I build, and you have done a great job !
This package is really awesome... and easy to use !

Do you project to put it into pypi ? We could install it directly :
$ pip install django-auth-ldap-ad
This would be amazing...

Thanks !

Lookup arbitrary user

First, sorry for filing an issue for this, but I could not find another way of contacting you. I would like to add functionality to this module to be able to look up user information (first_name, email, etc.) for arbitrary users, not just the currently logged in user.

I think what needs to be done is implementing an LDAPSearch class. I would just like to know before I try to look into this: would you want something like this in such a lightweight module? And: What source should I be looking at for the official protocol for implementing such a search?

cac authenication

I would like cac/pki certification with my django app.

Any suggestions or pointers?

I found this but they just said:
"I just did this today by subclassing django.contrib.auth.middleware.RemoteUserMiddleware and changed the header property to the one I had set in my apache conf. I just added the django.contrib.auth.backends.RemoteUserBackend and my middleware to the settings and it works perfectly."

seems this might be similar to ldap authentication as well?

I really don't know much about cac/pki except that I am tired of logging in through username/password...

AUTH_LDAP_SERVER_URI must be a list

even if it's only one URI. The default value and README.md are not so clear about this. If in settings.py I use:

'ldap://myserver'

instead of:

['ldap://myserver']

I get LDAPError 2, 'No such file or directory' and 34, 'Numerical result out of range'.

"Why" section

Just wanted to say, I found the "Why" section of your README very useful. Everybody should do it!

In this case it really helped answer the first question that popped into my head, "why wouldn't I use the other more mature one".

Port to Python3

This is more a result of investigation than feature request. At this point ldap3 supports both Python2 and Python3 so I'm proposing following migration plan (and am hoping to be able to further it myself)

  1. Migrate from ldap-python to ldap3 without caring about Python3 compat
  2. Add test harness for Python3
  3. Fix test and code until everything passes with both Python2 and Python3
    I'm proposing minimum requirements to be set to later builds of 2.7 and 3.3 branches as sensible since syntax overlap is significant

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.