Summary: | app-admin/sudo[ldap] should install schema file in /etc/openldap/schema/ | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | John J. Aylward <john> |
Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ldap-bugs, volkov |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=209395 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
John J. Aylward
2013-06-11 06:43:54 UTC
someone who knows about ldap should comment on whether this is a good idea Adding the file to the schema directory does not enable it. The schema file would have to be added to the /etc/openldap/slapd.conf file to be enabled: like this: include /etc/openldap/schema/sudo.schema +1 I'm waiting for this too. @@ -127,9 +127,12 @@ default if use ldap ; then - dodoc README.LDAP doc/schema.OpenLDAP + dodoc README.LDAP dosbin plugins/sudoers/sudoers2ldif + insinto /etc/openldap/schema + newins doc/schema.OpenLDAP sudo.schema + cat <<-EOF > "${T}"/ldap.conf.sudo # See ldap.conf(5) and README.LDAP for details # This file should only be readable by root commit 3f9f5e66223fa478822cd23733f9e373f5b865e8 Author: Lars Wendler <polynomial-c@gentoo.org> Date: Mon Nov 2 11:13:53 2015 app-admin/sudo: Revbump to add ldap schema file (bug #472948). Package-Manager: portage-2.2.23 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> |