LDIF(1) General Commands Manual LDIF(1)NAME
ldif - manipulates an LDIF stream by adding a column with the defined attribute type
SYNOPSIS
ldif [-b] attrtype
DESCRIPTION
Manipulates an LDIF stream by adding a column with the defined attribute type
OPTIONS
A summary of options is included below:
-b Output base64 binary format
USAGE
ldif dn < /tmp/ldif
AUTHOR
ldif was written by the 389 Project.
REPORTING BUGS
Report bugs to http://bugzilla.redhat.com.
COPYRIGHT
Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
Copyright (C) 2008 Red Hat, Inc.
This manual page was written by Michele Baldessari <michele@pupazzo.org>, for the Debian project (but may be used by others).
This is free software. You may redistribute copies of it under the terms of the Directory Server license found in the LICENSE file of this
software distribution. This license is essentially the GNU General Public License version 2 with an exception for plug-in distribution.
May 18, 2008 LDIF(1)
Check Out this Related Man Page
CL-DUMP(1) General Commands Manual CL-DUMP(1)NAME
cl-dump - Dump and decode Directory Server replication change log
SYNOPSIS
cl-dump [-h host] [-p port] [-D bind-dn] -w bind-password | -P bind-cert
[-r replica-roots] [-o output-file] [-c] [-v]
cl-dump -i changelog-ldif-file-with-base64encoding [-o output-file] [-c]
DESCRIPTION
Dump and decode Directory Server replication change log
OPTIONS
A summary of options is included below.
-c Dump and interpret CSN only. This option can be used with or without -i option.
-D bind-dn
Directory server's bind DN. Default to "cn=Directory Manager" if the option is omitted.
-h host
Directory server's host. Default to the server where the script is running.
-i changelog-ldif-file-with-base64encoding
If you already have a ldif-like changelog, but the changes in that file are encoded, you may use this option to decode that ldif-
like changelog.
-o output-file
Path name for the final result. Default to STDOUT if omitted.
-p port
Directory server's port. Default to 389.
-P bind-cert
Pathname of binding certificate DB
-r replica-roots
Specify replica roots whose changelog you want to dump. The replica roots may be separated by comma. All the replica roots would be
dumped if the option is omitted.
-v Print the version of this script.
-w bind-password
Password for the bind DN
RESTRICTIONS
If you are not using -i option, the script should be run when the server is running, and from where the server's changelog directory is
accessible.
SEE ALSO repl-monitor(1)AUTHOR
cl-dump was written by the 389 Project.
REPORTING BUGS
Report bugs to http://bugzilla.redhat.com.
COPYRIGHT
Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
Copyright (C) 2008 Red Hat, Inc.
This manual page was written by Michele Baldessari <michele@pupazzo.org>, for the Debian project (but may be used by others).
This is free software. You may redistribute copies of it under the terms of the Directory Server license found in the LICENSE file of this
software distribution. This license is essentially the GNU General Public License version 2 with an exception for plug-in distribution.
May 18, 2008 CL-DUMP(1)
Hi gurus out there,
1)I am using ksh, in solaris 10.
2)I have one ldif file, I need to output user DN with attributes=<some pattern> to a file.
Example:
dn: uid=joy,ou=People,o=abc.com,o=isp
nswmExtendedUserPrefs: meAutoSign=true
nswmExtendedUserPrefs: meSignature=Regards, Joy... (3 Replies)
Hello,
I am currently trying to edit an ldif file. The ldif specification states that a newline followed by a space indicates the subsequent line is a continuation of the line. So, in order to search and replace properly and edit the file, I open the file in textwrangler, search for "\r " and... (14 Replies)
Hi,
I'd like to merge several ldif files into one. however simple cat *.ldif >> all.ldif is not working ( the data content is not sequential ), and also "more *.ldif > all.ldif" adds file names. I'd like all.ldif to be
all.ldif
content of 1.ldif
content of 2.ldif
-
-
Also, i... (4 Replies)
Hi I need help..........
I have an Sun One Directory server LDIF file with 5000 user entries, I need to change the data to match Test ID's, so I can run a perf test.
I'm way out of my league as I have not done any scripting for 10 years.
There are four entries for each user in the file... (3 Replies)
All,
PLease can you help me with a shell script which can compare two xml files and print the difference to a output file.
I have attached one such file for you reference.
<Group>
<Member ID=":Year_Quad:41501" childCount="4" fullPath="PEPSICO Year-Quad-Wk : FOLDER.52 Weeks Ending Dec... (2 Replies)
Hi,
I am trying to come up with a script, and would like the script to pick all the files place within a folder and interactive take my yes/no before processing within the command. Could you someone help me in modifying the script :
#!/bin/bash
#
LDIF_FILES="File Name"
for MY_FILE... (5 Replies)
Hi all,
I am new here, please don't eat me alive..
I am trying to find a good community to learn and participate in unix / linux discussions to help me improve in my current job.
That being said, I have a problem which I didn't expect to challenge me, but I can't seem to find a viable... (8 Replies)
User Aia had created this below script to help translate LDIF files to CSV format, and it works very well (thanks again Aia if you are reading this)
Here is the original thread.
https://www.unix.com/shell-programming-and-scripting/265753-ldap-data-csv-format.html?referrerid=302170129
However... (2 Replies)
Team ,
I am new to perl. Can someone help me out to convert LDIF file to csv format using perl logic ?
LDIF file format contains values :
ID : name/Bose-IND/ORD,cu-150,ou=ends
Connection_Time: 02:12:54 EST
LDAP: yes
Link: ABC Home Page - ABC.com
Expected outcome should with column... (0 Replies)