On Wed, 15 Feb 2012 09:57:44 +0100, Adam Bator <a...@amu.edu.pl> wrote: > Hi there, > > At company I work at sombody fough it would be a good idea to use > regional chars and that messes up the Auth process... > I had the same problem with moodle - I made modification there that uses
> user@domain as DN and it works fine there but.. > If I do something like this in OTRS (Perl) > $Result = $LDAP->bind( dn => $Param{User}.'@domain', password => > $Param{Pw} ); > I get error: > authentication failed: 'Unexpected EOF > Can sombody help me with this ? > Is it possibile to do user@domain login in Perl - I could not find > examples enywhere. Hi, perldoc Net::LDAP tells me this syntax fir LDAP-bind: bind ( DN, OPTIONS ): Try it without dn=>, only the options are intruduced by an key like password. And yes it could be possible to use user@domain, e.g. with Active Directory (userPrincipalName). The login name/bind dn depends on the LDAP server and not on the Net::LDAP module. hth, Roy -- Roy Kaldung e-mail: r...@kaldung.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