From: Bing D. <Bi...@ci...> - 2000-08-09 21:11:46
|
I intented to use the following script to retrieve the value of createTimestamp of each dn. But it did not work. ===================================== %record = %{$mesg->as_struct}; my @dns = (sort keys %record); $count = $mesg->count; print "\n\n",$count . " entries returned.\n"; foreach $dn (@dns) { print "dn: $dn\n\n"; print "createTimestamp: $record{$dn}{'createTimestamp'}\n"; } ====================================== The attribute 'createTimestamp' is defined in the schema. I found this in oidtable.at on the directory server. ==================== createTimestamp: operationalAttributeType.1 :GeneralizedTime: \ single-value : no-user-modification : usage=directoryOperation ==================== If what I did was wrong, how can I retrieve its value? Thanks for any help, Bing |