Mmmh, wo schalte ich das SQL logging ein? An der Datenbank?

Danke und viele Gruesse,

Falko


Falko Zurell
Head of Application Management
I-D Media AG
Tel.: 030-25947-357
E-Mail: [EMAIL PROTECTED]


----- Original Message -----
From: otrs-de-bounces
Sent: 02.05.2006 10:28
To: "User questions and discussions about OTRS.org in German" <otrs-de@otrs.org>
Subject: AW: [otrs-de] LDAP Authentication issue (No UserData)

Dann scheint mir das Problem nicht am Auslesen des LDAP's liegen,
sondern eher an einem Problem mit der Datenbankanbindung.

Nach meiner Erfahrung m=FCsste es so aussehen:
Ein LDAP User meldet sich zum ersten Mal am OTRS an. Dann wird per LDAP =
die
Richtigkeit der Anmeldedaten =FCberpr=FCft und gepr=FCft, ob ein DB =
Eintrag f=FCr diesen User
existiert. Gibt es den User noch nicht in der DB wird er angelegt und er =
kann sich dann
anmelden.
Gibt es den User schon, dann werden die LDAP Informationen mit dem DB =
Eintrag synchronisiert.

Hast Du ein SQL-Logging eingeschaltet?
Damit solltest du sehen k=F6nnen, ob beim Eintragen in die DB was =
schiefgeht.

Gru=DF
Thorsten M=FCller

