Hello,

I am trying to migrate from

directory.emich.edu : redhat ES 7 :  redhat supplied ldap

[[email protected]:/etc/openldap]# /usr/sbin/slapd -V

@(#) $OpenLDAP: slapd 2.4.44 (Jun  6 2020 17:06:42) $

[email protected]:
/builddir/build/BUILD/openldap-2.4.44/openldap-2.4.44/servers/slapd


to

directory8.emich.edu : redhat ES 8 : hand rolled from source code ldap

[[email protected]:/root]# /usr/local/libexec/slapd -V

@(#) $OpenLDAP: slapd 2.6.X (Nov 15 2022 16:59:29) $

[email protected]:
/home/src/openldap-OPENLDAP_REL_ENG_2_6/servers/slapd


And everything seems to work except for one thing.

I can't seem to do global anonymous searches?

I don't understand ldap well enough to figure out what step or config

I've missed.


[[email protected]:/tmp]# ldapsearch -H "ldap://directory.emich.edu";
-LLL -b "uid=mgoebel,ou=people,o=emich.edu" -x -s sub  "(objectClass=*)"

dn: uid=mgoebel,ou=people,o=emich.edu

objectClass: top

objectClass: person

objectClass: inetOrgPerson

objectClass: organizationalPerson

uid: mgoebel


[[email protected]:/tmp]# ldapsearch -H "ldap://directory8.emich.edu";
-LLL -b "uid=mgoebel,ou=people,o=emich.edu" -x -s sub  "(objectClass=*)"

dn: uid=mgoebel,ou=people,o=emich.edu

objectClass: top

objectClass: person

objectClass: inetOrgPerson

objectClass: organizationalPerson

uid: mgoebel


[[email protected]:/tmp]# ldapsearch -H "ldap://directory.emich.edu";
-LLL -b "ou=people,o=emich.edu" -x -s sub  "(objectClass=*)"

returns every record with objectClass set


[[email protected]:/tmp]# ldapsearch -H "ldap://directory8.emich.edu";
-LLL -b "ou=people,o=emich.edu" -x -s sub  "(objectClass=*)"

No such object (32)


compile options used for openldap were

./configure \

  --prefix=/usr/local \

--disable-ipv6 \

--with-kerberos \

--enable-monitor \

--enable-dynamic \

--enable-phonetic \

--enable-slapd \

--enable-spasswd \

--enable-rlookups \

--enable-hdb \

--enable-dyngroup=yes \

--enable-proxycache=yes  \

--enable-bdb  \

--enable-crypt  \

--with-cyrus-sasl=yes \

--with-tls



Thanks,

Matt

-- 
Matthew Goebel : m <[email protected]>[email protected] : Unix Jockey
@ EMU : Hail Eris
Neo-Student, Net Lurker, Donut consumer, and procrastinating medher...
 "Always with the negative waves, Moriarty" - Oddball
 "Comfort the troubled, and trouble the comfortable." - Dietrich Bonhoeffer

Reply via email to