Re: ldapsearch and 389ds

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

 





On 06/06/2016 05:02 PM, Job Cacka wrote:
On 06/03/2016 07:12 PM, Job Cacka wrote:
Just to confirm, you are saying the search below will not return
the entry?

ldapsearch -Hldaps://ds1.domain.com  -D "cn=directory manager" -w
"pass" -xLLL -b "dc=domain,dc=com" gidnumber=514

Correct, a blank or empty response. This is now fixed for the same command for gidnumber=514 and 550 because of my testing on Friday.
Do you have a gidNumber index?

Can you please post this output:

grep -i gidnumber /etc/dirsrv/slapd-INSTANCE/dse.ldif
dn: cn=gidnumber,cn=default indexes,cn=config,cn=ldbm database,cn=plugins,cn=c
cn: gidnumber
dn: cn=gidnumber,cn=index,cn=NetscapeRoot,cn=ldbm database,cn=plugins,cn=confi
cn: gidnumber
dn: cn=gidnumber,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
cn: gidnumber
Okay, so I think the gidNumber index just needs to be regenerated:

db2index.pl -n userroot _D "cn=directory manager" -w PASSWORD -t gidNumber

ls -l /var/lib/dirsrv/slapd-INSTANCE/db/userRoot

-rw------- 1 nobody nobody  16384 Oct 13  2015 aci.db4
-rw------- 1 nobody nobody  24576 Jun  3 14:43 ancestorid.db4
-rw------- 1 nobody nobody  73728 Jun  3 14:43 cn.db4
-rw------- 1 nobody nobody     49 Jun  2 04:05 DBVERSION
-rw------- 1 nobody nobody  65536 Jun  3 14:43 entryrdn.db4
-rw------- 1 nobody nobody  16384 Jun  3 16:00 gidnumber.db4
-rw------- 1 nobody nobody  16384 Jun  3 14:43 givenName.db4
-rw------- 1 nobody nobody 409600 Jun  3 16:00 id2entry.db4
-rw------- 1 nobody nobody  16384 Oct 13  2015 mail.db4
-rw------- 1 nobody nobody  16384 Oct 13  2015 member.db4
-rw------- 1 nobody nobody  32768 Jun  3 14:43 nsuniqueid.db4
-rw------- 1 nobody nobody  16384 Oct 13  2015 numsubordinates.db4
-rw------- 1 nobody nobody  65536 Jun  3 14:43 objectclass.db4
-rw------- 1 nobody nobody  16384 Jun  3 14:43 parentid.db4
-rw------- 1 nobody nobody  16384 Jun  3 14:43 sambasid.db4
-rw------- 1 nobody nobody  16384 Feb 18 07:21 sambasidlist.db4
-rw------- 1 nobody nobody  65536 Jun  3 14:43 sn.db4
-rw------- 1 nobody nobody  16384 Jun  3 14:43 uid.db4
-rw------- 1 nobody nobody  16384 Oct 13  2015 uniquemember.db4

Question. Should this be owned by nobody?
Yes, this is how the server is probably configured.

Regards,
Mark

Thanks,
Mark
--
389-users mailing list
389-users@xxxxxxxxxxxxxxxxxxxxxxx
https://lists.fedoraproject.org/admin/lists/389-users@xxxxxxxxxxxxxxxxxxxxxxx
--
389-users mailing list
389-users@xxxxxxxxxxxxxxxxxxxxxxx
https://lists.fedoraproject.org/admin/lists/389-users@xxxxxxxxxxxxxxxxxxxxxxx




[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