Skip to content

Add to README.md insturctions for adding custom schemaΒ #177

Open
@mzayikin

Description

@mzayikin

I have mySchema.schema which has this definition

attributetype ( 2.16.840.1.113734.3.1.1
	NAME 'spid'
	DESC 'Service provider ID'
	EQUALITY caseIgnoreMatch
	SUBSTR caseIgnoreSubstringsMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

so on container start

docker run --env LDAP_ADMIN_PASSWORD="mypass" --env LDAP_DOMAIN="example.com" --env LDAP_TLS=false --name=my-ldap --volume /Users/me/LDAP/data:/container/service/slapd/assets/config/bootstrap/ldif/custom osixia/openldap:1.1.10 --copy-service --loglevel debug

I get this error

ldap_add: Undefined attribute type (17)
	additional info: spid: attribute type undefined

my data folder /Users/me/LDAP/data does have schema definition and yes, I have tried to mount it to different places. Could you please add more information about mounting schema file to container?

Thanks in advance,
Michael

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions