Company tickets problem

Moderator: crythias

Locked
Viksi
Znuny newbie
Posts: 17
Joined: 03 Jul 2012, 13:12
Znuny Version: 3.1.6

Company tickets problem

Post by Viksi »

Hello what should I change in my config file and in my ldap so user can see tickets from other users. Here is my costumer config:

Code: Select all

CustomerKey => 'sAMAccountName',
        	# customer #
        	CustomerID => 'mail',
        	CustomerUserListFields => ['sAMAccountName', 'cn', 'mail'],
        	CustomerUserSearchFields => ['sAMAccountName', 'cn', 'mail'],
        	CustomerUserSearchPrefix => '',
        	CustomerUserSearchSuffix => '*',
        	CustomerUserSearchListLimit => 250,
        	CustomerUserPostMasterSearchFields => ['mail'],
        	CustomerUserNameFields => ['givenname', 'sn'],
        	# show now own tickets in customer panel, CompanyTickets
        	CustomerUserExcludePrimaryCustomerID => 1,
        	# add a ldap filter for valid users (expert setting)
        	# CustomerUserValidFilter => '(!(description=gesperrt))',
        	# admin can't change customer preferences
        	AdminSetPreferences => 0,
        	# cache time to live in sec. - cache any ldap queries
        	CacheTTL => 120,
        	Map => [
            	# note: Login, Email and CustomerID needed!
            	# var, frontend, storage, shown (1=always,2=lite), required, storage-type, http-link, readonly
            	#[ 'UserTitle',      'Title',      'title',           1, 0, 'var', '', 0 ],
            	[ 'UserFirstname',  'Firstname',  'givenname',       1, 1, 'var', '', 0 ],
            	[ 'UserLastname',   'Lastname',   'sn',              1, 1, 'var', '', 0 ],
            	[ 'UserLogin',      'Username',   'sAMAccountName',             1, 1, 'var', '', 0 ],
            	[ 'UserEmail',      'Email',      'mail',            1, 1, 'var', '', 0 ],
            	[ 'UserCustomerID', 'CustomerID', 'mail',            0, 1, 'var', '', 0 ],
            	[ 'UserCustomerIDs', 'CustomerIDs', 'second_customer_ids', 1, 0, 'var', '', 0 ],
            	#[ 'UserPhone',      'Phone',      'telephonenumber', 1, 0, 'var', '', 0 ],
            	#[ 'UserAddress',    'Address',    'postaladdress',   1, 0, 'var', '', 0 ],
            	#[ 'UserComment',    'Comment',    'description',     1, 0, 'var', '', 0 ],
        	],
    	};
I added new customer company trough admin panel and i put CustomerID for that company to be EinSofID. When i go to customers in admin panel and i see text boxes CustomerID and CustomerIDs. In CustomerID i can see mail and when i try to write EinSofID in CustomerIDs it says this module is not supported. My question is where should I write EinSofID so all my customers can see each other tickets.
yuri0001
Znuny superhero
Posts: 630
Joined: 17 Mar 2011, 14:40
Znuny Version: 5.0.6
Real Name: Yuri Kolesnikov
Location: Russia

Re: Company tickets problem

Post by yuri0001 »

See in forum posts about Customer Company Support
Best regards Yuri Kolesnikov
OTRS 5.0.14, ITSM 5.0.14
SUSE 13.2, MariaDB 10.0.22(productive)
OTRS 5.0.14, ITSM 5.0.14(test)
Viksi
Znuny newbie
Posts: 17
Joined: 03 Jul 2012, 13:12
Znuny Version: 3.1.6

Re: Company tickets problem

Post by Viksi »

yuri0001 wrote:See in forum posts about Customer Company Support
I read it and as you can see I still don't know how to make it right
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Company tickets problem

Post by crythias »

viewtopic.php?f=60&t=7531
Company tickets are seen by Customers who have the same CustomerID as that which created the ticket.
Viksi wrote:what should I change in my config file and in my ldap so user can see tickets from other users. Here is my costumer config:
The CustomerID should be the same value for all users who need to see each other's tickets in Company Tickets.
You therefore need to specify an ldap attribute that is the same value for all users.

Read my link for more information.
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
Viksi
Znuny newbie
Posts: 17
Joined: 03 Jul 2012, 13:12
Znuny Version: 3.1.6

Re: Company tickets problem

Post by Viksi »

crythias wrote:viewtopic.php?f=60&t=7531
Company tickets are seen by Customers who have the same CustomerID as that which created the ticket.
Viksi wrote:what should I change in my config file and in my ldap so user can see tickets from other users. Here is my costumer config:
The CustomerID should be the same value for all users who need to see each other's tickets in Company Tickets.
You therefore need to specify an ldap attribute that is the same value for all users.

Read my link for more information.
Instead attribute "mail" I changed it into "primaryGroupID" for customerID and now it's working. Tnx :D
Locked