Re: [otrs] LDAP Intregration

2009-11-24 Thread Markus Nagel

Dear Zak,
you need to replace it everywhere it occurs, i.e.:

$Self->{'Customer::AuthModule::LDAP::BaseDN'} = 'cn=Users,dc=abc,dc=com';

Hth

Markus Nagel

Mohamed Zakaria schrieb:

Dear Mr Markus,

Thank you for your suggestion. I tried to change it to 
"cn=otrs,cn=Users,dc=abc,dc=com". But still have the same error.

Regards,
Zak

-Original Message-
From: otrs-boun...@otrs.org [mailto:otrs-boun...@otrs.org] On Behalf Of Markus 
Nagel
Sent: Wednesday, November 25, 2009 12:42 AM
To: otrs@otrs.org
Subject: Re: [otrs] LDAP Intregration

Hi Mohamed,
a.f.a.i.k. the path to the default container "Users" is not
"ou=Users,dc=some,dc=domain", but "cn=Users,dc=some,dc=domain".
You can check this by searching for a user with the following command:
dsquery user -name someusername
where "someusername" is a user in the container Users or one of its
subcontainers.
Could this be the simple reason for your problem.

Regards Markus

Mohamed Zakaria schrieb:

Hi,



I am not able to intergrate my current AD to the otrs system. The system
log shows this message:

Tue Nov 24 17:03:25 2009 error  OTRS-CGI-10  First
bind failed! 80090308: LdapErr: DSID-0C090334, comment:
AcceptSecurityContext error, data 525, vece�



This is my config.pm the portion that is above “End of own config”. Can
anyone help me with this? Thanks.



#Start of LDAP

#Enable LDAP authentication for Customers / Users

  $Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::LDAP';

  $Self->{'Customer::AuthModule::LDAP::Host'} = '10.200.1.1';

  $Self->{'Customer::AuthModule::LDAP::BaseDN'} = 'ou=Users,dc=abc,dc=com';

  $Self->{'Customer::AuthModule::LDAP::UID'} = 'sAMAccountName';



#The following is valid but would only be necessary if the

#anonymous user do NOT have permission to read from the LDAP tree

  $Self->{'Customer::AuthModule::LDAP::SearchUserDN'} = 'otrs';

  $Self->{'Customer::AuthModule::LDAP::SearchUserPw'} = 'password';



#CustomerUser

#(customer user database backend and settings)

$Self->{CustomerUser} = {

  Module => 'Kernel::System::CustomerUser::LDAP',

  Params => {

  Host => '10.200.1.1',

  BaseDN => 'OU=Users,DC=abc,DC=com',

  SSCOPE => 'sub',

  UserDN =>'CN=otrs,OU=Users,DC=abc,DC=com',

  UserPw => 'password',

},

# customer unique id

CustomerKey => 'sAMAccountName',

# customer #

CustomerID => 'mail',

CustomerUserListFields => ['sAMAccountName', 'cn', 'mail'],

CustomerUserSearchFields => ['sAMAccountName', 'cn', 'mail'],

CustomerUserSearchPrefix => '',

CustomerUserSearchSuffix => '*',

CustomerUserSearchListLimit => 250,

CustomerUserPostMasterSearchFields => ['mail'],

CustomerUserNameFields => ['givenname', 'sn'],

Map => [

  # note: Login, Email and CustomerID needed!

  # var, frontend, storage, shown, required, storage-type

  #[ 'UserSalutation', 'Title', 'title', 1, 0, 'var' ],

  [ 'UserFirstname', 'Firstname', 'givenname', 1, 1, 'var' ],

  [ 'UserLastname', 'Lastname', 'sn', 1, 1, 'var' ],

  [ 'UserLogin', 'Login', 'sAMAccountName', 1, 1, 'var' ],

  [ 'UserEmail', 'Email', 'mail', 1, 1, 'var' ],

  [ 'UserCustomerID', 'CustomerID', 'mail', 0, 1, 'var' ],

  [ 'UserPhone', 'Phone', 'telephonenumber', 1, 0, 'var' ],

  #[ 'UserAddress', 'Address', 'postaladdress', 1, 0, 'var' ],

  #[ 'UserComment', 'Comment', 'description', 1, 0, 'var' ],

],

  };



#Add the following lines when only users are allowed to login if they
reside in the spicified security group

#Remove these lines if you want to provide login to all users specified
in the User Base DN

#example: $Self->{'Customer::AuthModule::LDAP::BaseDN'} = 'ou=BaseOU,
dc=example, dc=com';

 # $Self->{'Customer::AuthModule::LDAP::GroupDN'} =
