From: Florian Forster Date: Tue, 6 Jun 2006 22:04:49 +0000 (+0200) Subject: Bugfix: The created entries no longer are in the `top' or `organizationalUnit' object... X-Git-Tag: Release-0.3~3 X-Git-Url: https://git.octo.it/?p=licom.git;a=commitdiff_plain;h=0179054352dda99fbb817fc140dd0e1b9ea9c99f;hp=e519cdc67359146f3946c80e5b26c8cc83449f4e Bugfix: The created entries no longer are in the `top' or `organizationalUnit' objectClass'es. I have Debian's version of `OpenLDAP' now and it doesn't like that for some reason. I expect it's more correct this way, but I'm not sure.. --- diff --git a/lib/LiCoM/Person.pm b/lib/LiCoM/Person.pm index 20a6690..887e39e 100644 --- a/lib/LiCoM/Person.pm +++ b/lib/LiCoM/Person.pm @@ -107,7 +107,7 @@ sub create my $dn; my $ou; - $entry->add (objectClass => [qw(top organizationalUnit person organizationalPerson inetOrgPerson)]); + $entry->add (objectClass => [qw(person organizationalPerson inetOrgPerson)]); for (keys %hash) {