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


Groups > comp.lang.python > #8280

Re: User Authentication

Date 2011-06-23 08:52 +0100
From Tim Golden <mail@timgolden.me.uk>
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>
Newsgroups comp.lang.python
Message-ID <mailman.318.1308815652.1164.python-list@python.org> (permalink)

Show all headers | 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