[Date Prev][Date Next]
Thanks for responding...I am quite familiar with the order in which
commands must be executed, but nonetheless appreciate your repsonse.
Forgive me for failing to post what turned out to be the problem.
I have a script that I use to generate ldif files. This script had a
flaw in it, actually two. Heres what I had done.
Since ldap is not the lifesblood around here yet...I took down slapd. I
then ran my script to build a new ldif file which I promptly appended to
the end of the existing ldif. However
I had made a fatal error. My script built the new ldif wrong, the dc
values did not match
there was a typo. So all of the new entries did not have the same
were not displayed as part of the dbb by the ldap clients.(ie. netscape
address book) The
cure was essentially to s/wrong/correct/g and rebuild the ldif file
again. Then ldif2ldbm and start slapd.
Then all was well in ldap land......
Things I have noticed about ldap that may be of interest to others...
One, if there is a blank line at the begining of your ldif file you dbb
will not work....gotta watch out for
that unecessary whitespace characters....they will bite you....and you
wont even seem em ;-)
take care- Thanks to everyone on this list you have all taught me quite
a bit, I hope that my posts are helpful to some.
Randy Kunkee wrote:
> SOunds like you didn't shut down slapd before and restart it after the
> ldif2ldbm, so the slapd was still running using the old files, even
> though you had deleted them (unix will not release the files until they
> are finally closed).
> > Hello-
> > Im currently running openldap 1.2.10...very happy so far...
> > I am experiencing something weird currently that I havent been able to
> > get around , yet...
> > I recently needed to update my ldap .dbb...so i removed all the files
> > from my /usr/tmp directory where the .dbb files reside....at this point
> > i took the ldif file i had generated and ran
> > ldif2ldbm -j 6 -i ldiffile
> > then i restarted slapd.... a ps ax shows me that of course things
> > started again...so all would seem fine...however, the new information
> > doesnt show up when i connect to ldap...
> > ie. i still get the old info but the newer entries i had added are not
> > apparently there...
> > so, i rm my netscape cache file incase it was cached....still same
> > thing... Im not sure what else to do at this point to get things too
> > show up...If this doesnt work how does one update
> > their ldap....must i do an ldapadd for every entry....yuk....I would
> > like to make this work so that i can just write a script and put in cron
> > to run weekly....to keep my ldap up to snuff....
> > Anyways...any thoughts would be appreciated....and anyone with a cure is
> > even better....
> > Thanks.....
> > ray
> > --
> > Ray Schneider
> > Operations Engineer http://www.scoreboardinc.com
> > Founded gmulug http://www.af-design.com/gmulug
> > Premature optimization is the root of all evil.
> > -D. Knuth
Operations Engineer http://www.scoreboardinc.com
Founded gmulug http://www.af-design.com/gmulug
Premature optimization is the root of all evil.
- Re: ???
- From: firstname.lastname@example.org (Randy Kunkee)