From: Mark W. <mew...@un...> - 2000-11-10 14:23:03
|
Yup, this is the wrong list. This the list for the Net::LDAP, the Pure Perl LDAP module (meaning no underlying C API is required). You got confused becuase the website is called perl-ldap (we had the name first, before Netsape marketing took the name for their module:). Sorry, it's been too long since I've done anything with Netscape's module. And I don't know anything about exchange. Mark Andreas Fecker wrote: > I´m trying to add an enty to an Exchange 5.5 server via LDAP. > I´m doing the following and get a "Constraint error": What is missing? > > $neuEintrag = $conn->newEntry(); > $neuEintrag->setDN("cn=LisaM,cn=Recipients,ou=Einklang,o=Einklang."); > $neuEintrag->{objectclass} = ["Top", "person", "Remote-Address"]; > $neuEintrag->{rdn} = ["lisam"]; > $neueintrag->{cn} = ["lisa mona"]; > $neueintrag->{sn} = ["mona"]; > $neueintrag->{givenName} = ["lisa"]; > $neuEintrag->{distinguishedname} = > ["cn=LisaM,cn=Recipients,ou=FAG002,o=FAG001"]; > $neuEintrag->{rfc822mailbox} = ["lisa\@test.com"]; > $neuEintrag->{mail} = ["SMTP:lisa\@test.com"]; > $neuEintrag->{uid} = ["lisam"]; > $conn->add($neuEintrag); > $conn->printError() if $conn->getErrorCode(); > > maybe this is the wrong maillist, because I´m using PerLDAP 1.4. > If so, could someone please tell me what the differences are. > > Thanks in advance |