'CN=otrs_ldap_allow_C,OU=Groups,OU=BaseOU,DC=example,DC=com';

 # $Self->{'Customer::AuthModule::LDAP::AccessAttr'} = 'member';

 # $Self->{'Customer::AuthModule::LDAP::UserAttr'} = 'DN'





#End of LDAP





Regards,

Zak

-

Re: [otrs] LDAP Intregration

2009-11-24 Thread Markus Nagel
Hi Mohamed,
a.f.a.i.k. the path to the default container "Users" is not
"ou=Users,dc=some,dc=domain", but "cn=Users,dc=some,dc=domain".
You can check this by searching for a user with the following command:
dsquery user -name someusername
where "someusername" is a user in the container Users or one of its
subcontainers.
Could this be the simple reason for your problem.

Regards Markus

Mohamed Zakaria schrieb:
> Hi,
> 
>  
> 
> I am not able to intergrate my current AD to the otrs system. The system
> log shows this message:
> 
> Tue Nov 24 17:03:25 2009 error  OTRS-CGI-10  First
> bind failed! 80090308: LdapErr: DSID-0C090334, comment:
> AcceptSecurityContext error, data 525, vece�
> 
>  
> 
> This is my config.pm the portion that is above “End of own config”. Can
> anyone help me with this? Thanks.
> 
>  
> 
> #Start of LDAP
> 
> #Enable LDAP authentication for Customers / Users
> 
>   $Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::LDAP';
> 
>   $Self->{'Customer::AuthModule::LDAP::Host'} = '10.200.1.1';
> 
>   $Self->{'Customer::AuthModule::LDAP::BaseDN'} = 'ou=Users,dc=abc,dc=com';
> 
>   $Self->{'Customer::AuthModule::LDAP::UID'} = 'sAMAccountName';
> 
>  
> 
> #The following is valid but would only be necessary if the
> 
> #anonymous user do NOT have permission to read from the LDAP tree
> 
>   $Self->{'Customer::AuthModule::LDAP::SearchUserDN'} = 'otrs';
> 
>   $Self->{'Customer::AuthModule::LDAP::SearchUserPw'} = 'password';
> 
>  
> 
> #CustomerUser
> 
> #(customer user database backend and settings)
> 
> $Self->{CustomerUser} = {
> 
>   Module => 'Kernel::System::CustomerUser::LDAP',
> 
>   Params => {
> 
>   Host => '10.200.1.1',
> 
>   BaseDN => 'OU=Users,DC=abc,DC=com',
> 
>   SSCOPE => 'sub',
> 
>   UserDN =>'CN=otrs,OU=Users,DC=abc,DC=com',
> 
>   UserPw => 'password',
> 
> },
> 
> # customer unique id
> 
> CustomerKey => 'sAMAccountName',
> 
> # customer #
> 
> CustomerID => 'mail',
> 
> CustomerUserListFields => ['sAMAccountName', 'cn', 'mail'],
> 
> CustomerUserSearchFields => ['sAMAccountName', 'cn', 'mail'],
> 
> CustomerUserSearchPrefix => '',
> 
> CustomerUserSearchSuffix => '*',
> 
> CustomerUserSearchListLimit => 250,
> 
> CustomerUserPostMasterSearchFields => ['mail'],
> 
> CustomerUserNameFields => ['givenname', 'sn'],
> 
> Map => [
> 
>   # note: Login, Email and CustomerID needed!
> 
>   # var, frontend, storage, shown, required, storage-type
> 
>   #[ 'UserSalutation', 'Title', 'title', 1, 0, 'var' ],
> 
>   [ 'UserFirstname', 'Firstname', 'givenname', 1, 1, 'var' ],
> 
>   [ 'UserLastname', 'Lastname', 'sn', 1, 1, 'var' ],
> 
>   [ 'UserLogin', 'Login', 'sAMAccountName', 1, 1, 'var' ],
> 
>   [ 'UserEmail', 'Email', 'mail', 1, 1, 'var' ],
> 
>   [ 'UserCustomerID', 'CustomerID', 'mail', 0, 1, 'var' ],
> 
>   [ 'UserPhone', 'Phone', 'telephonenumber', 1, 0, 'var' ],
> 
>   #[ 'UserAddress', 'Address', 'postaladdress', 1, 0, 'var' ],
> 
>   #[ 'UserComment', 'Comment', 'description', 1, 0, 'var' ],
> 
> ],
> 
>   };
> 
>  
> 
> #Add the following lines when only users are allowed to login if they
> reside in the spicified security group
> 
> #Remove these lines if you want to provide login to all users specified
> in the User Base DN
> 
> #example: $Self->{'Customer::AuthModule::LDAP::BaseDN'} = 'ou=BaseOU,
> dc=example, dc=com';
> 
>  # $Self->{'Customer::AuthModule::LDAP::GroupDN'} =
> 'CN=otrs_ldap_allow_C,OU=Groups,OU=BaseOU,DC=example,DC=com';
> 
>  # $Self->{'Customer::AuthModule::LDAP::AccessAttr'} = 'member';
> 
>  # $Self->{'Customer::AuthModule::LDAP::UserAttr'} = 'DN'
> 
>  
> 
>  
> 
> #End of LDAP
> 
>  
> 
>  
> 
> Regards,
> 
> Zak
> 
> 
> This email is confidential and intended solely for the use of the
> individual to whom it is addressed. If you are not the intended
> recipient, be advised that you have received this email in error and
> that any use, dissemination, forwarding, printing or copying of this
> email is strictly prohibited. If you have received this email in error
> please contact the sender.
> 
> 
> 
> 
> 
> -
> OTRS mailing list: otrs - Webpage: http://otrs.org/
> Archive: http://lists.otrs.org/pipermail/otrs
> To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
> 
> NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
> http://www.otrs.com/en/support/enterprise-subscription/

