Re: [otrs] Re: [otrs] Re:Use Auth LDAP with Exchange server

2003-07-01 Thread Martin Edenhofer
Hi Rémi,

On Tue, Jul 01, 2003 at 10:10:00AM +0200, [EMAIL PROTECTED] wrote:
> your line in LDAP.pm  : 
> 
> # bind with user data -> real user auth.
> # --
> $Result = $LDAP->bind(dn => $UserDN, password => $Param{Pw});
> 
> my line in LDAP.pm : I need this syntax to work with my
> Exchange LDAP auth
> 
> # bind with user data -> real user auth.
> # --
> $UserDN = 'cn='.$Param{User}.',ou=GMN,o=MININT';
> $Result = $LDAP->bind(dn => $UserDN , password => $Param{Pw});
> 
> I don't see how to set the 
> $Self->{'AuthModule::LDAP::BaseDN'} 
> in the config.pm so I've modified the source code.

If I see it correctly, add to the Kernel/Config.pm, after 

[...]
# #
# own config settings # 
# #
[...]

The LDAP agent auth stuff:

$Self->{'AuthModule'} = 'Kernel::System::Auth::LDAP';
$Self->{'AuthModule::LDAP::Host'} = 'your-ldap-exchange-server';
$Self->{'AuthModule::LDAP::BaseDN'} = 'ou=GMN,o=MININT';
$Self->{'AuthModule::LDAP::UID'} = 'cn';


For config file see also the online-doc (http://doc.otrs.org/ -> Config File).
 
> Rémi

  -Martin

--
Martin Edenhofer -  - http://martin.edenhofer.de/
--

___
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] Re: [otrs] Re:Use Auth LDAP with Exchange server

2003-07-01 Thread [EMAIL PROTECTED]
Hi martin

your line in LDAP.pm  : 

# bind with user data -> real user auth.
# --
$Result = $LDAP->bind(dn => $UserDN, password => $Param{Pw});

my line in LDAP.pm : I need this syntax to work with my
Exchange LDAP auth

# bind with user data -> real user auth.
# --
$UserDN = 'cn='.$Param{User}.',ou=GMN,o=MININT';
$Result = $LDAP->bind(dn => $UserDN , password => $Param{Pw});

I don't see how to set the 
$Self->{'AuthModule::LDAP::BaseDN'} 
in the config.pm so I've modified the source code.

Rémi








Accédez au courrier électronique de La Poste : www.laposte.net ; 
3615 LAPOSTENET (0,34€/mn) ; tél : 08 92 68 13 50 (0,34€/mn)



___
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