Use relative .so names for plugin so that lib/lib64 does not get in the way

change the pwd-extop conf ldif to a more sensible name
This commit is contained in:
Simo Sorce 2007-08-15 18:55:20 -04:00
parent be34ddfc28
commit 9faa5ce77e
3 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ objectclass: top
objectclass: nsSlapdPlugin
objectclass: extensibleObject
cn: ipa-memberof
nsslapd-pluginpath: /usr/lib/fedora-ds/plugins/libipa-memberof-plugin.so
nsslapd-pluginpath: libipa-memberof-plugin.so
nsslapd-plugininitfunc: ipamo_postop_init
nsslapd-plugintype: postoperation
nsslapd-pluginenabled: on

View File

@ -153,7 +153,7 @@ class KrbInstance:
# TODO: NOT called yet, need to find out how to make sure the plugin is available first
def __add_pwd_extop_module(self):
#add the password extop module
extop_txt = template_file(SHARE_DIR + "ipapwd_extop_plugin.ldif", self.sub_dict)
extop_txt = template_file(SHARE_DIR + "pwd-extop-conf.ldif", self.sub_dict)
extop_fd = write_tmp_file(extop_txt)
ldap_mod(extop_fd, "cn=Directory Manager", self.admin_password)
extop_fd.close()