[SOLVED]Get all customers in Customer User <--> Groups

Moderator: crythias

Locked
adt
Znuny newbie
Posts: 43
Joined: 28 Jun 2012, 17:04
Znuny Version: 2.4.9

[SOLVED]Get all customers in Customer User <--> Groups

Post by adt »

Hi,
when i navigate to Customer User <--> Groups i don't see all of the customers??

I want to limit some customers and those are not present here...


thanks in advance!
Last edited by adt on 16 Aug 2012, 16:24, edited 1 time in total.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Get all customers in Customer User <--> Groups

Post by jojo »

on the left you have a search filter, use it for your customer user id
"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
adt
Znuny newbie
Posts: 43
Joined: 28 Jun 2012, 17:04
Znuny Version: 2.4.9

Re: Get all customers in Customer User <--> Groups

Post by adt »

jojo wrote:on the left you have a search filter, use it for your customer user id
hi ,
thanks for reply but i forgot to mention my version 2.4.9 and i've opened Customer User <--> Groups Management. i don't see such thing on left pane.

I think i can't see LDAP customers here because its showing me all customers which are present in database only.

please suggest some idea!!
thanks
adt
Znuny newbie
Posts: 43
Joined: 28 Jun 2012, 17:04
Znuny Version: 2.4.9

Re: Get all customers in Customer User <--> Groups

Post by adt »

Some Customer Users can login successfully and I can find them if I search in Customer Users.
But for some reason, I don't see these Customer Users in the customer-user list when I click "Customer User <-> Groups" so that I can add them to a group.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Get all customers in Customer User <--> Groups

Post by jojo »

There is a fixed limit in the template/module
"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
adt
Znuny newbie
Posts: 43
Joined: 28 Jun 2012, 17:04
Znuny Version: 2.4.9

Re: Get all customers in Customer User <--> Groups

Post by adt »

okay..fine
but i have this problem with the Customer Users of LDAP.
These LDAP Customer Users are not in my database(of otrs in Customer User table).

(if i add some new customer user in DB its appearing in list.)

Furthermore, i assigned 1000 to {UserSearchLimit } in file LDAP.pm, but no luck!
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Get all customers in Customer User <--> Groups

Post by jojo »

you need to change

my $SearchLimit = 200;

in Kernel/Modules/AdminCustomerUserGroup.pm
"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
adt
Znuny newbie
Posts: 43
Joined: 28 Jun 2012, 17:04
Znuny Version: 2.4.9

Re: Get all customers in Customer User <--> Groups

Post by adt »

I don't find any such variable in my file AdminCustomerUserGroup.pm
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Get all customers in Customer User <--> Groups

Post by jojo »

well as 2.4. is very outdated and end of live I suggest to update to 3.1.7
"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
adt
Znuny newbie
Posts: 43
Joined: 28 Jun 2012, 17:04
Znuny Version: 2.4.9

Re: Get all customers in Customer User <--> Groups

Post by adt »

Does that mean there is no solution for this??
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Get all customers in Customer User <--> Groups

Post by jojo »

there is shure a solution, but I won't dig in old code for you to find it
"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
adt
Znuny newbie
Posts: 43
Joined: 28 Jun 2012, 17:04
Znuny Version: 2.4.9

Re: [SOLVED]Get all customers in Customer User <--> Groups

Post by adt »

I got the solution for it .


All what i was supposed to do was to go to CustomerUser directory and increase the Limit of Searching Customers in LDAP.pm file.
Now all Customer Users are occuring in CustomerUser <--> Group Support.



Thanks jojo and crythias for your help! :D
Locked