Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #8280

Re: User Authentication

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <mail@timgolden.me.uk>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.005
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'from:addr:timgolden.me.uk': 0.09; 'from:name:tim golden': 0.09; 'ldap': 0.09; 'linux.': 0.09; 'message-id:@timgolden.me.uk': 0.09; 'wed,': 0.13; 'wrote:': 0.15; 'adam': 0.16; 'linux).': 0.16; 'python-ldap': 0.16; 'received:74.55.86': 0.16; 'received:74.55.86.74': 0.16; 'received:smtp.webfaction.com': 0.16; 'received:webfaction.com': 0.16; 'url:timgolden': 0.16; 'looked': 0.16; 'pm,': 0.16; 'this:': 0.16; '>>>': 0.16; 'linux,': 0.22; 'header:In-Reply-To:1': 0.22; 'windows': 0.27; 'somebody': 0.28; 'all,': 0.28; "didn't": 0.29; '22,': 0.30; 'tjg': 0.30; "won't": 0.32; 'header:User-Agent:1': 0.34; 'to:addr:python-list': 0.34; "can't": 0.34; 'installed': 0.35; 'url:python': 0.36; 'anything': 0.37; 'but': 0.37; 'received:192': 0.38; 'user': 0.38; 'something': 0.38; 'subject:: ': 0.38; 'should': 0.39; 'speak': 0.39; 'to:addr:python.org': 0.39; 'more': 0.60; 'from:addr:mail': 0.64; 'williams': 0.66; 'account': 0.66; 'jun': 0.67; 'guarantee': 0.71; '06:34': 0.84
Date Thu, 23 Jun 2011 08:52:49 +0100
From Tim Golden <mail@timgolden.me.uk>
User-Agent Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.18) Gecko/20110616 Lightning/1.0b2 Thunderbird/3.1.11
MIME-Version 1.0
To python-list@python.org
Subject Re: User Authentication
References <a69464bd-66e7-4855-8ca6-088ece799878@gv8g2000vbb.googlegroups.com> <mailman.280.1308751416.1164.python-list@python.org> <409b39e2-be8f-43c1-989a-b0ba862c3ba6@b21g2000yqc.googlegroups.com>
In-Reply-To <409b39e2-be8f-43c1-989a-b0ba862c3ba6@b21g2000yqc.googlegroups.com>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.318.1308815652.1164.python-list@python.org> (permalink)
Lines 31
NNTP-Posting-Host 82.94.164.166
X-Trace 1308815652 news.xs4all.nl 14145 [::ffff:82.94.164.166]:40136
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:8280

Show key headers only | View raw


On 23/06/2011 06:02, Anurag wrote:
> On Jun 22, 7:01 pm, Adam Tauno Williams<awill...@whitemice.org>
> wrote:
>> On Wed, 2011-06-22 at 06:34 -0700, Anurag wrote:
>>> Hi All,
>>
>>> I am working on application which needs to do a authentication against
>>> LDAP, if LDAP not installed then local system account (administrator
>>> user in windows and root user in Linux). This should work on both
>>> Windows and Linux.
>>
>> See python-ldap
>
> I looked into python-ldap, it supports ldap authentication. But I
> didn't find anything that support local system account authentication
> when no LDAP both in windows and Linux.

If you want local system authentication on Windows, you're going
to need something like this:

 
http://timgolden.me.uk/python/win32_how_do_i/check-a-users-credentials.html

> Ond more thing, somebody suggested me to use PAM. Is it a good choice
> and whether it supports both Windows and Linux? Please let me know
> which is best to use.

I can't speak for Linux, but I can guarantee that PAM won't
take you anywhere on Windows :)

TJG

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

User Authentication Anurag <anurag26@gmail.com> - 2011-06-22 06:34 -0700
  Re: User Authentication Tim Golden <mail@timgolden.me.uk> - 2011-06-22 15:00 +0100
  Re: User Authentication Adam Tauno Williams <awilliam@whitemice.org> - 2011-06-22 10:01 -0400
    Re: User Authentication Anurag <anurag26@gmail.com> - 2011-06-22 22:02 -0700
      Re: User Authentication Tim Golden <mail@timgolden.me.uk> - 2011-06-23 08:52 +0100
        Re: User Authentication Anurag <anurag26@gmail.com> - 2011-06-23 08:07 -0700
          Re: User Authentication Tim Golden <mail@timgolden.me.uk> - 2011-06-23 17:07 +0100
          Re: User Authentication Michael Ströder <michael@stroeder.com> - 2011-06-24 09:23 +0200

csiph-web