> -----Urspr=FCngliche Nachricht-----
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Im Auftrag von=20
> [EMAIL PROTECTED]
> Gesendet: Dienstag, 2. Mai 2006 10:05
> An: User questions and discussions about OTRS.org in German
> Betreff: AW: [otrs-de] LDAP Authentication issue (No UserData)
>=20
> Nein, in der Tabelle system_user gibts nur den default=20
> eintrag [EMAIL PROTECTED] Muss ich meine user dort vorher eintragen?
>=20
> Danke
>=20
> Falko
> Falko Zurell
> Head of Application Management
> I-D Media AG
> Tel.: 030-25947-357
> E-Mail: [EMAIL PROTECTED]
>=20
>=20
> ----- Original Message -----
> From: otrs-de-bounces
> Sent: 02.05.2006 09:41
> To: "User questions and discussions about OTRS.org in German"=20
> <otrs-de@otrs.org>
> Subject: AW: [otrs-de] LDAP Authentication issue (No UserData)
>=20
> Bei der ersten Anmeldung werden doch die Userdaten in die=20
> Datenbank =3D geschrieben.
> Vielleicht liegt dort das Problem.
>=20
> Gibt' es denn schon einen Datensatz zu deinem Benutzernamen=20
> in der mySQL =3D DB?=3D20
>=20
> Gru=3DDF
> Thorsten M=3DFCller
>=20
> > -----Urspr=3DFCngliche Nachricht-----
> > Von: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Im Auftrag von=3D20 =20
> >[EMAIL PROTECTED]
> > Gesendet: Dienstag, 2. Mai 2006 09:34
> > An: User questions and discussions about OTRS.org in German
> > Betreff: AW: [otrs-de] LDAP Authentication issue (No UserData) =3D20 =
=20
> >Ja, das habe ich schon gemacht. Der ldap server schickt die=3D20 =20
> >informationen korrekt. Die authentifizierung klappt ja=20
> auch.=3D20  Doch=20
> >irgendetwas sucht OTRS in den Daten und kann es nicht finden...
> >=3D20
> > Falko
> >=3D20
> >=3D20
> > Falko Zurell
> > Head of Application Management
> > I-D Media AG
> > Tel.: 030-25947-357
> > E-Mail: [EMAIL PROTECTED]
> >=3D20
> >=3D20
> > ----- Original Message -----
> > From: otrs-de-bounces
> > Sent: 02.05.2006 09:25
> > To: "User questions and discussions about OTRS.org in German"=3D20 =20
> ><otrs-de@otrs.org>
> > Subject: AW: [otrs-de] LDAP Authentication issue (No UserData) =3D20 =
=20
> >Guten Morgen,  ich hoffe, ihr seit alle gut in den Mai=20
> gestartet.=3D3D20=20
> >=3D20  La=3D3DDF' doch mal' einen 'ngrep port 389' w=3D3DE4hrend =
einer=3D20 =20
> >Anmeldung =3D3D mitlaufen.
> > Vielleicht gibt der weitere Informationen.
> >=3D20
> > Gru=3D3DDF
> > Thorsten M=3D3DFCller
> >=3D20
> > > -----Urspr=3D3DFCngliche Nachricht-----
> > > Von: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED] Im Auftrag von Falko Zurell
> > > Gesendet: Dienstag, 2. Mai 2006 09:20
> > > An: User questions and discussions about OTRS.org in German
> > > Betreff: Re: [otrs-de] LDAP Authentication issue (No=20
> UserData) =3D3D20=20
> > > =3D
> =3D20
> > >Hallo Hermann, =3D3D20  ja, das Mapping habe ich eingerichtet.=3D20
> > Habe sogar=3D20
> > >eine=3D3D20  Konfiguration probiert die bei Guillaume (hier=20
> auf der=3D20=20
> > >Liste=3D3D20
> > > gefunden) funktioniert:
> > >=3D3D20
> > >=3D3D20
> > > Map =3D3D3D> [
> > >      # note: Login, Email and CustomerID needed!
> > >      # var, frontend, storage, shown, required, storage-type
> > >      #       [ 'UserSalutation', 'Title', 'title', 1, 0, 'var' ],
> > >              [ 'UserFirstname', 'Firstname', 'givenname',=20
> 1,=3D3D20  =3D
> 1,=3D20
> > >'var' ],
> > >              [ 'UserLastname', 'Lastname', 'sn', 1, 1, 'var' ],
> > >              [ 'UserLogin', 'Login', 'sAMAccountName', 1,=3D20
> > 1, 'var' ],
> > >              [ 'UserEmail', 'Email', 'mail', 1, 1, 'var' ],
> > >              [ 'UserCustomerID', 'CustomerID', 'mail', 0,=3D20
> > 1, 'var' ],
> > >      #       [ 'UserPhone', 'Phone', 'telephonenumber', 1,=3D20
> > 0, 'var' ],
> > >      #       [ 'UserAddress', 'Address', 'postaladdress', =
1,=3D3D20
> > > 0, 'var' ],
> > >      #       [ 'UserComment', 'Comment', 'description', 1,=3D20
> > 0, 'var' ],
> > >        ],
> > >=3D3D20
> > >=3D3D20
> > > Alle Felder die hier gesetzt sind, gibts definitiv im=3D20
> > LDAP=3D3D20  und die=3D20
> > >werden bei einem ldapsearch auch korrekt geliefert.
> > >=3D3D20
> > > Danke und viele Gr=3D3DFC=3D3DDFe
> > >=3D3D20
> > > Falko
> > >=3D3D20
> > >=3D3D20
> > > Am 02.05.2006 um 09:11 schrieb Maurer, Hermann:
> > >=3D3D20
> > > > Hallo,
> > > >
> > > > hast du das Mapping eingerichtet ? Wenn noch nicht, =
kopiere=3D3D20
> > > die Zeilen=3D3D20
> > > > aus Default.pm in Confog.pm und bearbeite sie dort.
> > > >
> > > > F=3D3DFCr die Version 1.3 von otrs sieht es bei mir so aus:
> > > >
> > > >     $Self->{CustomerUser} =3D3D3D {
> > > >         Name =3D3D3D> 'LDAP Backend',
> > > >         ......................
> > > >         ......................
> > > >         Map =3D3D3D> [
> > > >             [ 'UserSalutation', 'Title', 'title', 1, 0, 'var' ],
> > > >             [ 'UserFirstname', 'Firstname', 'givenName', =
1,=3D3D20
> > > 1, 'var'=3D3D20
> > > > ],
> > > >             [ 'UserLastname', 'Lastname', 'sn', 1, 1, 'var' ],
> > > >             [ 'UserLogin', 'Login', 'cn', 1, 1, 'var' ],
> > > >             [ 'UserEmail', 'Email', 'mail', 1, 1, 'var' ],
> > > >             [ 'UserCustomerID', 'CustomerID', 'mail', 0,=3D20
> > 1, 'var' ],
> > > >             [ 'UserPhone', 'Phone', 'telephonenumber', 1,=3D3D20
> > > 0, 'var' ],
> > > >             [ 'UserAddress', 'Address', 'postaladdress', =
1,=3D3D20
> > > 0, 'var'=3D3D20
> > > > ],
> > > >             [ 'UserComment', 'Comment', 'description', 1,=3D3D20
> > > 0, 'var' ],
> > > >         ],
> > > >         };
> > > >
> > > >
> > > > Gru=3D3DDF/Regards,
> > > > Hermann Maurer
> > > >
> > > >
> > > >> -----Original Message-----
> > > >> From: [EMAIL PROTECTED]
> > > >> [mailto:[EMAIL PROTECTED] On Behalf Of Falko Zurell
> > > >> Sent: Tuesday, May 02, 2006 8:03 AM
> > > >> To: User questions and discussions about OTRS.org in German
> > > >> Subject: [otrs-de] LDAP Authentication issue (No UserData)
> > > >>
> > > >> Hallo *,
> > > >>
> > > >> ich versuche mein OTRS an einen ActiveDirectory Server=3D20
> > via LDAP zu=3D20
> > > >> binden. Die reine Authentifizierung scheint zu klappen.=3D20
> > Allerdings=3D20
> > > >> kriegt das OTRS dann irgendwelche User-Daten nicht. Aber=3D20
> > ich kann=3D20
> > > >> nicht sehen welche.
> > > >> Mein LDAP-Eintrag enth=3D3DE4lt eigentlich alle wichtigen=3D20
> > Informationen=3D20
> > > >> wie Name, Titel, Anrede, eMail etc.
> > > >>
> > > >> Der entsprechende Eintrag aus dem SysLog sieht dann so aus:
> > > >>
> > > >> May  2 07:44:50 backfire OTRS-CGI-6[14231]: [Notice]=3D20=20
> > > >> [Kernel::System::Auth::LDAP::Auth] User: fzurell=20
> (CN=3D3D3DFalko =3D
> Zurell,OU=3D3D3DAdmins,OU=3D3D3DWorkers,DC=3D3D3Dads,DC=3D3D3Dmydomain
> ,DC=3D3D3Dcom=3D
> )
> > > >> authentication ok (REMOTE_ADDR: 10.1.150.40).
> > > >> May  2 07:44:50 backfire OTRS-CGI-6[14231]: [Notice]=3D20=20
> > > >> [Kernel::System::User::GetUserData] Panic! No UserData=20
> for user:
> > > >> 'fzurell'!!!
> > > >>
> > > >>
> > > >> Ich habe in der Config.pm schon die Debug-Variable gesetzt.
> > > >> Allerdings ergibt das keinen hilfreichen Output.
> > > >>
> > > >> Kann mir jemand sagen, wie man herausbekommt, welche Werte=20
> > > >> OTRS=3D20 hier noch fehlen?
> > > >>
> > > >> Danke und viele Gr=3D3DFC=3D3DDFe
> > > >>
> > > >> ---
> > > >> Falko Zurell
> > > >> Head of Application Management
> > > >> _______________________________________________
> > > >> I-D Media AG                           Fon: +49 (0) 30 -=3D3D20
> > > 259 47 - 357
> > > >> Ohlauer Strasse 43                 Fax: +49 (0) 30 -=20
> 259 47 - 111
> > > >> D - 10999 Berlin
> > > >> mailto:[EMAIL PROTECTED]
> > > >> http://www.idmedia.com
> > > >> [ ICQ: 327004879 ]
> > > >> _______________________________________________
> > > >> Board: Regine Haschka-Helmer (CEO), Franz Klose (CFO)=3D20
> > Chairman of=3D20
> > > >> the Supervisory Board: Christian A. Hufnagl
> > > >> Headquarter: Berlin, Place of Jurisdiction: Berlin HRB 76342
> > > >>
> > > >> ________________________________________________
> > > >> This message may contain confidential information and=3D20
> > must not be=3D20
> > > >> copied, disclosed or used by anybody other than the=20
> intendee=3D20=20
> > > >> recipient. If you have received this message in error,=20
> please=3D20=20
> > > >> notify us immediately by reply e-mail and delete all=3D20
> > records of the=3D20
> > > >> message from your computer. The views represented in=3D20
> > this message=3D20
> > > >> are solely those of the author. Neither the author nor=3D20
> > I-D Media AG=3D20
> > > >> accepts any liability for the contents of this message.
> > > >>
> > > >>
> > > >>
> > > >>
> > > >> _______________________________________________
> > > >> OTRS Mailingliste: otrs-de - Webpage: http://otrs.org/
> > > >> Archiv: http://lists.otrs.org/pipermail/otrs-de/
> > > >> Listenabo verwalten:=3D3D20
> > > http://lists.otrs.org/cgi-bin/listinfo/otrs-de/
> > > >> Support oder Consulting fuer Ihr OTRS System?
> > > >> =3D3D3Dhttp://www.otrs.de/
> > > >>
> > > >>
> > > > _______________________________________________
> > > > OTRS Mailingliste: otrs-de - Webpage: http://otrs.org/
> > > > Archiv: http://lists.otrs.org/pipermail/otrs-de/
> > > > Listenabo verwalten:=3D20
> > http://lists.otrs.org/cgi-bin/listinfo/otrs-de/
> > > > Support oder Consulting fuer Ihr OTRS System?
> > > > =3D3D3D> http://www.otrs.de/
> > >=3D3D20
> > > ---
> > > Falko Zurell
> > > Head of Application Management
> > > _______________________________________________
> > > I-D Media AG                           Fon: +49 (0) 30 -=3D20
> > 259 47 - 357
> > > Ohlauer Strasse 43                 Fax: +49 (0) 30 - 259 47 - 111
> > > D - 10999 Berlin
> > > mailto:[EMAIL PROTECTED]
> > > http://www.idmedia.com
> > > [ ICQ: 327004879 ]
> > > _______________________________________________
> > > Board: Regine Haschka-Helmer (CEO), Franz Klose (CFO) =3D20
> > Chairman of the=3D20
> > >Supervisory Board: Christian A. Hufnagl
> > > Headquarter: Berlin, Place of Jurisdiction: Berlin HRB=20
> 76342 =3D3D20=20
> > >=3D20 ________________________________________________
> > > This message may contain confidential information and must=3D20
> > not be =3D3D20 =3D20
> > >copied,  disclosed or used by anybody other than the intendee=3D20=20
> > >recipient. If =3D3D20  you have  received this message in=20
> error, please=20
> > >=3D
>=20
> > >notify us immediately=3D3D20  by reply =3D3D20  e-mail  and =
delete=3D20
> > all records=3D20
> > >of the message from your computer. The views  represented=20
> in this=3D20=20
> > >message are solely those of the author.=3D3D20  Neither the =20
> author  =3D
> nor=3D20
> > >I-D Media AG accepts any liability for the contents=20
> of=3D3D20  this=3D20=20
> > >message.
> > >=3D3D20
> > >=3D3D20
> > >=3D3D20
> > >=3D3D20
> > > _______________________________________________
> > > OTRS Mailingliste: otrs-de - Webpage: http://otrs.org/
> > > Archiv: http://lists.otrs.org/pipermail/otrs-de/
> > > Listenabo verwalten:=20
> http://lists.otrs.org/cgi-bin/listinfo/otrs-de/
> > > Support oder Consulting fuer Ihr OTRS System?
> > > =3D3D3Dhttp://www.otrs.de/
> > >=3D3D20
> > _______________________________________________
> > OTRS Mailingliste: otrs-de - Webpage: http://otrs.org/
> > Archiv: http://lists.otrs.org/pipermail/otrs-de/
> > Listenabo verwalten: http://lists.otrs.org/cgi-bin/listinfo/otrs-de/
> > Support oder Consulting fuer Ihr OTRS System?
> > =3D3D> http://www.otrs.de/
> > _______________________________________________
> > OTRS Mailingliste: otrs-de - Webpage: http://otrs.org/
> > Archiv: http://lists.otrs.org/pipermail/otrs-de/
> > Listenabo verwalten: http://lists.otrs.org/cgi-bin/listinfo/otrs-de/
> > Support oder Consulting fuer Ihr OTRS System?
> > =3D3Dhttp://www.otrs.de/
> >=3D20
> _______________________________________________
> OTRS Mailingliste: otrs-de - Webpage: http://otrs.org/
> Archiv: http://lists.otrs.org/pipermail/otrs-de/
> Listenabo verwalten: http://lists.otrs.org/cgi-bin/listinfo/otrs-de/
> Support oder Consulting fuer Ihr OTRS System?
> =3D> http://www.otrs.de/
> _______________________________________________
> OTRS Mailingliste: otrs-de - Webpage: http://otrs.org/
> Archiv: http://lists.otrs.org/pipermail/otrs-de/
> Listenabo verwalten: http://lists.otrs.org/cgi-bin/listinfo/otrs-de/
> Support oder Consulting fuer Ihr OTRS System?
> =3Dhttp://www.otrs.de/
>=20
_______________________________________________
OTRS Mailingliste: otrs-de - Webpage: http://otrs.org/
Archiv: http://lists.otrs.org/pipermail/otrs-de/
Listenabo verwalten: http://lists.otrs.org/cgi-bin/listinfo/otrs-de/
Support oder Consulting fuer Ihr OTRS System?
=> http://www.otrs.de/
_______________________________________________
OTRS Mailingliste: otrs-de - Webpage: http://otrs.org/
Archiv: http://lists.otrs.org/pipermail/otrs-de/
Listenabo verwalten: http://lists.otrs.org/cgi-bin/listinfo/otrs-de/
Support oder Consulting fuer Ihr OTRS System?
=> http://www.otrs.de/

Antwort per Email an