From: Graham B. <gb...@po...> - 2001-03-29 08:50:58
|
On Thu, Mar 29, 2001 at 09:07:37AM +1000, David Richards wrote: > printf( "Searching...\n" ); > $count = 0; > $res = $ldap->search( base => $LDAP_BASE, filter => > "(objectclass=QUTmailPerson)", > attrs => ['uid', 'mailUID', 'QUTmailbox', > 'mailboxQuota', 'cn' ], > callback => &LDAP_callback() ); That needs to be \&LDAP_callback In its current form you are calling the function and passing its results to ->search() which is NOT what you want. Graham. |