-
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listin

[otrs] Adding the TicketType-field to Answers

2009-06-23 Thread Markus Nagel
Hello list,
similar to the post "Adding the Services field to the close tab?", we'd
like to get the possibility to change the Ticket Type by answering Tickets.
We've already realized it in creating notes, but it would be great to
change the type in one step by creating an answer and changing the type.
I cannot find such entry at
Ticket -> Frontend::Agent::Ticket::ViewCompose
Do I look at the wrong place?

Any hints would be great

Using OTRS 2.3.3 with ITSM 1.2.2

Thanks in advance

Markus Nagel

-
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/


[otrs] multivalue values from ldap connection

2009-06-22 Thread Markus Nagel
Hello list,
does anyone have experience in getting parts of a multivalue field from
MS AD in an ldap-customer backend?
When I map it in normal way in Config.PM, I only get the first value of
the multivalue field.

Thanks in advance

Markus Nagel

-
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/


[otrs] Forwarding notes

2009-05-08 Thread Markus Nagel
Hello all,
is there a possibility to forward a note?
When I look at a note, I only got a link to "print" the note, but none
to forward it.

Thanks in advance

Markus Nagel

-
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/


[otrs] Autoanswers and notifications as bounce-massages

2009-04-20 Thread Markus Nagel
Hello list,
does anybody know if it is possible to configure the autoanswers and
notifications not as bounce-messages but as simple answers.
In the moment, all autoanswers seem to be buildt as bounces or
identified as bounces which not every recipient seems to like.

Thanks for your help in advance

Markus Nagel

-
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/


Re: [otrs] Multiple ldap servers

2009-01-08 Thread Markus Nagel
Hello Guillaume,
I got the same issue and found somewhere in the mailinglist a solution,
which works quiet well now.

In Config.pm, define an array like this:
my @ldaphosts = ( 'dc1.domain.local', 'dc2.domain.local',
'dc3.domain.local');

