Re: Net::LDAP::add bug

2004-11-30 Thread Graham Barr
On Tue, November 30, 2004 3:05 pm, Vlad Romascanu (QC/EMC) said: > Passing a referece to a hash of "attribute => values" to Net::LDAP::add > somewhat as follows: > > my %ref = ( "objectclass => [ "top", "etc" ] ); > $ldap->add($dn, "attrs" => \%ref) > > ...results in a compilation error: > > No

Dashes?

2004-11-30 Thread Hutchins, Mike
I am trying to write a script that automagically creates users and IMAP mailboxes in AD. The IMAP server I am using has dashes in the attribute name. But when I run the script it pukes with: Unquoted string "kerio" may clash with future reserved word at jde_import.pl line 262, line 225. Any idea

Net::LDAP::add bug

2004-11-30 Thread Vlad Romascanu (QC/EMC)
Passing a referece to a hash of "attribute => values" to Net::LDAP::add somewhat as follows: my %ref = ( "objectclass => [ "top", "etc" ] ); $ldap->add($dn, "attrs" => \%ref) ...results in a compilation error: Not an ARRAY reference at /usr/local/lib/perl5/site_perl/5.8.0/Net/LDAP.pm line 43