Bug 182692

Summary: openldap-servers does not install samba.schema
Product: [Fedora] Fedora Reporter: W. Michael Petullo <redhat>
Component: sambaAssignee: Simo Sorce <ssorce>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: high Docs Contact:
Priority: high    
Version: rawhideCC: andreas.bierfert
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-03-23 14:26:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description W. Michael Petullo 2006-02-24 02:11:34 UTC
Description of problem:
The samba package provides samba.schema in the package's documentation
directory.  This file should be installed in /etc/openldap/schema/samba.schema
so that slapd may use it.

Version-Release number of selected component (if applicable):
samba-3.0.21b-2

How reproducible:
Every time

Steps to Reproduce:
Install samba and note that its LDAP schema is not installed so that slapd may
use it.
  
Actual results:


Expected results:


Additional info:

Comment 1 Andreas Bierfert 2006-03-24 00:08:10 UTC
This is probably true for all the schema files... Right now I have:
include /usr/share/doc/samba-3.0.21b/LDAP/samba.schema

Which is horrible for version upgrades (like FC4->FC5).

And while at it: Maybe sambaldap-tools should go somewhere sane as well.

Comment 2 Andreas Bierfert 2006-11-07 10:48:10 UTC
ping!
This is a serious bug in fedora core. upgrades of samba _break_ ldap because the
schema files (and sambaldap-tools) live in different location on each version
upgrade. If I patch the spec will you include it? This really needs to be sorted
out I thought that this would happen by the time FC6 comes by...

Comment 3 Andrew Bartlett 2006-12-27 04:25:45 UTC
While you can't assume that Samba will be on the OpenLDAP server, it does seem
very reasonable to me that the schema be installed by default, and upgraded by
Samba upgrades.

Comment 4 Andreas Bierfert 2006-12-27 09:01:07 UTC
Either that would help or having a separate samba-schema package which would
install the schema files into lets say /etc/openldap/schema (and require
openldap of course). That whay they can easily be included and don't break
samba/ldap on schema upgrades. 

Same goes for the tools. 

Comment 5 Simo Sorce 2007-03-23 14:26:08 UTC
Thank you, will be fixed with the next build in rawhide.