Monday, February 25, 2013

Re: Impossible? Django with NTLM SSO auth on windows?

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBAgAGBQJRK9DrAAoJEFjlhRo+xFTEcIYQAIs92KoDpBJHym/m83T1QkLU
Ew5BKu4S12T6FNGKV/7EkLAziErTMSXklnLpLSCQsEV5so71lRxYh+G9d5PUSyij
EpXmIcEu95jFAJZd8O4Ht02DvD4oSpVWp8bnqRMmAuwgkoAVFAizPFXGVEaJ9Kk4
Z50DbxWHXoMplNBzEcQUACaEyrPojTQuuB6pAFA2cfe7Bpin0mDzL7X6FIZvjj26
euzPJ6sWyCcoNHeCsmI7TdYWC5wonT+NTllMwPkvi5LZQmCPQXjRuXcD2gbrDoI6
tTOgicInngIu8Xbs/cijEX1+HJlMqysdPl8TX6igA0JDt5rwLBM4SBvQeLPD4S65
y5Q+hyY1P7oFkmfcFVYLTkLaZp0NEi7eaMVM9a5n/yg88/AT56vWepwEkLBWMPuf
FnEUZRQzfI1ZcdkRQWIpXdoK3RqR1WWF9Gl/60wtjJ3nWIiZhK5tMhDh5QNHmcz9
3FL7WZSoy6zBc/onUAqGHVYlear26nd7u0l6wq/sSnwx4S0W4Z96+jHONjoSyajV
12h82e6yTK9ELmdCYm3yqoebiB0pV4v+cFydgHO9bXTWUbOSgK3Rg9MD8/RyWG7L
CKEBgcHRv0RludxiTdXVyzsBEwo/+OSnVIKyadV/0ll581byQRPjYm0kiSv0JSb+
9ulZ8ghAij9HCHF4JNDW
=jYDl
-----END PGP SIGNATURE-----
On Mon, 25 Feb 2013 21:06:33 +0100
Anton <antonxx@gmx.de> wrote:

> Hi,
>
> I am using my django in the following way:
>
> OS: Windows 7 (64 bit)
>
> + Python 2.7.3 (32bit)
>
> + apache 2.4.3 (32 bit) from apachelounge
> (I use the version which was build with vs2008 like python 2.7.3)
> http://www.apachelounge.com/download/win32/binaries/httpd-2.4.3-win32-
> VC9.zip
>
> + django 1.4.5
>
> + mod_wsgi 3.4 (32 bit) from http://code.google.com/p/modwsgi/
> (compiled manually with vs2008 since no binaries available)
>
> I would like to use the typical Windows intranet scenario
> where you have a single-sign-on with the internet explorer.
>
> At least in our company the ASP .NET powered intranet sites
> work fine with this.
>
> I googled around, as if I understood right, this auth system
> is called NTLM and if you want to use it, you need
> the apache module "mod-auth-sspi".
>
> If I look at the project page
> http://sourceforge.net/projects/mod-auth-sspi/?source=dlp
> I see only stuff dated from 2011 and only for *apache 2.2*.
>
> And if I read this article on apachelounge:
>
> http://www.apachelounge.com/viewtopic.php?t=4548
>
> then there will be *never* a support for Apache 2.4.
>
> In the Django docs:
> "Authentication using REMOTE_USER"
> https://docs.djangoproject.com/en/1.4/howto/auth-remote-user/
>
> you get links to mod_auth_sspi but its has be forgotten to mention
> that this module (seems) now obsolete.
>
> So the question is:
>
> Is it possible to obtain SSO with Django on a Windows powered machine,
> or do I have to give up and try my luck with ASP.NET or perhaps php
> for windows or whatever.
>
> I love Django & python, but I am here in a dead end.
>
> Is there somebody using this scenarion (which is quit common in big
> companies)?
>
> Thanks.
> Anton
>

Hm... Did you maybe think about using Kerberos part of the AD for
authentication instead?

Best regards

--
Branko Majic
Jabber: branko@majic.rs
Please use only Free formats when sending attachments to me.

Бранко Мајић
Џабер: branko@majic.rs
Молим вас да додатке шаљете искључиво у слободним форматима.

No comments:

Post a Comment