[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... Jim
