[389-users] nsDirectoryServerTask objectClass

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

I am trying to create a task to update the index database, according
to the instructions described here:

- http://www.redhat.com/docs/manuals/dir-server/8.1/admin/applying-indexes.html
- http://directory.fedoraproject.org/wiki/Task_Invocation_Via_LDAP_Design

But when I create the task from a Perl script, i get an error about
unknown object class:

my $entry = Net::LDAP::Entry->new();
$tmp_index_name = 'cn';
my $cn = "$tmp_index_name index task";
$entry->dn("cn=$cn, cn=index, cn=tasks, cn=config");
$entry->add('objectClass' => ['nsDirectoryServerTask']);
$entry->add('cn' => $cn);
$entry->add('nsindexattribute' => "\"eq:pres\"");
my $res = $entry->update($ldap_conn);

The error is 'unknown object class "nsDirectoryServerTask"'. Where is
that objectClass defined?

# rpm -qa | grep -i fedora
fedora-ds-admin-1.1.1-1.fc6
fedora-ds-1.1.0-3.fc6
fedora-ds-base-1.1.0-3.fc6
fedora-admin-console-1.1.0-4.fc6
fedora-idm-console-1.1.0-5.fc6
fedora-ds-console-1.1.0-5.fc6
# uname -a
Linux grsgscbulp0301.sacyl.es 2.6.18-128.1.10.el5.centos.plusPAE #1
SMP Mon May 11 07:51:33 EDT 2009 i686 i686 i386 GNU/Linux

Regards and thanks in advance.




[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux