Kent Perrier wrote:
> On 12/19/2001 11:11 AM, Jim McCullars wrote:
>
> > [EMAIL PROTECTED] wrote:
> >
> > : my $changeentry = $changeconn->search($baseDN, "sub", "($userDN)");
> >
> > This line is the problem. "($userDN)" is not a valid search filter, so
> > there is no result for $changeentry in the next line. If you have unique
> > UIDs, pick out the UID from the DN and replace your search filter with
> > "(uid=$uid)" or something like that.
> >
> > HTH...
>
> No, this doesn't help :(
But did you try it? The previous poster was correct.
> If you look at my origional post, the error is not in the bind
> operation. The error occures when I attempt to update the userPassword
> attribute with the new password.
The error occurs when you try to "dereference" a "null" pointer. In this case,
$changeentry is null, so you get an error doing
$changeentry->{userPassword}
Even if that succeeds, you will get an error with the conn->update operation because
all of the other required fields of
changeentry will be null as well.
>
>
> Any clues?
>
> Kent