Now, evrywhere where an entry for Host is necessary, use this variable, i.e.
# CustomerUser
# (customer user ldap backend and settings)
$Self->{CustomerUser1} = {
Name => 'LDAP Backend',
Module => 'Kernel::System::CustomerUser::LDAP',
Params => {
# ldap host
Host => \...@ldaphosts,

# AgentAuth
$Self->{'AuthModule'} = 'Kernel::System::Auth::LDAP';
$Self->{'AuthModule::LDAP::Host'} = \...@ldaphosts;

# CustomerAuth
    $Self->{'Customer::AuthModule::LDAP::Host'} = \...@ldaphosts;

Hope this helps

Greetings

Markus Nagel


Guillaume Rehm schrieb:
> Hi list,
> 
> Is it possible to define in OTRS more than one ldap server to prevent
> server off-line ?
> 
> I try to put a perl array in config.pm file for ldap host but this
> doesn't work correctly. If the first element of the array doesn't
> respond, OTRS say: can't connect to first element host and don't try to
> connect to the second !
> 
> Do you have a solution ?
> 
> Thanks in advance.
> 
> -- 
> Guillaume REHM
> Centre de Ressources Informatiques
> Responsable Sécurité du Système d'Information (RSSI)
> 
> Bibliothèque Nationale et Universitaire de Strasbourg
> 5 rue du Maréchal Joffre
> BP 51029
> 67070 Strasbourg
> 
> tél: 03 88 25 28 23
> fax: 03 88 25 28 03
> mail: guillaume.r...@bnu.fr
> web: http://www.bnu.fr
> 
> 
> 
> 
> ___
> OTRS mailing list: otrs - Webpage: http://otrs.org/
> Archive: http://lists.otrs.org/pipermail/otrs
> To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

___
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs


Re: [otrs] Pictures in public FAQ

2009-01-07 Thread Markus Nagel
Hello Christoph,
thanks for the suggestion, but I don't think that it is a matter of
access rights, as I already mentioned fine in the AgentFrontend - for
any agent.
Also I mattered, that it doesn't work in the customer nor in the public FAQ.
As I understand it, in these surroundings there is nothing to deal with
group rights.
I think, it really is the described bug. You can also see it, when you
look in the html-sourcecode of the public or customer-FAQ.

Greetings

Markus Nagel

Christoph Ohliger schrieb:
> Hi Michiel, Markus,
> 
> I also had this problem but its working for me now. I gave the rights
> for agent group users at the corresponding FAQ category ...
> 
> regards
> Christoph
> 
> Michiel Beijen schrieb:
>> Hi Markus,
>>  
>> Unfortunately this is an open bug:
>> http://bugs.otrs.org/show_bug.cgi?id=3460
>>  
>> The bug report also suggests the solution but does not contain one.
>>  
>> Regards,
>> --
>> Michiel Beijen
>> Software Consultant
>> +31 6 - 457 42 418
>> Bee Free IT + http://beefreeit.nl
>>
>>
>> On Tue, Jan 6, 2009 at 15:51, Markus Nagel > <mailto:e...@tekomedia.de>> wrote:
>>
>> Hello list,
>> I am very pleased to see that the wysiwyg-editor in FAQ-Module 1.5.4
>> also deals with pictures and even picture uploads.
>> This works very well in AgentFrontend.
>> But when I change to customer or public frontend, the pictures are not
>> visible and there neither is a placeholder for them. They are
>> simply not
>> there.
>>     Returning to AgentFrontend, thea are still there.
>> Is it a matter of configuration or user rights?
>>
>> I'm using otrs 2.3.3 with ITSM 1.2.2
>>
>> Thanks in advance
>>
>> Markus Nagel
>>
>> ___
>> OTRS mailing list: otrs - Webpage: http://otrs.org/
>> Archive: http://lists.otrs.org/pipermail/otrs
>> To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
>>
>>
>> 
>>
>> ___
>> OTRS mailing list: otrs - Webpage: http://otrs.org/
>> Archive: http://lists.otrs.org/pipermail/otrs
>> To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
> 
> 
> 
> 
> ___
> OTRS mailing list: otrs - Webpage: http://otrs.org/
> Archive: http://lists.otrs.org/pipermail/otrs
> To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

___
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs


[otrs] Pictures in public FAQ

2009-01-06 Thread Markus Nagel
Hello list,
I am very pleased to see that the wysiwyg-editor in FAQ-Module 1.5.4
also deals with pictures and even picture uploads.
This works very well in AgentFrontend.
But when I change to customer or public frontend, the pictures are not
visible and there neither is a placeholder for them. They are simply not
there.
Returning to AgentFrontend, thea are still there.
Is it a matter of configuration or user rights?

I'm using otrs 2.3.3 with ITSM 1.2.2

Thanks in advance

Markus Nagel

___
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs


Re: [otrs] OTRS 2.3.3 - Authenticating against Windows 2K3 AD failing

2008-12-17 Thread Markus Nagel
Hello Andy,
I'm not sure if this is the reason, but I'm missing some lines in your
config when I compare it with ours.
I've put them into your original text below

HTH

Greetings
Markus Nagel


Andy Ashley schrieb:
> Hi all,
> 
> Perhaps someone can shed some light on this. I have scoured the net and
> forums pretty well..
> 
> I have a machine, Gentoo Linux running Apache (2.2.9) with PHP
> (5.2.5-p17) and Net::LDAP (perl-ldap-0.39).
> 
> /etc/resolv.conf
> search subdomain.domain.tld
> nameserver 192.168.100.10
> 
> OTRS (2.3.3, tried 2.3.2 too, same result) is running as an Apache
> vhost. I have restarted Apache after config changes as suggested by
> someone who discovered that this is sometimes needed although it really
> shouldnt be..
> 
> I have configured OTRS to authenticate against a Windows 2K3 AD server,
> relevant(hopefully) config is as follows:
> 
>   $Self->{'AuthModule'} = 'Kernel::System::Auth::LDAP';
>   $Self->{'AuthModule::LDAP::Host'} = '192.168.100.10';
>   $Self->{'AuthModule::LDAP::BaseDN'} =
> 'ou=INTERNAL,dc=subdomain,dc=domain,dc=tld';
>   $Self->{'AuthModule::LDAP::UID'} = 'sAMAccountName';
> 
>   $Self->{'AuthModule::LDAP::GroupDN'} =
> 'cn=otrs_users,cn=Users,dc=subdomain,dc=domain,dc=tld';
snip-
# missing the AccessAttr
$Self->{'AuthModule::LDAP::AccessAttr'} = 'member';
# for non ldap posixGroups objectclass (with full user dn)
$Self->{'AuthModule::LDAP::UserAttr'} = 'DN';
snip-
> 
>$Self->{'AuthModule::LDAP::SearchUserDN'} =
> 'CN=binddn_user,OU=Service Accounts,dc=subdomain,dc=domain,dc=tld';
>$Self->{'AuthModule::LDAP::SearchUserPw'} = 'Mypa55word';
> 
>   $Self->{'AuthModule::LDAP::Params'} = {
>   port => 389,
>   timeout => 120,
>   async => 0,
>   version => 3,
>   };
> 
>   $Self->{UserSyncLDAPMap} = {
>   # DB -> LDAP
>   UserFirstname => 'givenName',
>   UserLastname => 'sn',
>   UserEmail => 'mail',
>   };
> 
>   $Self->{UserSyncLDAPGroups} = [
>   'users',
>   ];
> 
> I left out the group filtering bits as I just want to get it working
> before trying to lock it down.
> Now, if I attempt to log in as a user in the INTERNAL OU (or any user
> for that matter), I get a failure:
> 
> Login Failed! Your username or password was entered incorrectly. (I
> double checked the password, AD account is not locked out and is part of
> the otrs_users group which is in the Service Accounts OU)
> 
> From: /var/log/otrs.log
> 
> [Wed Dec 17 17:05:11 2008][Error][Kernel::System::Auth::LDAP::Auth][191]
> First bind failed! 80090308: LdapErr: DSID-0C090334, comment:
> AcceptSecurityContext error, data 525, vece
> 
> A look at the AD Security logs says that the binddn_user is sucessfully
> authenticating/logging out but nothing much else.
> 
> 
> Any help much appreciated!
> 
> Thanks.
> 

___
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs


Re: [otrs] Notification about new Tickets in AgentFrontend

2008-11-27 Thread Markus Nagel
Hello once again,
is there nobody else here who got this feature request?
Being notified in the AgentFrontend for non-locked tickets. Is it just
in my case that it is not the default setting?
Any hint would be marvellous.
Thanks in advance

Markus

Markus Nagel schrieb:
> Hello list,
> I'm searching for the switch in SysConfig where I can turn on the
> notification about new tickets and / or followups for non-locked tickets
> in the AgentFrontend.
> I am notified by email about "my queues", but when I am already logged
> in to the AgentFront, I don't want to follow the link in the
> notification email but want to be notified by the Frontend itself.
> This notification works well for tickets which are locked by my account.
> Where do I find this configuration option (I guess, it is one)?
> 
> Thanks in advance
> 
> Markus Nagel
> 
> ___
> OTRS mailing list: otrs - Webpage: http://otrs.org/
> Archive: http://lists.otrs.org/pipermail/otrs
> To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
> 

___
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs


[otrs] Notification about new Tickets in AgentFrontend

2008-11-24 Thread Markus Nagel
Hello list,
I'm searching for the switch in SysConfig where I can turn on the
notification about new tickets and / or followups for non-locked tickets
in the AgentFrontend.
I am notified by email about "my queues", but when I am already logged
in to the AgentFront, I don't want to follow the link in the
notification email but want to be notified by the Frontend itself.
This notification works well for tickets which are locked by my account.
Where do I find this configuration option (I guess, it is one)?

Thanks in advance

Markus Nagel

___
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs


Re: [otrs] R: [UPGRADE 2.2.6 to 2.3.1] No MainObject! at /var/www/otrs-231/bin/cgi-bin/../../Kernel/System/AuthSession.pm line 83.

2008-09-18 Thread Markus Nagel
Hello,
well, I know, it's not a proper solution, but as I can't go back to
version 2.2.7 because of modifications in the database and new data put
in there, I simply tried to replace the file AuthSession.pm with version
 1.29 from otrs 2.2.7. What shall I say: it works.
As far as I can see until now, everything works not only for customers,
but also for agents.
The difference between version 1.36 in otrs 2.3.2 an 1.29 from 2.2.7 as
I can see is the part with MainObject.
As I don't know what it is for and as I cannot see any bad consequences,
I'm gonny leave it like this.
As already mentioned: not fine, but it works

Greetings

Markus Nagel

Serge schrieb:
>  Hello
> 
>> well, it still doesn't work for me although I wrote the whole ldap stuff
>> from Default.pm from scratch.
> 
> I'll try on a copy of my real server, I have make the upgrade (no error)
> 
>  I rewrote the whole ldap part from Defaut.pm from scratch and i have
> also the error message:
> 
>  No MainObject! at
> /var/www/otrs-231/bin/cgi-bin/../../Kernel/System/AuthSession.pm line 83.
> 
> for customer login.
> 
> still stuck in v 2.2.6
> 
> 
> Serge
> 
> ___
> OTRS mailing list: otrs - Webpage: http://otrs.org/
> Archive: http://lists.otrs.org/pipermail/otrs
> To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
> 

___
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs


Re: [otrs] R: [UPGRADE 2.2.6 to 2.3.1] No MainObject! at /var/www/otrs-231/bin/cgi-bin/../../Kernel/System/AuthSession.pm line 83.

2008-09-17 Thread Markus Nagel
#x27;, '', 1 ],
[ 'UserCustomerID', 'CustomerID', 'otherPager', 
0, 1,
'var', '', 0 ],
# [ 'UserCustomerIDs', 'CustomerIDs', 'second_customer_ids',
1, 0, 'var', '', 0 ],
[ 'UserPhone',  'Phone',  'telephonenumber',
1,
0, 'var', '', 0 ],

[ 'UserPhoneTwo',   'Phone 2',  'homephone',
1, 0,
'var', '', 0 ],
[ 'UserMobile', 'Mobil','mobile',   
1, 0, 'var', '',
0 ],
[ 'UserFax','Fax',  
'facsimileTelephoneNumber', 1, 0,
'var', '', 0 ],

[ 'UserAddress','Address',  'streetAddress',
1, 0,
'var', '', 0 ],

[ 'UserPLZ','PLZ',  'postalCode',   
1, 0, 'var',
'', 0 ],
[ 'UserOrt','Ort',  'l',
1, 0, 'var', '', 0 ],
[ 'UserFirma',  'Firma','company',  
1, 0, 'var',
'', 0 ],

[ 'UserComment','Comment',  'description',  
1, 0,
'var', '', 0 ],
],
};

