Issues with export LDAP users to DB and possible SSO

Moderator: crythias

Locked
Romaing
Znuny newbie
Posts: 60
Joined: 30 Mar 2012, 15:20
Znuny Version: 3.1.5

Issues with export LDAP users to DB and possible SSO

Post by Romaing »

Hello,

It seems that some things that i took for granted now seem quite different after looking into it. So hopefully you guys can clear this stuff (oh boy the mondays are tough on the brain^^)

- first: SSO. Is it possible to authenticate the user (or customer) without any AD involved ? Just between the client and otrs server (on linux)

- second: populating the customer database from LDAP.
i've managed to do it. But can you then import the customers to OTRS database and then ditch the LDAP config ? So just making it easier to add about a hundred users :shock:

is there no AuthSyncModule for customers, only agents ?


Thanks, and best regards :)
Last edited by Romaing on 21 May 2012, 18:03, edited 2 times in total.
OTRS 3.1.5 on Ubuntu 12.04
Database: MySQL
Module: FAQ
Romaing
Znuny newbie
Posts: 60
Joined: 30 Mar 2012, 15:20
Znuny Version: 3.1.5

Re: Clarification on SSO and populating customer database

Post by Romaing »

ok, so i've somewhat answered my second question. By using the tool (in otrs/scripts/tools) : sync-ldap2db.pl

I've managed to populate my otrs database from the ldap without entering any ldap info inside the Config.pm file.

BUT when i try to log on with one of the newly added user, it fails and otrs log displays:
[Notice][Kernel::System::CustomerAuth::DB::Auth] CustomerUser: XY doesn't exist or is invalid!!!
Google gives me nothing useful with this kind of error.

Do i need to add a DB config in config.pm file ? http://doc.otrs.org/3.1/en/html/custome ... backend-db
Tried it already but nothing better.

Anyone to help ?

[edit]: so i can still logon with previous test users that i created manually (new ldap users are now mixed with these first test customers).
Only visible difference between them is that the 'manual' customers have a number for customer_id whereas the ldap ones have their email. Any idea ? I don't know how to display the database to see clearly if something's gone wrong.
Just tried with root@otrs:/opt/otrs/bin# ./otrs.CheckDB.pl
Says it looks OK !

For SSO, still wondering :o
OTRS 3.1.5 on Ubuntu 12.04
Database: MySQL
Module: FAQ
Locked