From: Clif H. <cl...@di...> - 2001-01-23 19:15:24
|
> > Hi, all ! > > I have to retrieve the modifytimestamp for comparison between two objects. > The following code gives me a LDAP Protocol error. > > my $obj = $handle->search ( base => "$BaseDN", > scope => "subtree", > filter => "($filter)", > attrs => ['*','modifytimestamp'] > ); > > The attrs line has been taken out of the Net::LDAP documentation, but it > appears to be not working. > > Any hint would be appreciated. Code appears to be correct. Modifytimestamp is a operation attribute, you may need to bind to the directory as something other than anonymous to get access to the attribute. Regards, Clif Harden INTERNET: c-h...@ti... Texas Instruments Directory Services 6500 Chase Oaks Blvd, M/S 8412 Plano, TX 75023 Voice: 972-575-0855 FAX: 972-575-2418 |