Persönliche Einstellungen des Agenten werden zurückgesetzt

Hilfe zu OTRS Problemen aller Art
Dosenfischer
OTRS newbie
Posts: 2
Joined: 18 Jan 2018, 16:30
OTRS Version?: 6.0.4

Persönliche Einstellungen des Agenten werden zurückgesetzt

Postby Dosenfischer » 18 Jan 2018, 22:35

Hallo zusammen,

die Zugänge für Agenten werden bei uns via LDAP verwaltet. Vor- und Nachname, Passwort und E-Mail-Adresse zieht sich OTRS aus dem Active Directory (AD).

Die Werte für Anrede und (Mobil)Telefon kann man händisch einpflegen und ändern. Macht man das, werden sämtliche Benachrichtigungseinstellungen in den persönlichen Einstellungen des Agenten, zurückgesetzt. Also die abonnierten Queues oder Benachrichtigungen werden auf Null gesetzt bzw. deaktiviert.

Ist das normal oder ein Bug?
OTRS 6.0.4, Ubuntu Server 16.04.3 LTS

rrbs
OTRS newbie
Posts: 37
Joined: 03 Feb 2016, 13:11
OTRS Version?: otrs5/4/3/2
Company: it-service-stephan
Contact:

Re: Persönliche Einstellungen des Agenten werden zurückgesetzt

Postby rrbs » 19 Jan 2018, 11:30

hallo,

ein paar mehr Eckpunkte wären schön.
- version
- module
- und das passende Stück aus der config.pm

Allerdings ist es empfehlenswert die Werte auch im AD zu hinterlegen und zu holen.

gruss rrbs
Customizing OTRS, KIX, Modulentwicklung
OTRS Support, Support KIX4OTRS, KIX
------------------------------------------------------------------------------------
Windowsinstallation für KIX möglich. Wird auch von uns supported.

http://www.it-service-stephan.de

Dosenfischer
OTRS newbie
Posts: 2
Joined: 18 Jan 2018, 16:30
OTRS Version?: 6.0.4

Re: Persönliche Einstellungen des Agenten werden zurückgesetzt

Postby Dosenfischer » 22 Jan 2018, 16:35

Hi,

es OTRS Version 6.0.4 und wir verwenden die Module FAQ, Survey.

Nachfolgend der Auszug der Config.pm für den Bereich LDAP:

Code: Select all

#------------------------------------------------------------------------------------------------------------------------------#
# Authentifizierung & Synchronisierung des  Agenten via LDAP (AD)
#------------------------------------------------------------------------------------------------------------------------------#
$Self->{'AuthModule1'} = 'Kernel::System::Auth::LDAP';
$Self->{'AuthModule::LDAP::Host1'} = '1.2.3.4';
$Self->{'AuthModule::LDAP::BaseDN1'} = 'dc=metapeople,dc=dui';
$Self->{'AuthModule::LDAP::UID1'} = 'samaccountname';
$Self->{'AuthModule::LDAP::GroupDN1'} = 'CN=otrs_agents,OU=IT,OU=Gruppen,DC=abc,DC=xyz;
$Self->{'AuthModule::LDAP::AccessAttr1'} = 'member';
$Self->{'AuthModule::LDAP::UserAttr1'} = 'DN';
$Self->{'AuthModule::LDAP::SearchUserDN1'} = 'CN=rz-auth,OU=IT Users,OU=IT,DC=abc,DC=xyz';
$Self->{'AuthModule::LDAP::SearchUserPw1'} = 'password';

$Self->{'UserSyncLDAPMap1'} = {
'UserEmail' => 'mail',
'UserFirstname' => 'givenName',
'UserLastname' => 'sn',
'UserLogin' => 'sAMAccountName'
};

# --------------------------------------------------- #
# CustomerUser LDAP Authentication Backend
# --------------------------------------------------- #
$Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::LDAP';
$Self->{'Customer::AuthModule::LDAP::Host'} = '1.2.3.4';
$Self->{'Customer::AuthModule::LDAP::BaseDN'} = 'DC=abc,DC=xyz'';
$Self->{'Customer::AuthModule::LDAP::UID'} = 'samaccountname';
$Self->{'Customer::AuthModule::LDAP::GroupDN'} = 'CN=otrs_customer,OU=IT,OU=Gruppen,DC=abc,DC=xyz';
$Self->{'Customer::AuthModule::LDAP::SearchUserDN'} = 'CN=idoit,OU=IT Users,OU=IT,DC=abc,DC=xyz'';
$Self->{'Customer::AuthModule::LDAP::SearchUserPw'} = 'Passwort';
$Self->{'Customer::AuthModule::LDAP::Params'} = {
port => 389,
timeout => 120,
async => 0,
version => 3,
};

#------------------------------------------------------------------------------------------------------------------------------#
# LDAP System Users
#------------------------------------------------------------------------------------------------------------------------------#
$Self->{'AuthModule1'} = 'Kernel::System::Auth::LDAP';
$Self->{'AuthModule::LDAP::Host1'} = '1.2.3.4';
$Self->{'AuthModule::LDAP::BaseDN1'} = 'DC=abc,DC=xyz'';
$Self->{'AuthModule::LDAP::UID1'} = 'sAMAccountName';
$Self->{'AuthModule::LDAP::SearchUserDN1'} = 'CN=rz-auth,OU=IT Users,OU=IT,DC=abc,DC=xyz'';
$Self->{'AuthModule::LDAP::SearchUserPw1'} = 'Password';
$Self->{'AuthModule::LDAP::Params1'} = {
'async' => '0',
'timeout' => '120',
'version' => '3',
'port' => '389'
};

