[Fedora-directory-users] Export the Windows Agreement in LDIF format

Rich Megginson rmeggins at redhat.com
Fri Sep 5 19:16:12 UTC 2008


Mister Anonyme wrote:
> Hi,
>
> The subject says it all, I'm wondering if it's possible to export a 
> Windows Agreement in LDIF format so I can install a new Directory 
> Server automatically next time.
Sure.  You can either extract it from the dse.ldif or grab it via 
ldapsearch using -s sub -b cn=config 
(objectclass=nsDSWindowsReplicationAgreement)

You can put this in a file e.g. winsync.ldif and use silent setup to 
create a new directory server instance with this enabled:
http://www.redhat.com/docs/manuals/dir-server/install/8.0/Installation_Guide-Advanced_Configuration-Silent.html

Use the .inf file directive ConfigFile to specify additional config for 
the new instance:
[General]
FullMachineName=ldap.example.com
...
[slapd]
ServerPort=389
...
ConfigFile=/full/path/to/winsync.ldif

Then setup-ds-admin.pl -s -f /path/to/file.inf

You can also pass this in on the command line e.g.
setup-ds-admin.pl ..... slapd.ConfigFile=/full/path/to/winsync.ldif

ConfigFile is multi-valued so you can pass in many configs this way
>
> Thank you.
>
> ------------------------------------------------------------------------
> ------------------------------------------------------------------------
>
> --
> Fedora-directory-users mailing list
> Fedora-directory-users at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>   

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3258 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-directory-users/attachments/20080905/f05f7e6d/attachment.bin>


More information about the Fedora-directory-users mailing list