Hello list,
I just modified my Condig/Defaults.pm file for say to authentication my customers to an external db, but otrs seem to not considered the values that I wrote into the configuration:
$Self->{'Customer::AuthModule::DB::Table'}
point always to the "default" value "customer_users" also if I add another value. And the error log say the same.
The very strange thing it's that, one line above, the $Self->{'Customer::AuthModule::DB::DSN'} have a value that the otrs engine fetch and use correctly!
What can be?
Customer::AuthModule::DB::Table not considered
Moderator: crythias
-
- Znuny newbie
- Posts: 11
- Joined: 05 Apr 2011, 16:56
- Znuny Version: 3
Re: Customer::AuthModule::DB::Table not considered
never change the Defaults.pm
Copy the content to Config.pm and change it there.
In CustomerUser Part via Database there is a line
Copy the content to Config.pm and change it there.
In CustomerUser Part via Database there is a line
you should change this to your needs...Table => 'customer_user',
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Znuny newbie
- Posts: 11
- Joined: 05 Apr 2011, 16:56
- Znuny Version: 3
Re: Customer::AuthModule::DB::Table not considered
Opsss, my fault.jojo wrote:never change the Defaults.pm
Copy the content to Config.pm and change it there.
Like now I modified only and all inside Defaults.pm.
So, you are saying that I have to comment inside the Defaults.pm the various:
$Self->{CustomerUser} = { Name => DSN, User, etc... + Map, and so on... and write them into Config.pm?
And the same for $Self->{'Customer::AuthModule::DB::User'}, DB::Password, etc... ?
Can I have customer authentication point to a different db / table from that I have to Customer::AuthModule?In CustomerUser Part via Database there is a line
you should change this to your needs...Table => 'customer_user',
Thanks
-
- Znuny newbie
- Posts: 11
- Joined: 05 Apr 2011, 16:56
- Znuny Version: 3
Re: Customer::AuthModule::DB::Table not considered
Done.
Modified the Config.pm and all works.
Thanks!
Modified the Config.pm and all works.
Thanks!