SSPI Probleme

Irgendwelche Probleme mit XAMPP für Windows? Dann ist hier genau der richtige Ort um nachzufragen.

SSPI Probleme

Postby r_hauser » 24. April 2006 14:53

Hallo,

Meine letzte Xampp-Insatallation:xampp-win32-1.4.12.exe lief problemlos.
Nach Installing der neuen Version von Xampp: xampp-win32-1.5.1.exe
traten Probleme mit dem Auto-Login per SSPI-Module auf.

Bei Aufruf der Anwendung erschien ein Login-Window. Nach Eingabe der Login-Infos - wurde folgende Fehlermeldung produziert:
Authorization Required
This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.
Additionally, a 401 Authorization Required error was encountered while trying to use an ErrorDocument to handle the request.

Apache/2.2.0 (Win32) DAV/2 mod_autoindex_color mod_auth_sspi/1.0.1 PHP/5.1.1 Server at xxxxxxx Port 80

-------------------------------------------------------------------------------------------------------------------------

Ein Versuch, die SSPI-Module: mod_auth_sspi.so and sspipkgs.exe neu aufzuspielen, schlug fehl !
( Source: http://www.gknw.at/development/apache/h ... 2/modules/ mod_auth_sspi-1.0.3-2.0.55.zip - '20-Feb-2006 12:42 42K ZIP compressed archive')

Beim Starten des Servers wurde folgende Fehlermeldung genriert:
Syntax errror in httpd.conf:
API module structure 'sspi_auth_module' in file ..modules/mod_auth_sspi.so is garbled - perhaps this is not an Apache module DSO

Was ist zu tun ?

Viele Grüße
Reinhold
r_hauser
 
Posts: 11
Joined: 24. April 2006 14:00
Operating System: Windows 7

Postby Wiedmann » 24. April 2006 15:49

Nach Eingabe der Login-Infos - wurde folgende Fehlermeldung produziert:

Was steht im "error.log"?
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby r_hauser » 26. April 2006 16:11

Hallo,

ich habe mittlerweile das passende neue Modul: mod_auth_sspi/1.0.4
aufgespielt.
Aber das Autologin funktioniert weiterhin nicht.
Es erscheint jetzt allerdings kein Login-Fenster mehr, sondern es wird
gleich die folgende Fehlermeldung eingeblendet:

Authorization Required
This server could not verify that you are authorized to access the document
requested. Either you supplied the wrong credentials (e.g., bad password),
or your browser doesn't understand how to supply the credentials required.

Additionally, a 401 Authorization Required error was encountered while
trying to use an ErrorDocument to handle the
request.


--------------------------------------------------------------------------------

im error.log steht folgendes:

[Tue Apr 25 10:09:43 2006] [notice] Apache/2.2.0 (Win32) DAV/2 mod_autoindex_color mod_auth_sspi/1.0.4 PHP/5.1.1 configured -- resuming normal operations
[Tue Apr 25 10:09:43 2006] [notice] Server built: Dec 1 2005 18:36:53
[Tue Apr 25 10:09:43 2006] [notice] Parent: Created child process 3636
[Tue Apr 25 10:09:43 2006] [debug] mod_so.c(246): loaded module actions_module
[Tue Apr 25 10:09:43 2006] [debug] mod_so.c(246): loaded module alias_module
[Tue Apr 25 10:09:43 2006] [debug] mod_so.c(246): loaded module asis_module
[Tue Apr 25 10:09:43 2006] [debug] mod_so.c(246): loaded module auth_basic_module
[Tue Apr 25 10:09:43 2006] [debug] mod_so.c(246): loaded module authn_default_module
[Tue Apr 25 10:09:43 2006] [debug] mod_so.c(246): loaded module authn_file_module
[Tue Apr 25 10:09:43 2006] [debug] mod_so.c(246): loaded module authz_default_module
[Tue Apr 25 10:09:43 2006] [debug] mod_so.c(246): loaded module authz_groupfile_module
[Tue Apr 25 10:09:43 2006] [debug] mod_so.c(246): loaded module authz_host_module
[Tue Apr 25 10:09:43 2006] [debug] mod_so.c(246): loaded module authz_user_module
[Tue Apr 25 10:09:43 2006] [debug] mod_so.c(246): loaded module cgi_module
[Tue Apr 25 10:09:43 2006] [debug] mod_so.c(246): loaded module dav_module
[Tue Apr 25 10:09:43 2006] [debug] mod_so.c(246): loaded module dav_fs_module
[Tue Apr 25 10:09:43 2006] [debug] mod_so.c(246): loaded module dir_module
[Tue Apr 25 10:09:43 2006] [debug] mod_so.c(246): loaded module env_module
[Tue Apr 25 10:09:43 2006] [debug] mod_so.c(246): loaded module include_module
[Tue Apr 25 10:09:43 2006] [debug] mod_so.c(246): loaded module info_module
[Tue Apr 25 10:09:43 2006] [debug] mod_so.c(246): loaded module isapi_module
[Tue Apr 25 10:09:43 2006] [debug] mod_so.c(246): loaded module ldap_module
[Tue Apr 25 10:09:43 2006] [debug] mod_so.c(246): loaded module log_config_module
[Tue Apr 25 10:09:43 2006] [debug] mod_so.c(246): loaded module mime_module
[Tue Apr 25 10:09:43 2006] [debug] mod_so.c(246): loaded module negotiation_module
[Tue Apr 25 10:09:43 2006] [debug] mod_so.c(246): loaded module setenvif_module
[Tue Apr 25 10:09:43 2006] [debug] mod_so.c(246): loaded module status_module
[Tue Apr 25 10:09:43 2006] [debug] mod_so.c(246): loaded module autoindex_color_module
[Tue Apr 25 10:09:43 2006] [debug] mod_so.c(246): loaded module sspi_auth_module
[Tue Apr 25 10:09:43 2006] [debug] mod_so.c(246): loaded module php5_module
[Tue Apr 25 10:09:43 2006] [notice] Child 3636: Child process is running
[Tue Apr 25 10:09:43 2006] [notice] Child 3636: Acquired the start mutex.
[Tue Apr 25 10:09:43 2006] [notice] Child 3636: Starting 250 worker threads.
[Tue Apr 25 10:09:44 2006] [notice] Child 3636: Starting thread to listen on port 80.
[Tue Apr 25 10:13:43 2006] [error] [client 127.0.0.1] (OS 87)Falscher Parameter. : authentication failure for "/error/HTTP_UNAUTHORIZED.html.var": user unknown, reason: cannot generate context

---------------------------------------------------------
Die Einstellungen in der httpd.conf lauten folgendermaßen:
....
LoadModule sspi_auth_module modules/mod_auth_sspi.so

# Configuration for mod_auth_sspi
<IfModule mod_auth_sspi.c>
<Location /protected/>
AuthName "A Protected Place"
AuthType SSPI
SSPIAuth On
SSPIAuthoritative On
SSPIOfferBasic On
SSPIBasicPreferred On

require valid-user
</Location>
</IfModule>
# End of mod_auth_sspi.
# ***

....
<Directory />
Options FollowSymLinks
AllowOverride None

# *** NT-Authentification
AuthName "Login!"
AuthType SSPI
SSPIAuth On
SSPIAuthoritative On

require valid-user
</Directory>
--------------------------------------------------

Vielen Dank im voraus
Reinhold
r_hauser
 
Posts: 11
Joined: 24. April 2006 14:00
Operating System: Windows 7


Return to XAMPP für Windows

Who is online

Users browsing this forum: No registered users and 29 guests