[Pkg-samba-maint] Bug#659963: examples/LDAP/samba.ldif.gz contains syntax error
Henrik Langos
hlangos-debian at innominate.com
Wed Feb 15 11:15:30 UTC 2012
Package: samba-doc
Version: 2:3.6.3-1
Severity: normal
File: /usr/share/doc/samba-doc/examples/LDAP/samba.ldif.gz
Dear Maintainer,
There is a syntax error in the provided samba.ldif file that
shows up like this:
> root at kdc01:~# zcat /usr/share/doc/samba-doc/examples/LDAP/samba.ldif.gz | ldapadd -Y EXTERNAL -H ldapi:///
> SASL/EXTERNAL authentication started
> SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
> SASL SSF: 0
> adding new entry "cn=samba,cn=schema,cn=config"
> ldap_add: Other (e.g., implementation specific) error (80)
> additional info: olcAttributeTypes: Unexpected token before SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} )
>
It stems from a wrong line break that splits "caseIgnoreMatch" into
"case IgnoreMatch" due to two instead of one spaces in the second line.
(Replacing it with one space fixes the whole
issue s/^ IgnoreMatch/ IgnoreMatch/)
This bug has also shown up in Redhat:
https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=787788
so I guess it could have come down from upstream or may be a result
of a bug in the tool that translated the schema file into an ldif file.
cheers
-henrik
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
samba-doc depends on no packages.
samba-doc recommends no packages.
Versions of packages samba-doc suggests:
pn samba-doc-pdf <none>
-- no debconf information
More information about the Pkg-samba-maint
mailing list