Summary: | Syntax error in samba.ldif | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Norberto Bensa <nbensa+rhbugs> | ||||
Component: | samba | Assignee: | Guenther Deschner <gdeschner> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 16 | CC: | asn, gdeschner, jlayton, ssorce | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2012-10-26 16:04:15 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Attachments: |
|
See bso #8789 |
Created attachment 559710 [details] Fixed samba.ldif Description of problem: while trying to setup Samba+ldap in Fedora 16 I got the following problem: [sysadmin@localhost LDAP]$ sudo ldapadd -Y external -H ldapi:/// -f samba.ldif [sudo] password for sysadmin: 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} ) Version-Release number of selected component (if applicable): samba-3.6.1-77.fc16.x86_64 How reproducible: Always Steps to Reproduce: 1. sudo yum install openldap-servers openldap-clients samba 2. cd /usr/share/doc/samba-3.6.1/LDAP 3. sudo ldapadd -Y external -H ldapi/// -f samba.ldif Actual results: Not able to add samba schema to ldap Expected results: Being able to add the schema :) Additional info: There's a syntax error in: olcAttributeTypes: {50}( 1.3.6.1.4.1.7165.2.1.73 NAME 'sambaTrustPartner' DESC 'Fully qualified name of the domain with which a trust exists' EQUALITY case IgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} ) The directive should be caseIgnoreMatch, not case IgnoreMatch (note the extra space on the IgnoreMatch line) Correcting it will fix the problem: olcAttributeTypes: {50}( 1.3.6.1.4.1.7165.2.1.73 NAME 'sambaTrustPartner' DESC 'Fully qualified name of the domain with which a trust exists' EQUALITY case IgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} ) [sysadmin@localhost LDAP]$ sudo ldapadd -Y external -H ldapi:/// -f samba.ldif 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" (Note that I just removed one space; I don't know if bugzilla shows this, so I'm attaching a fixed schema.ldif)