summaryrefslogtreecommitdiffstats
path: root/ldap/ldif/template-ldapi-autobind.ldif.in
diff options
context:
space:
mode:
authorRich Megginson <rmeggins@redhat.com>2007-06-19 18:24:58 +0000
committerRich Megginson <rmeggins@redhat.com>2007-06-19 18:24:58 +0000
commit72da2df3bae21741217e3175e020cdc3b83ac172 (patch)
tree4e12d324257ca8cfe4ba39ceb4337adfe0df588e /ldap/ldif/template-ldapi-autobind.ldif.in
parent0046d389d23bd217e3109949064c33de07dbc017 (diff)
downloadds-72da2df3bae21741217e3175e020cdc3b83ac172.tar.gz
ds-72da2df3bae21741217e3175e020cdc3b83ac172.tar.xz
ds-72da2df3bae21741217e3175e020cdc3b83ac172.zip
Resolves: bug 237356
Description: Move DS Admin Code into Admin Server - ldif templates, pwdhash Reviewed by: nhosoi (Thanks!) Fix Description: These changes are primarily to allow the admin server setup to run completely in perl with no more setuputil code. 1) Added LDIF templates for DS config. template-dse.ldif is the core minimal directory server configuration. Values can be replaced with parameters in the same style as used with register_server.pl - %token%. For the plugin entries, the plugin shared library name is now just a name. There is no more full path. The code in dynalib.c handles this case by using the compiled in PLUGINDIR. The NSPR function PR_GetLibraryName knows the correct shared lib suffix for the platform. All of this allows us to do 2). 2) Added ability to run pwdhash with no server configuration. If no configuration is given, it uses the template-dse.ldif above. And instead of having to worry about where the plugins are installed and the shared lib suffix, it just depends on the above changes. This allows us to generate password hashes during setup before the directory server instance is created, and also to keep clear text password usage to a minimum. 3) Added defaultuser and defaultgroup. 4) Added support for continuation lines in Inf files. 5) All user visible messages during setup should be localizable Platforms tested: RHEL4 Flag Day: Yes, autotool file changes. Doc impact: Yes, along with the previous fixes for this bug.
Diffstat (limited to 'ldap/ldif/template-ldapi-autobind.ldif.in')
-rw-r--r--ldap/ldif/template-ldapi-autobind.ldif.in22
1 files changed, 22 insertions, 0 deletions
diff --git a/ldap/ldif/template-ldapi-autobind.ldif.in b/ldap/ldif/template-ldapi-autobind.ldif.in
new file mode 100644
index 00000000..314e6bc2
--- /dev/null
+++ b/ldap/ldif/template-ldapi-autobind.ldif.in
@@ -0,0 +1,22 @@
+dn: cn=config
+changetype: modify
+replace: nsslapd-ldapiautobind
+nsslapd-ldapiautobind: on
+-
+replace: nsslapd-ldapimaprootdn
+nsslapd-ldapimaprootdn: %rootdn%
+-
+replace: nsslapd-ldapimaptoentries
+nsslapd-ldapimaptoentries: off
+-
+replace: nsslapd-ldapiuidnumbertype
+nsslapd-ldapiuidnumbertype: uidNumber
+-
+replace: nsslapd-ldapigidnumbertype
+nsslapd-ldapigidnumbertype: gidNumber
+-
+replace: nsslapd-ldapientrysearchbase
+nsslapd-ldapientrysearchbase: %ds_suffix%
+-
+replace: nsslapd-ldapiautodnsuffix
+nsslapd-ldapiautodnsuffix: cn=peercred,cn=external,cn=auth