title: django-auth-ldap - find if user belongs to a ldap group
body: <p>I am trying to configure ldap authentication for a django project. Where all users should be able to access the web services ( I achieved this ). I would like to make few people (part of ldap group) as admins. I need to verify if logged in user belongs to a ldap group. </p>
  
  <p>I am not using Django default authentication backend and not planning to use as well. </p>
  
  <p>Is there any simple way to find if user belongs to a particular ldap group ?</p>
  
  <p>I tried to read and understand "<a href="https://pythonhosted.org/django-auth-ldap/index.html" rel="nofollow">https://pythonhosted.org/django-auth-ldap/index.html</a>" but it is at very high level and without examples. </p>