From: <af...@t-...> - 2000-11-10 01:33:16
|
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 |