Help connect 10 domain

Moderator: crythias

Post Reply
Alegator2222
Znuny newbie
Posts: 13
Joined: 21 Apr 2016, 14:53
Znuny Version: OTRS 5.0.8
Real Name: Oleg

Help connect 10 domain

Post by Alegator2222 »

Hi, I need help. I want to connect over ten domain.How can I do this??
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Help connect 10 domain

Post by reneeb »

Please give more details...
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Alegator2222
Znuny newbie
Posts: 13
Joined: 21 Apr 2016, 14:53
Znuny Version: OTRS 5.0.8
Real Name: Oleg

Re: Help connect 10 domain

Post by Alegator2222 »

$Self->{CustomerUser1}... work)))
$Self->{CustomerUser2}... work)))
$Self->{CustomerUser3}... work)))
$Self->{CustomerUser11}... -not work(((
$Self->{CustomerUser12}... -not work(((
...
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Help connect 10 domain

Post by jojo »

would require a code change but is not suggested as loads of customer databases slows down the system
"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
dimbass
Znuny newbie
Posts: 8
Joined: 18 Apr 2014, 08:49
Znuny Version: 3.3.0.beta4
Real Name: Dmitry

Re: Help connect 10 domain

Post by dimbass »

Alegator2222 wrote:$Self->{CustomerUser1}... work)))
$Self->{CustomerUser2}... work)))
$Self->{CustomerUser3}... work)))
$Self->{CustomerUser11}... -not work(((
$Self->{CustomerUser12}... -not work(((
...


We were able to solve this problem?
root
Administrator
Posts: 3968
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Help connect 10 domain

Post by root »

What kind of LDAP domain do you want to use? Active DIrectory?
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
dimbass
Znuny newbie
Posts: 8
Joined: 18 Apr 2014, 08:49
Znuny Version: 3.3.0.beta4
Real Name: Dmitry

Re: Help connect 10 domain

Post by dimbass »

root wrote:What kind of LDAP domain do you want to use? Active DIrectory?
thank you all, I decided to

Code: Select all

--- ./System/CustomerUser.pm-2016-11-15 2016-11-15 12:12:35.883319051 +0300
+++ ./System/CustomerUser.pm    2016-11-15 12:17:06.492224011 +0300
@@ -69,7 +69,7 @@
 
     # load customer user backend module
     SOURCE:
-    for my $Count ( '', 1 .. 10 ) {
+    for my $Count ( '', 1 .. 11 ) {
 
         next SOURCE if !$ConfigObject->Get("CustomerUser$Count");
 
@@ -110,7 +110,7 @@
 
     my %Data;
     SOURCE:
-    for my $Count ( '', 1 .. 10 ) {
+    for my $Count ( '', 1 .. 11 ) {
 
         next SOURCE if !$ConfigObject->Get("CustomerUser$Count");
         if ( defined $Param{ReadOnly} ) {
@@ -169,7 +169,7 @@
 
     my %Data;
     SOURCE:
-    for my $Count ( '', 1 .. 10 ) {
+    for my $Count ( '', 1 .. 11 ) {
 
         next SOURCE if !$Self->{"CustomerUser$Count"};
 
@@ -195,7 +195,7 @@
 
     my %Data;
     SOURCE:
-    for my $Count ( '', 1 .. 10 ) {
+    for my $Count ( '', 1 .. 11 ) {
 
         next SOURCE if !$Self->{"CustomerUser$Count"};
 
@@ -223,7 +223,7 @@
 
     my @Data;
     SOURCE:
-    for my $Count ( '', 1 .. 10 ) {
+    for my $Count ( '', 1 .. 11 ) {
 
         next SOURCE if !$Self->{"CustomerUser$Count"};
 
@@ -253,7 +253,7 @@
     my ( $Self, %Param ) = @_;
 
     SOURCE:
-    for my $Count ( '', 1 .. 10 ) {
+    for my $Count ( '', 1 .. 11 ) {
 
         next SOURCE if !$Self->{"CustomerUser$Count"};
 
@@ -280,7 +280,7 @@
     my ( $Self, %Param ) = @_;
 
     SOURCE:
-    for my $Count ( '', 1 .. 10 ) {
+    for my $Count ( '', 1 .. 11 ) {
 
         next SOURCE if !$Self->{"CustomerUser$Count"};
 
@@ -313,7 +313,7 @@
     my $CustomerCompanyObject = $Kernel::OM->Get('Kernel::System::CustomerCompany');
 
     SOURCE:
-    for my $Count ( '', 1 .. 10 ) {
+    for my $Count ( '', 1 .. 11 ) {
 
         next SOURCE if !$Self->{"CustomerUser$Count"};
 
root
Administrator
Posts: 3968
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Help connect 10 domain

Post by root »

Good look, I found at least 17 files with 42 locations for '1 .. 10'. Won't make updates easier
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
Post Reply