09-20-2002
Thank you everyone for your help.
This is very helpful to me. I will defintely try this.
Thanks,
Kenix
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Im trying to code some logic into a test script to test for the existence of a file before recreating it. Im using the following line to test for this:
if -r test.txt;
However I get the error message
./testScript.sh: -r: not found
Having read through the man pages im still not clear whats... (2 Replies)
Discussion started by: blakmk
2 Replies
2. Shell Programming and Scripting
Hello!!
I'm want to read each line of a file.
I'm doing a cut command, using \n - linefeed as delimeter and "list" as my file.
cut -f1 -d"\n" -s < list
Changing the file, putting spaces and doing cut -f1 -d" " -s < list it works, but with linefeed nothing is returned.
Thanks... (5 Replies)
Discussion started by: alienET
5 Replies
3. Shell Programming and Scripting
I am attempting to itterate through a file that has multiple lines and for each one read the entire line and use the value then to search in other files. The problem is that instead of an entire line I am getting each word in the file set as the value I am searching for. For example in File 1... (2 Replies)
Discussion started by: run_unx_novice
2 Replies
4. UNIX for Dummies Questions & Answers
How do I test for the presence of a file in Bourne Shell (3 Replies)
Discussion started by: vins
3 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I have a script that uses "nohup" command to execute a korn shell script. Which one is the correct shell to use bourne shell or korn shell to execute a korn shell? and why?
Thanks in advanced. (2 Replies)
Discussion started by: XZOR
2 Replies
6. Shell Programming and Scripting
What is the differance between "C-Shell", "Korn-Shell" and "Bourne-Shell"? Please explain me! (3 Replies)
Discussion started by: Prathinidhi
3 Replies
7. Shell Programming and Scripting
Hallo,
i need a Prompting read in my script:
read -p "Enter your command: " command
But i always get this Error:
-p: is not an identifier
When I run these in c-shell i get this error
/usr/bin/read: read: bad option(s)
How can I use a Prompt in the read command? (9 Replies)
Discussion started by: wiseguy
9 Replies
8. Shell Programming and Scripting
Hi All
I have writing a Korn Shell script to execute it on many of our servers. But some servers don't have Korn Shell installed, they use Borne Shell.
Some operations like calculation don't work :
cat ${file1} | tail -$((${num1}-${num2})) > ${file2}
Is it possible to activate Korn Shell... (3 Replies)
Discussion started by: madmat
3 Replies
9. Shell Programming and Scripting
Could some one tell me the difference btw Bourne shell and the Kshell? Which is more flexible and reliable in terms of portability and efficiency. When i type the following command ..
$ echo $SHELL
yields me
/bin/sh
Does this tells me that I am in Bourne shell. If yes, how can i get... (6 Replies)
Discussion started by: bobby1015
6 Replies
10. Shell Programming and Scripting
I am suppose to make a program that cuts the extension off of a file. It uses that .ext to decide which program needs to be used to open the file. This only finds the name of the program from a list of programs I made. My problem is when it has the name of the program it needs to use, how can I... (3 Replies)
Discussion started by: dordrix
3 Replies
LEARN ABOUT NETBSD
slapo-syncprov
SLAPO-SYNCPROV(5) File Formats Manual SLAPO-SYNCPROV(5)
NAME
slapo-syncprov - Sync Provider overlay to slapd
SYNOPSIS
/etc/ldap/slapd.conf
DESCRIPTION
The Sync Provider overlay implements the provider-side support for the LDAP Content Synchronization (RFC4533) as well as syncrepl replica-
tion support. The overlay can be used with any backend that maintains entryCSN and entryUUID attributes for its entries. It also creates a
contextCSN attribute in the root entry of the database.
The contextCSN is updated for every write operation performed against the database. To reduce database contention, the contextCSN is only
updated in memory. The value is written to the database on server shutdown and read into memory on startup, and maintained in memory there-
after. Checkpoints may be configured to write the contextCSN into the underlying database to minimize recovery time after an unclean shut-
down.
On databases that support inequality indexing, it is helpful to set an eq index on the entryCSN attribute when using this overlay.
CONFIGURATION
These slapd.conf options apply to the Sync Provider overlay. They should appear after the overlay directive.
syncprov-checkpoint <ops> <minutes>
After a write operation has succeeded, write the contextCSN to the underlying database if <ops> write operations or more than <min-
utes> time have passed since the last checkpoint. Checkpointing is disabled by default.
syncprov-sessionlog <ops>
Configures an in-memory session log for recording information about write operations made on the database. The <ops> specifies the
number of operations that are recorded in the log. All write operations (except Adds) are recorded in the log. When using the ses-
sion log, it is helpful to set an eq index on the entryUUID attribute in the underlying database.
syncprov-nopresent TRUE | FALSE
Specify that the Present phase of refreshing should be skipped. This value should only be set TRUE for a syncprov instance on top of
a log database (such as one managed by the accesslog overlay). The default is FALSE.
syncprov-reloadhint TRUE | FALSE
Specify that the overlay should honor the reloadHint flag in the Sync Control. In OpenLDAP releases 2.3.11 and earlier the syncrepl
consumer did not properly set this flag, so the overlay must ignore it. This option should be set TRUE when working with newer
releases that properly support this flag. It must be set TRUE when using the accesslog overlay for delta-based syncrepl replication
support. The default is FALSE.
FILES
/etc/ldap/slapd.conf
default slapd configuration file
SEE ALSO
slapd.conf(5), slapd-config(5), slapo-accesslog(5). OpenLDAP Administrator's Guide.
ACKNOWLEDGEMENTS
OpenLDAP Software is developed and maintained by The OpenLDAP Project <http://www.openldap.org/>. OpenLDAP Software is derived from Uni-
versity of Michigan LDAP 3.3 Release.
OpenLDAP 2012/04/23 SLAPO-SYNCPROV(5)