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
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to