eventuell kann mir ja jemand bei meinem Problem helfen.
Ich moechte eine SingleSignOn Loesung fuer Agenten als auch Customer vom AD realisieren. Hierzu bin ich nach etlichen Howtos, die so im Internet kursieren vorgegangen. Genuetzt hat es mir jedoch nicht.
Ich schaetze, dass nur _die_ eine Zeile fehlt, aber welche?

Anbei meine Config.pm
Code: Select all
$Self->{'AuthModule1'} = 'Kernel::System::Auth::HTTPBasicAuth';
$Self->{'Customer::AuthModule4'} = 'Kernel::System::CustomerAuth::HTTPBasicAuth';
Code: Select all
KeepAlive On
Code: Select all
<IfModule mod_perl.c>
# load all otrs modules
Perlrequire /opt/otrs/scripts/apache2-perl-startup.pl
# Apache::Reload - Reload Perl Modules when Changed on Disk
PerlModule Apache2::Reload
PerlInitHandler Apache2::Reload
PerlModule Apache2::RequestRec
# set mod_perl2 options
<Location /otrs/>
# ErrorDocument 403 /otrs/customer.pl
ErrorDocument 403 /otrs/index.pl
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
PerlHandler Apache::PerlRun
PerlSetVar ntdomain "DOMAIN.LOCAL DC BDC" #DOMAIN.LOCAL DC und BDC sind natuerlich auf meine Beduerfnisse angepasst
PerlSetVar defaultdomain DOMAIN.LOCAL
PerlSetVar splitdomainprefix 1
PerlSetVar ntlmdebug 3
PerlSetVar ntlmsemtimeout 20
PerlAuthenHandler Apache2::AuthenNTLM
PerlOptions +ParseHeaders
PerlOptions +SetupEnv
AuthType ntlm
AuthName OTRS
require valid-user
Options Indexes -FollowSymLinks +Includes MultiViews ExecCGI
Order allow,deny
Allow from all
</Location>
# directory settings
<Directory "/opt/otrs/bin/cgi-bin/">
AllowOverride None
Options +ExecCGI -Includes
Order allow,deny
Allow from all
</Directory>
<Directory "/opt/otrs/var/httpd/htdocs/">
AllowOverride None
Options +ExecCGI -Includes
Order allow,deny
Allow from all
AllowOverride None
</Directory>
</IfModule>
<IfModule mod_headers.c>
<Directory "/opt/otrs/var/httpd/htdocs/skins/*/*/css-cache">
<FilesMatch "\.(css|CSS)$">
Header set Cache-Control "max-age=2592000 must-revalidate"
</FilesMatch>
</Directory>
<Directory "/opt/otrs/var/httpd/htdocs/js_new/js-cache">
<FilesMatch "\.(js|JS)$">
Header set Cache-Control "max-age=2592000 must-revalidate"
</FilesMatch>
</Directory>
</IfModule>
Mein Problem ist nun, dass ich auf meinem Windows-Desktop mein Otrs aufrufe und ich eine Login Seite praesentiert bekomm.
Folgendes steht im apache.error Log:
Code: Select all
[16652] AuthenNTLM: Config Domain = DOMAIN.LOCAL pdc = DC bdc = BDC
[16652] AuthenNTLM: Config Default Domain = DOMAIN.LOCAL
[16652] AuthenNTLM: Config Fallback Domain =
[16652] AuthenNTLM: Config AuthType = ntlm AuthName = OTRS
[16652] AuthenNTLM: Config Auth NTLM = 1 Auth Basic = 0
[16652] AuthenNTLM: Config NTLMAuthoritative = on BasicAuthoritative = on
[16652] AuthenNTLM: Config Semaphore key = 23754 timeout = 20
[16652] AuthenNTLM: Config SplitDomainPrefix = 1
[16652] AuthenNTLM: Authorization Header <not given>
[Mon Feb 14 18:33:11 2011] [error] Bad/Missing NTLM/Basic Authorization Header for /otrs/customer.pl
[16652] AuthenNTLM: Start NTLM Authen handler pid = 16652, connection = 140426667682056 conn_http_hdr = Keep-Alive main = cuser = remote_ip = <IP> remote_port = 12596 remote_host = <> version = 0.02 smbhandle =
[16652] AuthenNTLM: Object exists user = \
[16652] AuthenNTLM: Authorization Header NTLM TlRMTVNTUAABAAAAB4IIogAAAAAAAAAAAAAAAAAAAAAFASgKAAAADw==
[16652] AuthenNTLM: Got: 78 84 76 77 83 83 80 0 1 0 0 0 7 130 8 162 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 5 1 40 10 0 0 0 15
[16652] AuthenNTLM: protocol=NTLMSSP, type=1, flags1=7(NEGOTIATE_UNICODE,NEGOTIATE_OEM,REQUEST_TARGET), flags2=130(NEGOTIATE_ALWAYS_SIGN,NEGOTIATE_NTLM), domain length=0, domain offset=0, host length=0, host offset=0, host=, domain=
[16652] handler type == 1
[16652] AuthenNTLM: Connect to pdc = DC bdc = BDC domain = DOMAIN.LOCAL
[16652] AuthenNTLM: enter lock
[16652] AuthenNTLM: verify handle smbhandle == 140426668532416
[16652] AuthenNTLM: Send: 78 84 76 77 83 83 80 0 2 0 0 0 0 0 0 0 40 0 0 0 1 130 0 0 44 205 170 222 249 64 162 142 0 0 0 0 0 0 0 0
[16652] AuthenNTLM: charencoding = 1
[16652] AuthenNTLM: flags2 = 130
[16652] AuthenNTLM: nonce=,ͪ�@�
[16652] AuthenNTLM: Send header: NTLM TlRMTVNTUAACAAAAAAAAACgAAAABggAALM2q3vlAoo4AAAAAAAAAAA==
[16652] AuthenNTLM: verify handle = 1 smbhandle == 140426668532416
[16652] AuthenNTLM: Start NTLM Authen handler pid = 16652, connection = 140426667682056 conn_http_hdr = Keep-Alive main = cuser = remote_ip = <IP> remote_port = 12596 remote_host = <> version = 0.02 smbhandle =
[16652] AuthenNTLM: Object exists user = \
[16652] AuthenNTLM: Authorization Header NTLM TlRMTVNTUAADAAAAGAAYAHIAAAAYABgAigAAAAgACABIAAAADgAOAFAAAAAUABQAXgAAAAAAAACiAAAABYIAAgUBKAoAAAAPQwBUAEwATQByAGQAYQBuAHoAZQByAE0AWgBFAE4ATwBSAEcAMgAwADkAF7YsjSU66886HZ8FdUMMpBrV4sb+QwwD/SvM/lQyrwioKDIHYrqT3JPVeQ4mZbqZ
[16652] AuthenNTLM: Got: 78 84 76 77 83 83 80 0 3 0 0 0 24 0 24 0 114 0 0 0 24 0 24 0 138 0 0 0 8 0 8 0 72 0 0 0 14 0 14 0 80 0 0 0 20 0 20 0 94 0 0 0 0 0 0 0 162 0 0 0 5 130 0 2 5 1 40 10 0 0 0 15 67 0 84 0 76 0 77 0 114 0 100 0 97 0 110 0 122 0 101 0 114 0 77 0 90 0 69 0 78 0 79 0 82 0 71 0 50 0 48 0 57 0 23 182 44 141 37 58 235 207 58 29 159 5 117 67 12 164 26 213 226 198 254 67 12 3 253 43 204 254 84 50 175 8 168 40 50 7 98 186 147 220 147 213 121 14 38 101 186 153
[16652] AuthenNTLM: protocol=NTLMSSP, type=3, user=<NAME>, host=<HOST>, domain=<DOMAIN.LOCAL>, msg_len=0
[16652] handler type == 3
[16652] AuthenNTLM: verify handle = 3 smbhandle == 140426668532416
[16652] AuthenNTLM: Verify user <NAME> via smb server
[16652] AuthenNTLM: leave lock
[16652] AuthenNTLM: OK pid = 16652, connection = 140426667682056 cuser = <NAME> ip = <IP>
Code: Select all
[16652] AuthenNTLM: Authorization Header <not given>
[Mon Feb 14 18:33:11 2011] [error] Bad/Missing NTLM/Basic Authorization Header for /otrs/customer.pl
Der Benutzer, mit dem ich teste, ist sowohl Agent, als auch Customer, ist auch in beiden Tabellen vorhanden, da ich Agenten und Customer in die DB sync.
Wie komme ich nun mit dem Auth weiter?
Vielen Dank fuer Eure Antworten und einen schoenen Abend noch.
MfG
M.