use strict;
use warnings;
use Net::Ldap;
my $ldap = Net::LDAP->new ( "active_directory_server") or die "$@";
my $mesg = $ldap->bind ( 'CN=xxx, OU=xxx, DC=xxx, DC=xxx', password => 'xxxxx', Version => 3) or die "$@";
my $schema = $ldap->schema ();
print $schema;
Sorry i tried that but, i cannot authenticate with AD
I Only receive the message "Identification incorrect your user or password
was entered incorrect"
Do you have an idea about the problem
Daniel Zamorano Mejía
-----Original Message-----
From: Shawn Beasley [mailto:shawn.beasley@otrs.com]
Sent: Martes, 12 de Febrero de 2008 04:41 a.m.
To: User questions and discussions about OTRS.org
Subject: Re: [otrs] OTRS - Active Directory
Hi Daniel,
> try this
> $Self->{'AuthModule::LDAP::Host'} = 'serverdemo';
>
> instead of this
> $Self->{'AuthModule::LDAP::Host'} = 'serverdemo. demo.com
> <http://demo.com/>';
>
> i.e remove the demo.com <http://demo.com> bit
>
> On 2/11/08, *Daniel Zamorano* <daniel.zamorano@duxdiligens.com
> <mailto:daniel.zamorano@duxdiligens.com>> wrote:
Additionally, when you have no users in your DB with matching info, you have
to use the UserSyncLDAPMap section - it can be copied out of the
Defaults.pm. Otherwise, you will get Panic! No user data.
>
> Hi.
>
>
>
> I have a problem; I can't configure OTRS to authenticate whit
> Active Directory, I was configuring and I cannot log me in the
> system whit AD.
>
>
>
> I have that questions:
>
>
>
> I should configure each agent in the database after to try
> configure the Active Directory?, if yes(whit password?)
>
>
>
> I have the next info
>
> User Administrator in AD: adminotrs à in the Users folder
>
> Server: serverdemo
>
> Domain : demo.com <http://demo.com/>
>
>
>
> that is my config.pm <http://config.pm/>,
>
>
>
> $Self->{'AuthModule'} = 'Kernel::System::Auth::LDAP';
>
> $Self->{'AuthModule::LDAP::Host'} = 'serverdemo. demo.com
> <http://demo.com/>';
>
> $Self->{'AuthModule::LDAP::BaseDN'} = 'ou=Users, dc=demo,
> dc=com';
>
> $Self->{'AuthModule::LDAP::UID'} = 'sAMAccountName';
>
>
>
> $Self->{'AuthModule::LDAP::SearchUserDN'} = 'cn=adminotrs,
> ou=Users, dc=demo, dc=com';
>
> $Self->{'AuthModule::LDAP::SearchUserPw'} = 'adminpsw';
>
>
>
> Do I need another configuration?
>
> Or is bad my configuration?
>
>
--
Shawn Beasley
((otrs)) :: OTRS AG :: Norsk-Data-Straße 1 :: 61352 Bad Homburg
Fon: +49 (0) 9421 56818 0 :: Fax: +49 (0) 9421 56818 18
http://www.otrs.com/ :: Communication with success!
Geschäftssitz: Bad Homburg
Amtsgericht Bad Homburg, HRB 10751
Steuernummer: 003/240/97521
Aufsichtsratsvorsitzender: Burchard Steinbild
Vorstandsvorsitzender: André Mindermann
_______________________________________________
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/