Man page - ldif-duplicate-attrs(1)
Packages contas this manual
- aumeta(1)
- pegrep(1)
- hxtools(7)
- bin2c(1)
- recursive_lower(1)
- mailsplit(1)
- ofl(1)
- psthreads(1)
- rezip(1)
- declone(1)
- qtar(1)
- peicon(1)
- ssa2srt(1)
- checkbrack(1)
- bsvplay(1)
- pcmdiff(1)
- pcmmix(1)
- mod2opus(1)
- diff2php(1)
- rot13(1)
- qplay(1)
- logontime(8)
- fd0ssh(1)
- spec-beautifier(1)
- ldif-duplicate-attrs(1)
- vcsaview(8)
- sourcefuncsize(1)
- hcdplay(1)
- clock_info(1)
- pesubst(1)
- wktimer(1)
Package: hxtools
apt-get install hxtools
apt-get install hxtools
Manuals in package:
Documentations in package:
Manual
| ldif-duplicate-attrs(1) | hxtools | ldif-duplicate-attrs(1) |
Name
ldif-duplicate-attrs — check for multi-value attributes in LDIF file
Usage
procalldiff [-C] <foo.ldif >report.txt
Input must not contain linewraps. Do use with
{slapcat|ldapsearch} -o ldif-wrap=no ...
Description
Reads an LDIF file from standard input and checks for the presence of multivalued attributes of all DNs. Whitelisted attribute names are excluded from the problem report. Outputs a statistic sorted by severity to standard output.
Options
- -C
- Force color output. Useful when piping into `less -R`. (By default, color is only emitted when stdout is a tty.)
Example output
11 cn=67eoG,ou=Muenchen,o=Deutschland uid(3) cn(2) fullName(2) mail(2) sn(2) 10 cn=Hoff,ou=Muenchen,o=Deutschland homeCity(2) homePostalAddress(2) homeZipCode(2) l(2) telephoneNumber(2)
The DN cn=67eoG has had three values for the "uid" attribute, two for "cn", and so on, for a total badness score of 11. The entire output is sorted by:
- 1.
- Overall, DNs are sorted by descending score.
- 2.
- For a particular DN, attributes are sorted by descending score.
- 3.
- If two attributes have the same score, sort occurs lexicographically ascending.
See also
hxtools(7)
| 2015-04-01 | hxtools |