[Fedora-directory-devel] [PATCH] Allow replication in 00core.ldif

Andrew Bartlett abartlet at samba.org
Fri May 11 07:03:08 UTC 2007


On Wed, 2007-05-09 at 16:02 -0600, Richard Megginson wrote:
> Andrew Bartlett wrote:
> > On Fri, 2007-04-27 at 17:24 +0200, Andrew Bartlett wrote:
> >   
> >> I've been playing with Fedora DS replication and Samba, and have been
> >> making good progress.
> >>
> >> See http://wiki.samba.org/index.php/Samba4/LDAP_Backend/Fedora_DS for
> >> the evolving set of instructions (should get better over the next week).
> >>
> >> I need this patch applied (and possibly the bitwise patch too) to get
> >> the replication working.
> >>
> >> I also had to hack up mmr.pl to take a port, and not assume 389
> >>     
> >
> > I've updated the wiki, and I would like some feedback.  I've not yet
> > retested the procedure here, but I wondered if (at a glance) this could
> > be made simpler?  Is there anything I can cut out?
> >   
> The list of packages on FC7 - you also need svrcore-devel, 
> mozldap-devel, and posssibly perl-Mozilla-LDAP and mozldap-tools

Thanks, I'll update the list.

> For the bitwise patch - is there a bug for this already?  Maybe we 
> should just commit the bitwise plugin to fedora ds.

I've just filed a bug for you, #239764.

> For the schema - you could just remove all unnecessary schema files from 
> $prefix/etc/fedora-ds/schema.  ds_newinst.pl copies all of those files 
> to the new instance directory, so if you don't want them, you could just 
> remove them from there.

I would rather not do that.

> > Can parts of the Fedora DS configuration itself be replicated across the
> > replication protocol,
> No.  Only schema added over LDAP.
> > or at least can I use the initial_ldif to set
> > things up?
> I'm not sure what you mean.  Do you mean fds-extra.ldif?
> > It didn't seem to apply to dse.ldif.
> >   
> I'm not sure what you mean.

I re-read the docs, and the InstallLdif command only applies to the data
partition, not any configuration. 

> > Should we have a way to specify to ds_newinst.pl that only the very base
> > schema is to be loaded?  Then I think I could add the Samba schema
> > directly with LDAP, and avoid having to copy that too. 
> >   
> Sure.  It would probably be a nice option to have.

Filed as #239765

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.                  http://redhat.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-directory-devel/attachments/20070511/f800b630/attachment.sig>


More information about the Fedora-directory-devel mailing list