From: Shiva Persaud-D. <sh...@us...> - 2002-10-04 20:34:27
|
Hi, I just started using the perl-ldap modules. I'm trying to add an entry to a directory and I create it as follows: $spdentry = Net::LDAP::Entry->new; And I try to add it as follows: $spdentry->dn("cn=shiva"); $spdentry->add( 'entry' => '777', 'openeddate' => 'Aug 5' ); $mesg = $ldap->add($spdentry); LDAPerror("Adding", $mesg); I get the following output: Adding Return code: 32 Message: LDAP_NO_SUCH_OBJECT :The server cannot find an object specified in the request MessageID: 2 DN: How do I specify what object type I would like to add this entry as? Any suggestions would be useful. Thanks, Shiva Persaud |