-
And for customer authentication:

$Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::Multiple';

$Self->{'Customer::AuthModule::Multiple::Modules'}='Kernel::System::CustomerAuth::DB
Kernel::System::CustomerAuth::LDAP';

# This is an example configuration for an LDAP auth. backend.
# (take care that Net::LDAP is installed!)
#$Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::LDAP';
$Self->{'Customer::AuthModule::LDAP::Host'} = 'contra.tekomedia.local';
$Self->{'Customer::AuthModule::LDAP::BaseDN'} =
'ou=castroper,dc=tekomedia,dc=local';
$Self->{'Customer::AuthModule::LDAP::UID'} = 'sAMAccountName';

# Check if the user is allowed to auth in a posixGroup
# (e. g. user needs to be in a group xyz to use otrs)
#$Self->{'Customer::AuthModule::LDAP::GroupDN'} =
'cn=Benutzer,cn=Builtin,dc=domain,dc=tld';
#$Self->{'Customer::AuthModule::LDAP::AccessAttr'} = 'member';
# for ldap posixGroups objectclass (just uid)
#$Self->{'Customer::AuthModule::LDAP::UserAttr'} = 'UID';
# for non ldap posixGroups objectclass (full user dn)
#$Self->{'Customer::AuthModule::LDAP::UserAttr'} = 'DN';

