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
Andrew Bartlett
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?
Can parts of the Fedora DS configuration itself be replicated across the replication protocol, or at least can I use the initial_ldif to set things up? It didn't seem to apply to dse.ldif.
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.
Thoughts?
Andrew Bartlett
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
For the bitwise patch - is there a bug for this already? Maybe we should just commit the bitwise plugin to fedora ds.
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.
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.
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.
Thoughts?
Andrew Bartlett
-- Fedora-directory-devel mailing list Fedora-directory-devel@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-devel
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
389-devel@lists.fedoraproject.org