Re: Howto on Basic Setup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2006-08-30 at 23:16 -0400, Tom Diehl wrote:
> On Wed, 30 Aug 2006, Craig White wrote:

> > just a little stupid thing that may be of help to you is a little shell
> > script that I wrote to take the slapcat output from openldap and delete
> > the attributes that will poison it so you can't import it into FDS...
> >
> > # cat ol2fds-filter.sh
> > #!/bin/sh
> > #
> > #
> > input=dump.ldif
> > output=import-me.ldif
> > filt1=creatorsName
> > filt2=createTimestamp
> > filt3=modifiersName
> > filt4=modifyTimestamp
> > filt5=structuralObjectClass
> > filt6=entryUUID
> > filt7=entryCSN
> >
> > /bin/grep -v $filt1 $input | \
> > /bin/grep -v $filt2 | \
> > /bin/grep -v $filt3 | \
> > /bin/grep -v $filt4 | \
> > /bin/grep -v $filt5 | \
> > /bin/grep -v $filt6 | \
> > /bin/grep -v $filt7 > $output
> 
> OK, so we strip out the above attributes at import time but does FDS then
> recreate them? My memory is telling me they are part of the required attributes
> in the schema but I could be wrong.
----
Both OpenLDAP and FDS will add the operational attributes necessary and
I should point out that you can sort of get around this by not using
slapcat but rather an ldapsearch captured into an ldif file which you
can then import (which won't include the operational attributes listed
above).

Craig




[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux