Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ldif(1) [centos man page]

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)
Man Page

11 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

shell scripts to grep dn in ldif file

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)
Discussion started by: bulkbiz
3 Replies

2. Shell Programming and Scripting

Breaking long lines into (characters, newline, space) groups

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)
Discussion started by: rowie718
14 Replies

3. Shell Programming and Scripting

merge ldif files

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)
Discussion started by: john_prince
4 Replies

4. Shell Programming and Scripting

Update LDIF User info based on Test User Certs ID's

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)
Discussion started by: Macdaddy99
3 Replies

5. UNIX for Advanced & Expert Users

Shell Script to compare xml files and print output to a file

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)
Discussion started by: kanthrajgowda
2 Replies

6. Shell Programming and Scripting

shell or perl script needed for ldif file to text file conversion

This is the ldf file dn: sdcsmsisdn=1000000049,sdcsDatabase=subscriberCache,dc=example,dc=com objectClass: sdcsSubscriber objectClass: top postalCode: 29600 sdcsServiceLevel: 10 sdcsCustomerType: 14 givenName: Adelia sdcsBlackListAll: FALSE sdcsOwnerType: T-Mobile sn: Actionteam... (1 Reply)
Discussion started by: LinuxFriend
1 Replies

7. UNIX for Advanced & Expert Users

Input for multiple files.

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)
Discussion started by: john_prince
5 Replies

8. Shell Programming and Scripting

LDIF Data sorting by timestamp

I am a newbie and need awk or sed script to run against LDIF format data and sort by create time stamp (2 Replies)
Discussion started by: atlowi
2 Replies

9. Shell Programming and Scripting

LDAP data in CSV format

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)
Discussion started by: tfm217
8 Replies

10. Shell Programming and Scripting

LDAP data in CSV format - Part II

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)
Discussion started by: tfm217
2 Replies

11. Shell Programming and Scripting

Perl Code to convert LDIF to CSV

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)
Discussion started by: Perlbaby
0 Replies