On Thursday 11 June 2009 20:10:17 Bryan Irvine wrote:
> I got around those problems but I'm still having problems binding to the
> DB.
Have you tested the account via different means? E.g., assuming you have
OpenLDAP client binaries available:
ldapsearch -x -H ldaps://myldapserver.mydomain.com -
On Thu, Jun 11, 2009 at 12:06 PM, Dieter Kluenter wrote:
> Bryan Irvine 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 gi
Bryan Irvine 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 u
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 mor
On Wed, Jun 10, 2009 at 1:53 PM, Graham Barr wrote:
>
> On Jun 10, 2009, at 3:34 PM, Bryan Irvine wrote:
>
>> On Wed, Jun 10, 2009 at 1:15 PM, Graham Barr wrote:
>>>
>>> On Jun 10, 2009, at 3:07 PM, Bryan Irvine wrote:
>>>
That's my problem then.
Is there a way to check for bind fail
On Jun 10, 2009, at 3:34 PM, Bryan Irvine wrote:
On Wed, Jun 10, 2009 at 1:15 PM, Graham Barr wrote:
On Jun 10, 2009, at 3:07 PM, Bryan Irvine wrote:
That's my problem then.
Is there a way to check for bind failure?
Yes, see Net::LDAP::Message and Net::LDAP::Constant docs
the bind will
On Wed, Jun 10, 2009 at 1:15 PM, Graham Barr wrote:
>
> On Jun 10, 2009, at 3:07 PM, Bryan Irvine wrote:
>
>> That's my problem then.
>>
>> Is there a way to check for bind failure?
>
> Yes, see Net::LDAP::Message and Net::LDAP::Constant docs
>
> the bind will fail, but the server will allow reques
On Jun 10, 2009, at 3:07 PM, Bryan Irvine wrote:
That's my problem then.
Is there a way to check for bind failure?
Yes, see Net::LDAP::Message and Net::LDAP::Constant docs
the bind will fail, but the server will allow requests to continue as
if the bind had not happened. ie it will treat
That's my problem then.
Is there a way to check for bind failure?
-Bryan
On Wed, Jun 10, 2009 at 12:53 PM, Clif
Harden wrote:
>
> The bind failure will fall back to an anonymous bind, which will allow you
> to continue to search and return attributes that an anonymous bind can see.
>
> Clif H
The bind failure will fall back to an anonymous bind, which will allow
you to continue to search and return attributes that an anonymous bind
can see.
Clif Harden
Bryan Irvine wrote:
On Wed, Jun 10, 2009 at 12:38 PM, Graham Barr wrote:
On Jun 10, 2009, at 1:51 PM, Bryan Irvine wrote
On Wed, Jun 10, 2009 at 12:38 PM, Graham Barr wrote:
>
> On Jun 10, 2009, at 1:51 PM, Bryan Irvine wrote:
>
>> I'm using ldaps and when I try to bind to a made up FqDN the scripts
>> still seems to be able to function.
>>
>> Presently I'm binding with:
>> $ldaps->bind ("totalBSDN=screwDodge") or di
On Jun 10, 2009, at 1:51 PM, Bryan Irvine wrote:
I'm using ldaps and when I try to bind to a made up FqDN the scripts
still seems to be able to function.
Presently I'm binding with:
$ldaps->bind ("totalBSDN=screwDodge") or die("could not bind");
Net::LDAP methods return Net::LDAP::Message ob
Yash,
port and cert location is all correct, though maybe my understanding
of ldap->bind is not. I understand it to be an authentication
mechanism to gain rights into a DB.
I expected to bind with a fake user and have the script not work at
all, instead I can search like so:
$mesg = $ld
message
$errMsg = $ldaps->bind ("totalBSDN=screwDodge")
print $errMsg ;
Regards,
Yash
-Original Message-
From: Bryan Irvine [mailto:[email protected]]
Sent: Wednesday, June 10, 2009 11:51 AM
To: [email protected]
Subject: ldap-bind
I'm using ldaps and when I try to
I'm using ldaps and when I try to bind to a made up FqDN the scripts
still seems to be able to function.
Presently I'm binding with:
$ldaps->bind ("totalBSDN=screwDodge") or die("could not bind");
yes somehow the script continues on, is this correct behavior?
-Bryan
>From Solaris 5.8, running Perl 5.10.0, I make a Net::LDAP (version
0.34) connection to Microsoft Exchange 5.5 on NT4. Unfortunately port
389 on the Exchange/NT server has already been grabbed by the
Microsoft LDAP Service (which the NT administrator forgot to
disable). So my Net::LDAP b
ailure? The following only really tests for
problems in the bind operation itself and is thus not going to be useful:
$ldap->bind( 'cn=foo,o=bar', password => 'secret' ) or die;
The following is correct, as it checks what the server returns:
$mesg = $ldap
The following only really tests for
problems in the bind operation itself and is thus not going to be useful:
$ldap->bind( 'cn=foo,o=bar', password => 'secret' ) or die;
The following is correct, as it checks what the server returns:
$mesg = $ldap->bind( 'c
Hello list,
I have stumbled onto a problem with some code I am writing. I was doing a
bind to my ldap and using the dn and password option. Which initially I
always entered the correct password and thought it was ok. I did one today
and put in the wrong password, but the bind went ahead and
port => 636,
version => 3,
debug=>"Y",
timeout=>5 );
if ($ldap) {
$mesg = $ldap->bind ( $user, password=>$pwd );
.
rver.net",
port => 636,
version => 3,
debug=>"Y",
timeout=>5 );
if ($ldap) {
$mesg = $ldap->bind ( $user, password=>$pwd );
.
rver.net",
port => 636,
version => 3,
debug=>"Y",
timeout=>5 );
if ($ldap) {
$mesg = $ldap->bind ( $user, password=>$pwd );
.
--
No virus found in this outgoing message.
Checked by AVG Anti
Thanks for the help. It turns out that I only needed to set the version
parameter to 2 and everything worked.
Tina
-Original Message-
From: Peter Marschall [mailto:[EMAIL PROTECTED]
Sent: Saturday, November 08, 2003 4:06 AM
To: Li, Tina; '[EMAIL PROTECTED]'
Subject: Re:
Hi,
On Saturday 08 November 2003 00:47, Li, Tina wrote:
> I created a Perl script using perl-ldap to search for entries in my LDAP
> server (version 2). When I bind to the server with the root DN and root
> password, it doesn't seem to bind correctly. That is, the bind method
> doesn't seem to a
to bind, which means an
anonymous connection will be made instead. This works for me:
$res = $ldap->bind( dn => "cn=net,cn=ldap", password => "baz" );
die "Bind failed: ", $res->error_name, "\n" if $res->code;
Cheers,
Chris
Hi,
I created a Perl script using perl-ldap to search for entries in my LDAP
server (version 2). When I bind to the server with the root DN and root
password, it doesn't seem to bind correctly. That is, the bind method
doesn't seem to authenticate my credentials. It seems as if the bind method
; print "connecting to LDAP Server on host $ldapserver.";
>
> eval {
> $ldap = Net::LDAP->new($ldapserver);
> };
>
> die "[FAILED]\n$@" if $@;
>
> print "[OK]\nusing bindn $binddn to authenticate.";
>
> my $bind_mesg = $ldap-&g
sedn";
my $ldap;
#-- connect and bind with uid and passwd to ldap server --#
print "connecting to LDAP Server on host $ldapserver.";
eval {
$ldap = Net::LDAP->new($ldapserver);
};
die "[FAILED]\n$@" if $@;
print "[OK]\nusing bindn $binddn to authenticate.&q
28 matches
Mail list logo