Daniel Qian wrote:
On 11-06-07 3:37 PM, Howard Chu wrote:On Ubuntu you would leave slapd running and just do this (as root):# ldapmodify -H ldapi:// -Y EXTERNAL<<EOF dn: cn=module{0},cn=config changetype: modify add: olcModuleLoad olcModuleLoad: syncprov.la - dn: olcOverlay=syncprov,olcDatabase={1}bdb,cn=config changetype: add objectClass: olcSyncProvConfig olcOverlay: {0}syncprov olcSpCheckpoint: 100 10 olcSpSessionlog: 100 - EOFLooks like I don't even have a module{0} in my setup.
So what does that tell you? Use your brain and think.Obviously the backends are working without any module configuration, which means the backends were statically compiled into slapd. So, knowing nothing else at all about how RedHat built this, you have a few possibilities:
1) there is no module support at all a) all of the overlays are statically compiled in b) some/none of the overlays are statically compiled in 2) there is module support a) all of the overlays are statically compiled in b) some of the overlays are dynamicIt would take all of a minute for you to investigate and discover what the situation is with your build.
Here is all the
DNs from " ldapsearch -LLL -b cn=config -D cn=admin,cn=config -W dn"
dn: cn=config
dn: cn=schema,cn=config
dn: cn={0}corba,cn=schema,cn=config
dn: cn={1}core,cn=schema,cn=config
dn: cn={2}cosine,cn=schema,cn=config
dn: cn={3}duaconf,cn=schema,cn=config
dn: cn={4}dyngroup,cn=schema,cn=config
dn: cn={5}inetorgperson,cn=schema,cn=config
dn: cn={6}java,cn=schema,cn=config
dn: cn={7}misc,cn=schema,cn=config
dn: cn={8}nis,cn=schema,cn=config
dn: cn={9}openldap,cn=schema,cn=config
dn: cn={10}ppolicy,cn=schema,cn=config
dn: cn={11}collective,cn=schema,cn=config
dn: olcDatabase={-1}frontend,cn=config
dn: olcDatabase={0}config,cn=config
dn: olcDatabase={1}bdb,cn=config
dn: olcDatabase={2}monitor,cn=config
-- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/
