[Samba] Import OpenLDAP schema

Rowland Penny rpenny at samba.org
Mon Oct 1 09:26:57 UTC 2018


On Mon, 1 Oct 2018 11:43:37 +0300
Taner Tas via samba <samba at lists.samba.org> wrote:

> Hi,
> 
> I'm trying to figure out to import the schema below to Samba LDAP. I
> tried to modify class names, DN etc but it didn't help.
> 
> I don't paste here because of some long lines.
> 
> Here is the link of ldif file:
> 
> https://raw.githubusercontent.com/Pardus-LiderAhenk/lider-ahenk-installer/master/src/conf/liderahenk.ldif
> 
> Thanks.
> 
> ---
> Taner Tas
> 

Is there a .schema file available ?
The .ldif file is for openldap and isn't suitable for Samba AD.

If you can find a .schema file, then Samba comes with a script to
convert it to the required ldif, oLschema2ldif

You should be aware that once you add an ldif to the AD schema, you can
never remove it.

Rowland



More information about the samba mailing list