Bug 8789 - Example samba.ldif contains syntax error
Example samba.ldif contains syntax error
Status: RESOLVED FIXED
Product: Samba 3.6
Classification: Unclassified
Component: Docs
3.6.3
All All
: P5 minor
: ---
Assigned To: Karolin Seeger
Samba Documentation QA Contact~
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-03 17:38 UTC by Debian samba package maintainers (PUBLIC MAILING LIST)
Modified: 2012-04-10 18:53 UTC (History)
0 users

See Also:


Attachments
fix for 3.6 from master (1.13 KB, patch)
2012-04-10 08:00 UTC, Björn Baumbach
vl: review+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Debian samba package maintainers (PUBLIC MAILING LIST) 2012-03-03 17:38:39 UTC
This was reported as Debian bug #659963 :

There is a syntax error in the provided samba.ldif file that
shows up like this:

> root@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 problem is also reported in Redhat's BugZilla:
https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=787788
Comment 1 Björn Baumbach 2012-04-10 08:00:30 UTC
Created attachment 7444 [details]
fix for 3.6 from master
Comment 2 Björn Baumbach 2012-04-10 10:25:57 UTC
Karolin,
please pick for 3.6.next
Comment 3 Karolin Seeger 2012-04-10 18:53:17 UTC
Pushed to v3-6-test.
Closing out bug report.

Thanks!