Summary: | =net-fs/samba-4.1.0-r1 deletes /etc/openldap/schema/samba.schema breaking compatibility | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Huemi <gentoobugs> |
Component: | [OLD] Server | Assignee: | Gentoo's SAMBA Team <samba> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dcmwai, Florian.Steinel |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 489762 | ||
Attachments: |
Samba schema file
Ebuild Patch Ebuild Patch |
Description
Huemi
2013-11-11 09:17:20 UTC
Created attachment 363120 [details]
Samba schema file
Samba schema file from examples/LDAP-subfolder of samba-4.1.1
If someone else runs into this trouble: the samba.schema seems to be included in the examples/LDAP-subfolder of the samba tarball. I think it is rather critical (slapd don't starting up is like crashing as the result is that the service doesn't work ...) when you don't know above fix and the ebuild has just deleted the old samba.schema-file and after a server reboot you find that your whole samba domain is not working (because of no ldap service working). Notice that the samba.schema from 4.1.1 contains some more contents than the samba.schema-3.6.x-version. seems that the samba-4-ebuilds are missing the part to copy the samba.schema (even when you use the ldap flag) samba-3-ebuilds contained: ... if use ldap ; then insinto /etc/openldap/schema doins ../examples/LDAP/samba.schema fi ... Created attachment 364606 [details, diff]
Ebuild Patch
This is the ebuild patch as suggested.
Created attachment 364612 [details, diff]
Ebuild Patch
update wrong path
+ 06 Dec 2013; Lars Wendler <polynomial-c@gentoo.org> samba-4.0.12.ebuild, + samba-4.1.2.ebuild: + Install ldap schema. Thanks to Chan Min Wai for providing an ebuild patch in + bug #491002. + |