Re: ldap-bind

"Dieter Kluenter" <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.ldap
Message-ID <[email protected]>
Bryan Irvine <[email protected]> writes:

> I got around those problems but I'm still having problems binding to the DB.
>
> The script basically logs in and does a search for itself to make sure
> all is well.
>
> I cannot bind with the credentials given me by the LDAP server admin,
> but the search shows that the user is there.  However if I add more
> leading underscores _or remove it, I  still get a result.  If I add
> extra letters such as _lldap.... then it fails the search.
>
> Is the leading underscore causing me grief on the bind as well?
>
> +++++++++++++++++++
> code:
> $check_CN             = "_ldapmonitor_test";
>
> my $problem = $ldaps->bind (
>                 'cn=_ldapmonitor_test,ou=service,ou=users,ou=admin,o=noah',
>                 password=> 'oursupersecretpassword'
>                 );
>

perldoc Net::LDAPS
capath is missing.

-Dieter

-- 
Dieter Klünter | Systemberatung
http://www.dpunkt.de/buecher/2104.html
sip: +49.180.1555.7770535
GPG Key ID:8EF7B6C6
53°08'09,95"N
10°08'02,42"E
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.