Extend the agent user table
Moderator: crythias
Extend the agent user table
Hi board,
I have searched this without any result across the board..
Is there any possibility to extend the agent user db table to store more information and map some agent information from ldap with $Self->{'AuthSyncModule::LDAP::UserSyncMap'} ?
Many thanks in advance!
I have searched this without any result across the board..
Is there any possibility to extend the agent user db table to store more information and map some agent information from ldap with $Self->{'AuthSyncModule::LDAP::UserSyncMap'} ?
Many thanks in advance!
Several OTRS 2.4 and 3.0 installations. All on CentOS /w Apache & MySql.
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Extend the agent user table
User demographics isn't (shouldn't be?) synced from LDAP. If you want more info from LDAP, add Map fields.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Re: Extend the agent user table
Hi crythias thanks for the quick answer! What are Map fields? Do you mean that additional field's values could be taken from an LDAP search?crythias wrote:User demographics isn't (shouldn't be?) synced from LDAP. If you want more info from LDAP, add Map fields.
thanks !
Several OTRS 2.4 and 3.0 installations. All on CentOS /w Apache & MySql.
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Extend the agent user table
Yes, the Map in Config.pm
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Re: Extend the agent user table
Hi there! Sorry but I can't find anything regarding Map fields in the OTRS Docu. Do you have any link ?crythias wrote:Yes, the Map in Config.pm
Thanks so much!
Several OTRS 2.4 and 3.0 installations. All on CentOS /w Apache & MySql.
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Extend the agent user table
I made a mistake, confusing Customers with Agents.
No, you can't, because User.pm GetUserData only covers:
My apologies for the confusion on this.
No, you can't, because User.pm GetUserData only covers:
Code: Select all
while ( my @Row = $Self->{DBObject}->FetchrowArray() ) {
$Data{UserID} = $Row[0];
$Data{UserLogin} = $Row[1];
$Data{UserTitle} = $Row[2];
$Data{UserFirstname} = $Row[3];
$Data{UserLastname} = $Row[4];
$Data{UserPw} = $Row[5];
$Data{ValidID} = $Row[6];
$Data{CreateTime} = $Row[7];
$Data{ChangeTime} = $Row[8];
}
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Re: Extend the agent user table
Try to use the user preferences and do the sync via preferences key. Some more information on extending the preferences you'll find here:
http://blog.otrs.org/2011/09/05/agent-s ... ignatures/
http://blog.otrs.org/2011/09/05/agent-s ... ignatures/
"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
Re: Extend the agent user table
No prob ! But it would be nice to have the same map we can use for customers to manage agent details as well. I think I will post it on ideascale !crythias wrote:I made a mistake, confusing Customers with Agents.
No, you can't, because User.pm GetUserData only covers:My apologies for the confusion on this.Code: Select all
while ( my @Row = $Self->{DBObject}->FetchrowArray() ) { $Data{UserID} = $Row[0]; $Data{UserLogin} = $Row[1]; $Data{UserTitle} = $Row[2]; $Data{UserFirstname} = $Row[3]; $Data{UserLastname} = $Row[4]; $Data{UserPw} = $Row[5]; $Data{ValidID} = $Row[6]; $Data{CreateTime} = $Row[7]; $Data{ChangeTime} = $Row[8]; }
Several OTRS 2.4 and 3.0 installations. All on CentOS /w Apache & MySql.
Re: Extend the agent user table
Thanks this is a good workaround !jojo wrote:Try to use the user preferences and do the sync via preferences key. Some more information on extending the preferences you'll find here:
http://blog.otrs.org/2011/09/05/agent-s ... ignatures/
Several OTRS 2.4 and 3.0 installations. All on CentOS /w Apache & MySql.
-
- Znuny newbie
- Posts: 1
- Joined: 11 Feb 2013, 12:44
- Znuny Version: 2.3.4
- Real Name: michael bladowski
Re: Extend the agent user table
sorry, for me it´s not clear if i have to add or modify anthing at the DB.
i have an old version here: 2.3.4
i added the XML and activated the new block at the sysconfig, but the user preferences does not show anything.
thanks for any help!
i have an old version here: 2.3.4
i added the XML and activated the new block at the sysconfig, but the user preferences does not show anything.
thanks for any help!
Re: Extend the agent user table
2.3. is really outdated. Please update to a new version
"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