I'm having some problems getting the PersistentSearch Control working. I've taken the example and found that it's not setting the OID correctly. Here's the relevant code snippet:
#!/usr/bin/perl use Net::LDAP; use Net::LDAP::Control::PersistentSearch; $ldap = Net::LDAP->new($ARGV[0]) or die "Can't connect to $ARGV[0]\n"; $persist = Net::LDAP::Control::PersistentSearch->new( changeTypes => 15, changesOnly => 0, returnECs => 0 ); if (defined $persist) { print "OID of control is ",$persist->type(),"\n"; } else { print "didn't create control\n"; The output is "OID of control is "; the OID value is blank. Am I missing something basic? Does anyone have this control working? Regards, Jim Schnitter Technical Support Engineer [EMAIL PROTECTED] (801) 861-3217 Novell, Inc. Software for the Open Enterprise www.novell.com/open