[otrs] problems with LDAP

2009-07-10 Thread Marcus Vinicius Barbato Gonzaga
HI!

We are testing the OTRS in our company, but i'm having some problems with
the autentication in LDAP.
I configurate my config.pm based on the example of this page:
http://www.mail-archive.com/otrs@otrs.org/msg25382.html
BUT when i try to connect, i get the follow error:
Software error:

Can't connect to exampleCompany.com.br: IO::Socket::INET: connect:
Connection refused at /opt/otrs//Kernel/System/CustomerUser/LDAP.pm
line 124.

 For help, please send mail to the webmaster (webmas...@localhost), giving
this error message and the time and date of the error.


And this is my config.pm.
Because it's needed a user that has the permission to query the LDAP
directory, i put the user otrs_ldap in Builtin OU.
And Create 2 groups:
otrs_allow_C - for the clients
and otrs_allow_A for the agents
I put myself in this 2 groups, but i got the error when i try to connect.

Someone could help me?

Best Regards

Marcus Vinicius


package Kernel::Config;

sub Load {
my $Self = shift;
#  #
#  #
#  #
# Start of your own config options!!!  #
#  #
#  #
#  #

#  #
# database settings#
#  #
# DatabaseHost
# (The database host.)
$Self->{DatabaseHost} = 'localhost';
# Database
# (The database name.)
$Self->{Database} = 'otrs';
# DatabaseUser
# (The database user.)
$Self->{DatabaseUser} = 'otrs';
# DatabasePw
# (The password of database user. You also can use bin/CryptPassword.pl
# for crypted passwords.)
$Self->{DatabasePw} = '123123';
# DatabaseDSN
# (The database DSN for MySQL ==> more: "man DBD::mysql")
  # $Self->{DatabaseDSN} =
"DBI:mysql:database=$Self->{Database};host=$Self->{DatabaseHost};";

# (The database DSN for PostgreSQL ==> more: "man DBD::Pg")
# if you want to use a local socket connection
#$Self->{DatabaseDSN} = "DBI:Pg:dbname=$Self->{Database};";
# if you want to use a tcpip connection
$Self->{DatabaseDSN} =
"DBI:Pg:dbname=$Self->{Database};host=$Self->{DatabaseHost};";

#  #
# fs root directory
#  #
$Self->{Home} = '/opt/otrs';

#  #
# insert your own config settings "here"   #
# config settings taken from Kernel/Config/Defaults.pm #
#  #
# $Self->{SessionUseCookie} = 0;
# $Self->{CheckMXRecord} = 0;

#  #

#  #
# data inserted by installer   #
#  #
# $DIBI$



## Start of Config.pm  


#we want to use LDAP for Auth#
$Self->{'AuthModule'} = 'Kernel::System::Auth::LDAP';
$Self->{'AuthModule::LDAP::Host'} = 'examplecompany.com.br';
$Self->{'AuthModule::LDAP::BaseDN'} = 'dc=examplecompany,dc=com,dc=br';
$Self->{'AuthModule::LDAP::UID'} = 'uid';

#The username and password of the user you setup to access LDAP
information in AD#
$Self->{'AuthModule::LDAP::SearchUserDN'} =
'CN=otrs_ldap,CN=Users,DC=examplecompany,DC=com,DC=br';
$Self->{'AuthModule::LDAP::SearchUserPw'} = '12345678';

#We want our Customer/users to Auth using LDAP#
$Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::LDAP';

$Self->{'Customer::AuthModule::LDAP::Host'} = 'examplecompany.com.br';
$Self->{'Customer::AuthModule::LDAP::BaseDN'} =
'CN=Users,DC=examplecompany,DC=com,DC=br';
$Self->{'Customer::AuthModule::LDAP::UID'} = 'uid';
$Self->{'Customer::AuthModule::LDAP::SearchUserDN'} =
'CN=otrs_ldap,CN=Users,DC=examplecompany,DC=com,DC=br';
$Self->{'Customer::AuthModule::LDAP::SearchUserPw'} = '12345678';

$Self->{CustomerUser} = {
  Module => 'Kernel::System::CustomerUser::LDAP',
  Params => {
  Host => 'examplecompany.com.br',
  BaseDN => 'CN=Users,DC=examplecompany,DC=com,DC=br',
  SSCOPE => 'sub',
  UserDN =>'CN=otrs_ldap,CN=Users,DC=examplecompany,DC=com,DC=br',
  UserPw => '12345678',
},
CustomerKey => 'uid',
CustomerID => 'userPrincipalName',
CustomerUserListFields => ['displayName', 'userPrincipalName'],
CustomerUserSearchFields => ['displayName', 'userPrincipalName'],
CustomerUserPostMasterSearchFields => userPrincipalName,
CustomerUserNameFields => 

Re: [otrs] FAQ: receiving emails through IMAPS

2009-07-10 Thread Michiel Beijen
Run perl otrs\bin\otrs.checkModules and see what perl modules you're missing
for IMAPS. Then install those...

Good luck!

--
Michiel Beijen
Software Consultant
+31 6 457 42 418
Bee Free IT + http://beefreeit.nl

On Jul 10, 2009 6:55 PM, "Jon Accornero"  wrote:

 For some reason, I don't have an IMAPS option under the AdminMailAccount
drop down. I'm running the windows version 2.4 beta.  I also do not see this
option on the linux version.  Is there something that needs to be configured
in order for you to be able to have the IMAPS show up as an option?

Thanks!

- jon


 --
*From:* otrs-boun...@otrs.org [mailto:otrs-boun...@otrs.org] *On
Behalf Of *Leonardo
Certuche
*Sent:* Friday, July 10, 2009 12:43 PM
*To:* User questions and discussions about OTRS.
*Subject:* Re: [otrs] FAQ: receiving emails through IMAPS

Hi Mauricio, Under Admin->PostMaster Mail Account
(/index.pl?Action=AdminMailAccount) you can choos...

-
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/listinfo/otrs

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

Re: [otrs] FAQ: receiving emails through IMAPS

2009-07-10 Thread Jon Accornero
For some reason, I don't have an IMAPS option under the AdminMailAccount
drop down. I'm running the windows version 2.4 beta.  I also do not see this
option on the linux version.  Is there something that needs to be configured
in order for you to be able to have the IMAPS show up as an option?
 
Thanks!
 
- jon
 

  _  

From: otrs-boun...@otrs.org [mailto:otrs-boun...@otrs.org] On Behalf Of
Leonardo Certuche
Sent: Friday, July 10, 2009 12:43 PM
To: User questions and discussions about OTRS.
Subject: Re: [otrs] FAQ: receiving emails through IMAPS


Hi Mauricio,

Under Admin->PostMaster Mail Account (/index.pl?Action=AdminMailAccount) you
can choose IMAP, IMAPS, POP3, POP3S, take a look at
http://www.mail-archive.com/otrs@otrs.org/msg25935.html

Please do your best to clearly explain what you're trying to accomplish,
that way we can better help you

Greetings,


Leonardo Certuche



On Fri, Jul 10, 2009 at 11:24 AM, Mauricio Tavares 
wrote:


   Quick interface question: in the postmaster mail account page
(Admin->PostMaster Mail Account), how do you setup an email to receive
messages through imaps? From the documentation, I believe it can be done
using procmail/formail, but I was wondering if it can be done right from the
otrs web interface.

I guess what confuses me is that under [Mail Account Management], I can only
add a POP3 account. And then, under [Note] there is a form-looking thingie
that seems to do what I want but I do not see how can I make anything I
enter there be committed/assigned to the user.

Am I being clear as stirred mud as usual?
-
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/listinfo/otrs

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

Re: [otrs] FAQ: receiving emails through IMAPS

2009-07-10 Thread Leonardo Certuche
Hi Mauricio,

Under Admin->PostMaster Mail Account (/index.pl?Action=AdminMailAccount) you
can choose IMAP, IMAPS, POP3, POP3S, take a look at
http://www.mail-archive.com/otrs@otrs.org/msg25935.html

Please do your best to clearly explain what you're trying to accomplish,
that way we can better help you

Greetings,


Leonardo Certuche


On Fri, Jul 10, 2009 at 11:24 AM, Mauricio Tavares wrote:

>Quick interface question: in the postmaster mail account page
> (Admin->PostMaster Mail Account), how do you setup an email to receive
> messages through imaps? From the documentation, I believe it can be done
> using procmail/formail, but I was wondering if it can be done right from the
> otrs web interface.
>
> I guess what confuses me is that under [Mail Account Management], I can
> only add a POP3 account. And then, under [Note] there is a form-looking
> thingie that seems to do what I want but I do not see how can I make
> anything I enter there be committed/assigned to the user.
>
> Am I being clear as stirred mud as usual?
> -
> 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/listinfo/otrs

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

[otrs] LDAP for Windows 2000 AD

2009-07-10 Thread Alfredo Frugone
I've setup LDAP to use AD for agent authentication, my configuration is:
Otrs Server: Debian lenny
AD: Windows 2000
Server: 172.27.110.123
Domain: mycompnay.com
AD User group= OtrsAgent
User in group: my name
pass:12345678

User "my name" has adminsitrative privileges in windows AD.

I put this in the Config.pm file:
#  #
# insert your own config settings "here"   #
# config settings taken from Kernel/Config/Defaults.pm #
#  #

# Agent Authentication
$Self->{'AuthModule'} = 'Kernel::System::Auth::LDAP';
$Self->{'AuthModule::LDAP::Host'} = '172.27.110.123';
$Self->{'AuthModule::LDAP::BaseDN'} = 'dc=mycompany, dc=com';
$Self->{'AuthModule::LDAP::UID'} = 'sAMAccountName';

$Self->{'AuthModule::LDAP::SearchUserDN'} = 'cn=my
name,ou=OtrsAgent,dc=mycompany,dc=com';
$Self->{'AuthModule::LDAP::SearchUserPw'} = '12345678';

 $Self->{'AuthModule::LDAP::GroupDN'} =
'cn=OtrsAgent,dc=mycompany,dc=com';
 $Self->{'AuthModule::LDAP::AccessAttr'} = 'member';
 $Self->{'AuthModule::LDAP::UserAttr'} = 'DN';

#  #

First login using DB, I set up a group in Otrs  admin with the name
OtrsAgent, a usr "my name" with pass=12345678, then I changed the
config.pmfor LDAP.

The login form changes, but if I put a user from OtrsAgent group I get:
Login failed! Your username or password was entered incorrectly
So my questions are:

1.- what's wrong in the Config.pm?
2.- How can I login to otrs? I'tried to login with Otrs or AD users, but is
not possible.
3.- How can I check if LDAP client is running OK?

Any help is wellcome, I've digg the internet and manual, but I still cant
find the aswers.

Saludos
Alfredo
-
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] FAQ: receiving emails through IMAPS

2009-07-10 Thread Mauricio Tavares
Quick interface question: in the postmaster mail account page 
(Admin->PostMaster Mail Account), how do you setup an email to receive 
messages through imaps? From the documentation, I believe it can be done 
using procmail/formail, but I was wondering if it can be done right from 
the otrs web interface.


I guess what confuses me is that under [Mail Account Management], I can 
only add a POP3 account. And then, under [Note] there is a form-looking 
thingie that seems to do what I want but I do not see how can I make 
anything I enter there be committed/assigned to the user.


Am I being clear as stirred mud as usual?
-
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] pwd reset if user updated