# The following is valid but would only be necessary if the
# anonymous user do NOT have permission to read from the LDAP tree
$Self->{'Customer::AuthModule::LDAP::SearchUserDN'} =
'cn=somecn,cn=Users,dc=domain,dc=tld';
$Self->{'Customer::AuthModule::LDAP::SearchUserPw'} = 'somepass';

# in case you want to add always one filter to each ldap query, use
# this option. e. g. AlwaysFilter => '(mail=*)' or AlwaysFilter =>
'(objectclass=user)'
   $Self->{'Customer::AuthModule::LDAP::AlwaysFilter'} =
'(objectclass=user)';

# in case you want to add a suffix to each customer login name, then
# you can use this option. e. g. user just want to use user but
# in your ldap directory exists [EMAIL PROTECTED]
#$Self->{'Customer::AuthModule::LDAP::UserSuffix'} = '@domain.com';

# Net::LDAP new params (if needed - for more info see perldoc Net::LDAP)
$Self->{'Customer::AuthModule::LDAP::Params'} = {
port => 389,
timeout => 120,
async => 0,
version => 3,
};

# Die if backend can't work, e. g. can't connect to server.
$Self->{'Customer::AuthModule::LDAP::Die'} = 1;

# - #
# Versuch, ein weiteres Kundenauthentifizierungssystem via  #
# normaler Datenbank einzurichten   #
# --

