[Date Prev][Date Next]
Re: Urgent Please Help: Credentials Cache?
Thanks for the reply.
But I am not using nscd.
From: "Oliver Schulze L." <firstname.lastname@example.org>
To: Pankaj Mathur <email@example.com>
Subject: Re: Urgent Please Help: Credentials Cache?
Date: Mon, 29 Aug 2005 18:17:06 -0400
Do you use nscd?
# id user1
# service nscd restart
# id user1
May be the problem, but I'm not sure
Pankaj Mathur wrote:
I looked up the openldap archives, but have found no answer to this query.
So, I am reposting.
The problem is that when I use DIGEST-MD5 binding with openldap, for a
particular user say - 'user1', then the first time it works; then if I use
'user1' again, it fails and says 'Invalid Credentials'. I checked the
userid and password, which is being sent correctly.
To get rid of this problem, I have to log in as a second user (say
'user2'), and then if I use 'user1' again, it works.
This suggests that some kind of caching is happening either at the
Openldap or at SASL level.
How can I turn off this caching?
(Please also see the earlier post below).
From: "Pankaj Mathur" <firstname.lastname@example.org>
Subject: DIGEST-MD5 issues in ldap_sasl_interactive_bind_s
Date: Fri, 26 Aug 2005 00:52:54 +0000
I am using ldap_sasl_interactive_bind_s in the following way in a
function (which consists of just the code below):
void* defaults = NULL;
int rc = 0;
defaults = lutil_sasl_defaults( ld,
rc= ldap_sasl_interactive_bind_s( ld, (char*) dn, (char*) mechanism,
LDAP_SASL_AUTOMATIC, lutil_sasl_interact, defaults );
lutil_sasl_freedefs( defaults );
When using DIGEST-MD5, it works fine for the first time within a process,
however when calling it again in a separate LDAP connection, it returns
Is there a problem in the code?
Any help is appreciated.
NRIs, does your family in India need money?
an ICICI Bank NRI savings A/c
A Mobile Phone sells every 16 minutes on eBay.in?
http://adfarm.mediaplex.com/ad/ck/4686-26272-10936-558?ck=Mobiles Get Your
Oliver Schulze L.