2009-07-10 Thread Marco Vannini
Hi all,
I don't know if it is a problem of chrome or not but in many cases, when I
go to modify something about a user than that user is reporting me that is
not able to enter. Could it be that the password is being replaced by **
?

Ciao

MV
-
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] Locked tickets in search and stats

2009-07-10 Thread yevgeniy . kolesnyk

Hello all,

does anyone try to add to the search and statistic such state of the 
ticket as "Locked"?
I fased with a problem to find all locked tickets in the system or make 
some statistic about them. 

So if you know how to sort/filter/search or create report about locket 
tickets please let me know.

Thanks in advance.

--
IMPORTANT NOTICE:
This email is confidential, may be legally privileged, and is for the
intended recipient only. Access, disclosure, copying, distribution, or
reliance on any of it by anyone else is prohibited and may be a criminal
offence. Please delete if obtained in error and email confirmation to 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/

Re: [otrs] User permission

2009-07-10 Thread OTRS
Yeah, thought so too. I just tested it and that seem to work.

Thanks,
Fairuz

>>> Marco Vannini  07/10/09 4:52 PM >>>
Hi,
the last RW override all others. you should stop to create probably

On Fri, Jul 10, 2009 at 10:46 AM, OTRS o...@ens.com.my> wrote:
Good day,