$Self->{'AuthModule::LDAP::Die1'} = 1;
#------------------------------------------------------------------------------------------------------------------------------#
# UserSyncLDAPMap
#------------------------------------------------------------------------------------------------------------------------------#

# defines AuthSyncBackend (AuthSyncModule) for AuthModule
# if this key exists and is empty, there won't be a sync.
# example values: AuthSyncBackend, AuthSyncBackend2
$Self->{'AuthModule::UseSyncBackend'} = 'AuthSyncBackend';

# agent data sync against ldap
$Self->{'AuthSyncModule'} = 'Kernel::System::Auth::Sync::LDAP';
$Self->{'AuthSyncModule::LDAP::Host'} = 'ldap://1.2.3.4/';
$Self->{'AuthSyncModule::LDAP::BaseDN'} = 'DC=abc,DC=xyz'';
$Self->{'AuthSyncModule::LDAP::UID'} = 'sAMAccountName';
$Self->{'AuthSyncModule::LDAP::SearchUserDN'} = 'CN=rz-auth,OU=IT Users,OU=IT,DC=abc,DC=xyz'';
$Self->{'AuthSyncModule::LDAP::SearchUserPw'} = 'Password';
$Self->{'AuthSyncModule::LDAP::UserSyncMap'} = {
    # DB -> LDAP
    UserFirstname => 'givenName',
    UserLastname  => 'sn',
    UserEmail     => 'mail',
    UserPhone     => 'telephoneNumber',
    UserMobile    => 'mobile',
    UserJobTitle  => 'title',
};

# AuthSyncModule::LDAP::UserSyncInitialGroups
# (sync following group with rw permission after initial create of first agent
# login)
$Self->{'AuthSyncModule::LDAP::UserSyncInitialGroups'} = [
    'users',
];

#------------------------------------------------------------------------------------------------------------------------------#
# UserSyncLDAPMap
#------------------------------------------------------------------------------------------------------------------------------#

$Self->{CustomerUser1} = {
Name => 'READ ONLY -> LDAP Backend',
Module => 'Kernel::System::CustomerUser::LDAP',
Params => {
Host => '1.2.3.4',
BaseDN => 'DC=abc,DC=xyz'',
SSCOPE => 'sub',
UserDN => 'CN=rz-auth,OU=IT Users,OU=IT,DC=abc,DC=xyz'',
UserPw => 'Password',
AlwaysFilter => '(mail=*)',
SourceCharset => 'utf-8',
DestCharset => 'utf-8',
Params => {
port => 389,
timeout => 120,
async => 0,
version => 3,
},
},
CustomerKey => 'samaccountname',
CustomerID => 'mail',
CustomerUserListFields => ['displayName', 'mail'],
CustomerUserSearchFields => [ 'sn', 'givenName', 'telephonenumber', 'department', 'company', 'mail' ],
CustomerUserSearchPrefix => '',
CustomerUserSearchSuffix => '*',
CustomerUserSearchListLimit => 1500,
CustomerUserPostMasterSearchFields => ['mail'],
CustomerUserNameFields => ['sn'],
AdminSetPreferences => 1,
CacheTTL => 2240,
Map => [
[ 'UserSalutation', 'Position', 'title', 1, 0, 'var', '', 1 ],
[ 'UserFirstname', 'Firstname', 'givenname', 1, 1, 'var', '', 1 ],
[ 'UserLastname', 'Lastname', 'sn', 1, 1, 'var', '', 1 ],
[ 'UserLogin', 'Username', 'samaccountname', 1, 1, 'var', '', 1 ],
[ 'UserEmail', 'Email', 'mail', 1, 1, 'var', 'mailto:$Data{"UserEmail"}', 1 ],
[ 'UserCustomerID', 'CustomerID', 'mail', 0, 1, 'var', '', 1 ],
[ 'UserPhone', 'Phone', 'telephonenumber', 1, 0, 'var', 'callto:$Data{"UserPhone"}', 1 ],
[ 'UserDepartment', 'Department', 'department', 1, 0, 'var', '', 1 ],
[ 'UserFAX', 'FAX', 'facsimiletelephonenumber', 1, 0, 'var', '', 1 ],
[ 'UserCompany', 'Company', 'company', 1, 0, 'var', '', 1 ],
[ 'UserAddress', 'Address', 'streetaddress', 1, 0, 'var', '', 1 ],
[ 'UserPostalcode', 'Postalcode', 'postalcode', 1, 0, 'var', '', 1 ],
[ 'UserLocation', 'Location', 'L', 1, 0, 'var', '', 1 ],
[ 'UserCountry', 'Country', 'co', 1, 0, 'var', '', 1 ],
[ 'UserComment', 'Comment', 'description', 1, 0, 'var', '', 1 ],
],
};
OTRS 6.0.4, Ubuntu Server 16.04.3 LTS


Return to “Hilfe”

Who is online

Users browsing this forum: No registered users and 6 guests