Re: [otrs] No MainObject! at $OTRSHOME/Kernel/System/AuthSession.pmline 83

2008-09-17 Thread Markus Nagel
Hello LQ Marshall,
yes, you're right, it seems to be the same issue. I just recognized your
post after putting mine.
I'll give it a try and hope that it helps.
Thanks in advance

Markus Nagel

LQ Marshall schrieb:
> Markus,
> 
> You're issue seems to be the same as the "[UPGRADE 2.2.6 to 2.3.1] No
> MainObject! at
> /var/www/otrs-231/bin/cgi-bin/../../Kernel/System/AuthSession.pm line 83."
> thread (wow that's a mouthful).
> 
> A possible solution was just posted to the list.
> 
> lqm
> 
>> -Original Message-
>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On 
>> Behalf Of Markus Nagel
>> Sent: Tuesday, September 16, 2008 1:03 PM
>> To: otrs@otrs.org
>> Subject: [otrs] No MainObject! at 
>> $OTRSHOME/Kernel/System/AuthSession.pmline 83
>>
>> Hello newsgroup,
>> I hope that there is so out there who can help me, because I 
>> simply don't know where to look at.
>> We're using OTRS since several years and I'm really 
>> enthusiatic for it, but since the update from version 2.2.7 
>> to 2.3.2, there is a strange error in customer.pl.
>> When a customer tries to logon, he receives the following 
>> statement and nothing further happens:
>>
>> Software error:
>>
>> No MainObject! at /opt/otrs//Kernel/System/AuthSession.pm line 83.
>>
>> We're using three backends for customers, the normal 
>> otrs-database, one ldap against ActiveDirectory Win2k3 and 
>> one "external" MySQL-DB.
>>
>> We're authenticating customers against ldap OR otrs-DB, 
>> thanks to Ralf Becker's Multiple.pm.
>>
>> Everything worked fine under OTRS 2.2.7, but now our 
>> customers get this strange message when they try to login.
>>
>> The authentication seems to work fine corresponding to the 
>> SystemLog, also for ldap as for DB-Users, so where could the 
>> error belong to?
>>
>> I'd appreciate every little hint.
>>
>> Thanks in advance
>>
>> Markus Nagel
>>
>> PS:
>> Forgot the System environment:
>> Suse Linux 9.0
>> MySQL 4.0.15
>> Perl 5.8.1
>> ___
>> OTRS mailing list: otrs - Webpage: http://otrs.org/
>> Archive: http://lists.otrs.org/pipermail/otrs
>> To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
>>
> 
> ___
> OTRS mailing list: otrs - Webpage: http://otrs.org/
> Archive: http://lists.otrs.org/pipermail/otrs
> To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
> 

___
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs


[otrs] No MainObject! at $OTRSHOME/Kernel/System/AuthSession.pm line 83

2008-09-16 Thread Markus Nagel
Hello newsgroup,
I hope that there is so out there who can help me, because I simply
don't know where to look at.
We're using OTRS since several years and I'm really enthusiatic for it,
but since the update from version 2.2.7 to 2.3.2, there is a strange
error in customer.pl.
When a customer tries to logon, he receives the following statement and
nothing further happens:

Software error:

No MainObject! at /opt/otrs//Kernel/System/AuthSession.pm line 83.

We're using three backends for customers, the normal otrs-database, one
ldap against ActiveDirectory Win2k3 and one "external" MySQL-DB.

We're authenticating customers against ldap OR otrs-DB, thanks to Ralf
Becker's Multiple.pm.

Everything worked fine under OTRS 2.2.7, but now our customers get this
strange message when they try to login.

The authentication seems to work fine corresponding to the SystemLog,
also for ldap as for DB-Users, so where could the error belong to?

I'd appreciate every little hint.

Thanks in advance

Markus Nagel

PS:
Forgot the System environment:
Suse Linux 9.0
MySQL 4.0.15
Perl 5.8.1
___
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs


Re: [otrs] [UPGRADE 2.2.6 to 2.3.1] No MainObject! at /var/www/otrs-231/bin/cgi-bin/../../Kernel/System/AuthSession.pm line 83.

2008-09-16 Thread Markus Nagel
Hello Serge,
have you got a solution for this occurence? We do have the same problem
and I'm not sure if it is a misconfiguration or a bug.
Thanks in advance

Markus Nagel

Serge Algarotti schrieb:
> 
> Hi
> 
> I test on a test machine the OTRS upgrade from 2.2.6 to 2.3.1:
> 
> 1) I have do a clone machine with otrs as the real machine (OTRS 2.2.6)
> 
> 2) I have upgraded as explain in the UPGRADING file
> 
> * install the new release 2.3.1
> * i have copied the Kernel/Config.pm and GenericAgent.pm
> * I have upgrade with  DBUpdate-to-2.3.mysql.sql (no error)
> * I have run DBUpdate-to-2.3.pl (no error)
> * I have upgrade with DBUpdate-to-2.3-post.mysql.sql (no error)
> 
> 
> When I connect to /otrs/index.pl as agent, everything is ok, all work
> 
> When a customer connect (/otrs/customer.pl , he have a error message and
> he cannot connect:
> 
> No MainObject! at
> /var/www/otrs-231/bin/cgi-bin/../../Kernel/System/AuthSession.pm line 83.
> 
> The line 83 is:
> 
> 
> # check needed objects
> for (qw(LogObject ConfigObject TimeObject DBObject MainObject)) {
> $Self->{$_} = $Param{$_} || die "No $_!";  <<<< line 83
> }
> 
> The customer backend is LDAP.
> 
> All is ok and work  on the real machine in 2.2.6 since many months.
> 
> can you help me ?
> 
> I have the same Config.pm than in 2.2.6 .
> 
> 
> thank you,
> 
> Serge
> ___
> OTRS mailing list: otrs - Webpage: http://otrs.org/
> Archive: http://lists.otrs.org/pipermail/otrs
> To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
> Support or consulting for your OTRS system?
> => http://www.otrs.com/
> 

___
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs


[otrs] external customer backend with filter

2008-06-27 Thread Markus Nagel

Hi all,
I've figured out how to set up an external DB Backend for customer 
users. It shall just have the function of a kind of address book, these 
customers shall not be able to login.

The external backend also is a MySQL-database on the same mashine.
What I'd like to do is filtering the amount of addresses in this address 
book, let's say there exists a field called "access" in the external 
database table and public addresses do have the entry "group" or "all", 
how do I configure otrs to only show those entries with "group" or "all" 
in the field "access". Which "key" do I use and which value should it have?

Something like CustomerUserValidFilter for LDAP-Backends perhaps?

Thanks in advance for your suggestions.

Sincerely
___
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support or consulting for your OTRS system?
=> http://www.otrs.com/


[otrs] Subject without Ticketnumber (TicketSubjectClean)

2008-06-25 Thread Markus Nagel

Hello all,
by searching a solution for building subjects in answers without 
Ticketnumbers, I found a sub called TicketSubjectClean.
I'm not really fit in perl, but as far as I understand the code, it 
cleans out the Ticketnumber from the subject.

Does anybody know where to activate this param?

I'm using otrs 2.2.6 with ITSM 1.0.6

Thanks in advance

___
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support or consulting for your OTRS system?
=> http://www.otrs.com/


[otrs] Re: otrs.org down

2007-09-21 Thread Markus Nagel
Perhaps I was a little too unconscious, Now everything works again

Markus Nagel schrieb:
> Hello folks,
> I try to take a look at otrs.org or its subdomains, but nothing happens.
> Although I can ping it.
> Is there a problem wit the webserver?
> Regards
> 
> Markus Nagel
> 
> ___
> OTRS mailing list: otrs - Webpage: http://otrs.org/
> Archive: http://lists.otrs.org/pipermail/otrs
> To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
> Support or consulting for your OTRS system?
> => http://www.otrs.com/
> 

___
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support or consulting for your OTRS system?
=> http://www.otrs.com/


[otrs] otrs.org down

2007-09-21 Thread Markus Nagel

Hello folks,
I try to take a look at otrs.org or its subdomains, but nothing happens. 
Although I can ping it.

Is there a problem wit the webserver?
Regards

Markus Nagel

___
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support or consulting for your OTRS system?
=> http://www.otrs.com/