Closed
Bug 1569
Opened 26 years ago
Closed 24 years ago
rebind_proc doesn't work!
Categories
(Directory :: PerLDAP, defect, P1)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: leif, Assigned: kevin)
Details
I downloaded latest C SDK and compiled PerLDAP-1.1 that I've got from
your site.
My problem is that rebind procedure doesn't work any longer.
I get an error like:
LDAP error: : Unknown authentication method
LDAP error: : additional info: Referral:
ldap://toolman.systems.dhl.com:389
in my perl script I call rebind_proc
$conn->setRebindProc(\&rebind_proc);
where rebind proc is:
sub rebind_proc {
return ("$user", "$passwd", LDAP_AUTH_SIMPLE);
}
If I don't use rebind referrals work well, but cannot modify anything
as anonymous of course.
This is access log from the server I connect to (ERR 9 is referral):
***
[23/Nov/1998:14:04:39 -0800] conn=15 fd=33 slot=33 connection from
199.41.203.32
[23/Nov/1998:14:04:39 -0800] conn=15 op=0 BIND dn="cn=Directory
Manager" method=128 version=2
[23/Nov/1998:14:04:39 -0800] conn=15 op=0 RESULT err=0 tag=97
nentries=0
[23/Nov/1998:14:04:39 -0800] conn=15 op=1 SRCH
base="uid=vterzic,ou=systems,l=am,l=global,o=dhl.com" scope=0
filter="(objectclass=*)"
[23/Nov/1998:14:04:39 -0800] conn=15 op=1 RESULT err=0 tag=101
nentries=1
[23/Nov/1998:14:04:40 -0800] conn=15 op=2 MOD
dn="uid=vterzic,ou=systems,l=am,l=global,o=dhl.com"
[23/Nov/1998:14:04:40 -0800] conn=15 op=2 RESULT err=9 tag=103
nentries=0
[23/Nov/1998:14:04:40 -0800] conn=15 op=3 UNBIND
***
This is access log from the next server (supplier):
***
[23/Nov/1998:14:04:40 -0800] conn=21 fd=33 slot=33 connection from
199.41.203.32
[23/Nov/1998:14:04:40 -0800] conn=21 op=-1 fd=33 closed error 32
(Broken pipe)
***
Any clue?
BTW is there any way in PerLDAP to say that I'm client LDAP v3 ?
I think then referral will be ERR 10.
Thanks
--
Veselin Terzic Phone: 650-425-5215
DHL Systems Inc. Fax: 650-425-5019
700 Airport Blvd., Suite 300 Email: vterzic@systems.dhl.com
Burlingame, CA 94010 #include <std/disclaimers.h>
Reporter | ||
Updated•26 years ago
|
Status: NEW → ASSIGNED
Reporter | ||
Comment 1•26 years ago
|
||
More from Veselin:
No i tried it on HPUX. I've just noticed that perldap 1.1 and 1.0
behave the same way with my old SDK that I built from sources. Looks
like
the binary distribution on Netscape site is either buggy or PerLdap
doesn't like for some reason.
- Using old C SDK I can inject data 3 leve deep and referrals and
rebind are good. If I inject data to
Reporter | ||
Updated•26 years ago
|
Priority: P1 → P2
Clearing "M" field since Directory product is not used for 5.0 specific project
bug metrics and will mess up our queries on milestones.
Reporter | ||
Updated•25 years ago
|
Priority: P2 → P3
Assignee | ||
Updated•24 years ago
|
Priority: P3 → P1
Assignee | ||
Comment 5•24 years ago
|
||
rebind_proc is now working as of version 1.4.1
Don't know what fixed it, but this bug is pretty ancient.
-Kevin
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•