I am having problem with user permission, I have set agent permission to a 
group as follows;
ro- yes
move_into  - yes
create - yes
owner - no
priority   - no
rw   - yes

After submitting, the ownership and priority change to yes. How do i ensure 
that the agent doesn't have the permission to change the ownership.
The agent should be able to read and update ticket, move ticket into queue and 
finally create it.

I tried a couple of time to change it but doesn't seem to work. Pls help.

Thanks,
Fairuz


-
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/listinfo/otrs

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

Re: [otrs] User permission

2009-07-10 Thread Marco Vannini
Hi,
the last RW override all others. you should stop to create probably

On Fri, Jul 10, 2009 at 10:46 AM, OTRS  wrote:

> Good day,
>
> I am having problem with user permission, I have set agent permission to a
> group as follows;
> ro- yes
> move_into  - yes
> create - yes
> owner - no
> priority   - no
> rw   - yes
>
> After submitting, the ownership and priority change to yes. How do i ensure
> that the agent doesn't have the permission to change the ownership.
> The agent should be able to read and update ticket, move ticket into queue
> and finally create it.
>
> I tried a couple of time to change it but doesn't seem to work. Pls help.
>
> Thanks,
> Fairuz
>
> -
> 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/listinfo/otrs

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

[otrs] Customer interface - Hidding messages

