[Date Prev][Date Next] [Chronological] [Thread] [Top]

ou=people hidden from ldapsearch



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi, I'm sure this is a really stupid question, and I'm sorry for
asking it, but I'm testing a migration from Sun DSEE to OpenLDAP
2.4.35 at the moment.

I am creating a DIT similar to the following:

dn: ou=people,dc=example,dc=com
dn: ou=ftp,dc=example,dc=com
dn: ou=groups,dc=example,dc=com
dn: ou=hosts,dc=example,dc=com
dn: ou=us,ou=people,dc=example,dc=com
dn: ou=bd,ou=people,dc=example,dc=com
dn: ou=id,ou=people,dc=example,dc=com
dn: ou=users,ou=ftp,dc=example,dc=com
dn: ou=groups,ou=ftp,dc=example,dc=com
dn: ou=us,ou=groups,dc=example,dc=com
dn: ou=bd,ou=groups,dc=example,dc=com
dn: ou=id,ou=groups,dc=example,dc=com
dn: ou=us,ou=hosts,dc=example,dc=com
dn: ou=bd,ou=hosts,dc=example,dc=com
dn: ou=id,ou=hosts,dc=example,dc=com

When I perform a ldapsearch against our current Sun DSEE environment
(with the same layout) I see the following:

ldapsearch -x -h ldap.example.com -b example.com
objectclass=organizationalUnit 1 -LLL

dn: ou=people,dc=example,dc=com
dn: ou=ftp,dc=example,dc=com
dn: ou=groups,dc=example,dc=com
dn: ou=hosts,dc=example,dc=com
dn: ou=us,ou=people,dc=example,dc=com
dn: ou=bd,ou=people,dc=example,dc=com
dn: ou=id,ou=people,dc=example,dc=com
dn: ou=users,ou=ftp,dc=example,dc=com
dn: ou=groups,ou=ftp,dc=example,dc=com
dn: ou=us,ou=groups,dc=example,dc=com
dn: ou=bd,ou=groups,dc=example,dc=com
dn: ou=id,ou=groups,dc=example,dc=com
dn: ou=us,ou=hosts,dc=example,dc=com
dn: ou=bd,ou=hosts,dc=example,dc=com
dn: ou=id,ou=hosts,dc=example,dc=com

When I perform the same search against OpenLDAP, I get the following:

dn: ou=ftp,dc=example,dc=com
dn: ou=hosts,dc=example,dc=com
dn: ou=us,ou=people,dc=example,dc=com
dn: ou=bd,ou=people,dc=example,dc=com
dn: ou=id,ou=people,dc=example,dc=com
dn: ou=users,ou=ftp,dc=example,dc=com
dn: ou=groups,ou=ftp,dc=example,dc=com
dn: ou=us,ou=groups,dc=example,dc=com
dn: ou=bd,ou=groups,dc=example,dc=com
dn: ou=id,ou=groups,dc=example,dc=com
dn: ou=us,ou=hosts,dc=example,dc=com
dn: ou=bd,ou=hosts,dc=example,dc=com
dn: ou=id,ou=hosts,dc=example,dc=com

Notice the destinct lack of ou=people,dc=example,dc=com and
ou=groups,dc=example,dc=com.

I know they're there, because I can create objects etc in them, but
I'm at a complete loss as to why they don't show up in the ldapsearch.

I know I'm obviously doing something stupid here, and again, I
apologize, but any assistance would be appreciated.

Thanks.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJSD4mtAAoJEH1iO/rgZIL9FwwH/3UxTIgxrVbe7IVf99IRB+hf
veJMZ6NaqMjlFfFsla+KLbIF/64I5rwqVCLu/y6necJrQS2EY+cmZmNRlQ02/Cso
rfd5ZQgp5q7ECZSkZCTLhrB1CIY183PiloDnG41lmpJkkP+thwj4NUdcMYYxP0bo
EOMZIefdOewhV7+DOv0Jw807HCOAYrgfsbIk8uDmBUCdBaf4/WVmnLzTGMLq7zrj
HLSJC09bPqcmlEieWVXFNVajE5ztZs8XI6WmFYvrDq1/+1bKoaYMRT2sMh8HnuEM
hisFEUsLpQWSpwP52tmSGau2sOhthLPQKRBrIQbCyAwfEfwtqc+TUDmMsaxhKy0=
=AqJ2
-----END PGP SIGNATURE-----