From: Graham B. <gb...@po...> - 2000-06-02 12:22:52
|
As your directory is currently empty I suppose it could be a configuration error with your server. But I am not sure, maybe someone else on the list can shed light. Have you tried adding with any other tools, for example the tools that come with OpenLDAP ? But in the event it is a problem with Net::LDAP can you turn on debug just before the ->add call with $ldap->debug(3); and post the output. Also what version of Net::LDAP are you using ? Graham. On Fri, Jun 02, 2000 at 02:05:57PM +0200, Hansen Erik wrote: > first...thanks for your help Graham. > > But now there is another problem: > > i get the following error: > error 32, LDAP_NO_SUCH_OBJECT, The server cannot find an object specified in > the request > > and my code looks like this: > > $result = $ldap->add( > dn => 'cn=xyz,o=debis Systemhaus Darmstadt', > attr => [ > 'objectclass' => ['top','person'], > 'cn' => 'xyz', > 'sn' => 'xyz' > ] > ); > > so, why do I get the message no such object? In don`t understand...sure it > does not exist, that's why I add it for? Or which object is meant? > > (perhaps this is interesting: my Ldap-Directory is completely emtpy, this is > the first entry i want to add) > > thank for your help > Erik Hansen > > |