Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Samba] Import Schema from OpenLdap

239 views
Skip to first unread message

Gian Henriques

unread,
Nov 26, 2013, 7:20:02 AM11/26/13
to
Hello, everyone.

I try to export schema to ldif file and import to samba with
"/usr/local/samba/bin/ldbadd -H /usr/local/samba/private/sam.ldb
schema.ldif" but it fails.

"schema_data_add: updates are not allowed: reject request"

Can someone tell if is possible import schema from openldap database to
samba4?

Thanks and sorry for my bad english.

--

*Gian Luca Henriques*
Analista de Redes
(31) 3769-2000 -- ramal 2105
gia...@viareal.com.br

Via Real Telecom <www.viareal.com.br>
Soluções em Internet e Telefonia
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba

Rowland Penny

unread,
Nov 26, 2013, 7:50:02 AM11/26/13
to
On 26/11/13 12:05, Gian Henriques wrote:
> Hello, everyone.
>
> I try to export schema to ldif file and import to samba with
> "/usr/local/samba/bin/ldbadd -H /usr/local/samba/private/sam.ldb
> schema.ldif" but it fails.
>
> "schema_data_add: updates are not allowed: reject request"
>
> Can someone tell if is possible import schema from openldap database
> to samba4?
>
> Thanks and sorry for my bad english.
>
Hi, there is a page on the wiki about this, but I cannot seem to get it
load at the moment, perhaps somebody could look at this?

basically, you need to get the ldif in the right format for samba 4 and
then stop samba 4 and then run a line similar to this:

ldbmodify -H /usr/local/samba/private/sam.ldb automount_attr.ldif
--option="dsdb:schema update allowed"=true

Then restart samba 4

Just what are you trying to import?

Rowland
0 new messages