File: malformed_wrapping.ldif

package info (click to toggle)
php-net-ldap 1%3A1.1.1-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 484 kB
  • ctags: 1,095
  • sloc: php: 2,669; xml: 431; makefile: 3
file content (24 lines) | stat: -rw-r--r-- 512 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#
# This is a LDIF file to test wrapping failure
#

# wrong wrapping (entry must fail because DN is damaged):
# (note, that there must eb an empty line below this comment, otherwise
# the DN line is treaten as wrapped comment)

 dn: cn=test1,ou=example,dc=cno
objectclass: oc1
cn: test1

# wrong syntax (literal line but no wrapped content)
dn: cn=test2,ou=example,dc=cno
objectclass:oc1
cn: test2
some_wrong_literal_line
attr3: foo

# entry ok
version: 1
dn: cn=test,ou=example,dc=cno
objectclass: oc1
cn: test