2009-07-10 Thread Fernando Frediani (Qube)
Hi,


I have my OTRS with Agents and Customers interface running fine. When a
customer sends an e-mail and it creates a ticket normally wich is then
assigned to an agent. This agent eventually from the system sends e-mail
to suppliers(via OTRS not copying the client) for example to get quotes
and then get back to the client via OTRS as well.

 

Problem is that if the customer logs in to the customer interface he can
see all these messages that were sent to e-mails other than his.

 

Anyone knows a workaround for it where he can only see the messages
where his e-mail is present?

Wondered if anything to do with one of these settings:

 

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

CustomerUserSearchFields => ['sn', 'givenName', 'sAMAccountName',
'mail'],

CustomerUserSearchPrefix => '',

CustomerUserSearchSuffix => '*',

CustomerUserSearchListLimit => 25,

CustomerUserPostMasterSearchFields => ['mail'],

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

 

Thanks


Fernando


Qube Managed Services Limited:: The Engineer's Choice for Co-Location, Internet 
Bandwidth, Design & Build, and Managed Servers
 
Qube Managed Services Limited :: Company Number 6215769 Registered in England 
and Wales :: VAT Registration No: GB 933 8400 27 
This e-mail and the information it contains are confidential. If you have 
received this e-mail in error please notify the sender immediately. You should 
not copy it for any purpose, or disclose its contents to any other person.

P Please consider the environment - do you really need to print this email?
-
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] User permission

2009-07-10 Thread OTRS
Good day,

I am having problem with user permission, I have set agent permission to a 
group as follows;
ro- yes
move_into  - yes
create - yes
owner - no
priority   - no
rw   - yes

After submitting, the ownership and priority change to yes. How do i ensure 
that the agent doesn't have the permission to change the ownership.
The agent should be able to read and update ticket, move ticket into queue and 
finally create it.

I tried a couple of time to change it but doesn't seem to work. Pls help.

Thanks,
Fairuz

-
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] View/search by Customer Company name

2009-07-10 Thread OTRS
Good day,
 
By default, the OTRS only display the info regarding the customer' users:
 
1. How do I go about to configure to also show the customer company profile 
when zoom into a ticket.
 
2. During ticket creation, how to add by company, then using a drop-down list 
and select customer
 
 
Thanks,
Fairuz 
-
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/