[Samba] Schema extension

Rowland Penny rpenny at samba.org
Wed Nov 21 09:55:49 UTC 2018


On Wed, 21 Nov 2018 10:06:06 +0100
Stefan Kania via samba <samba at lists.samba.org> wrote:

> Hello,
> 
> we have a single DC after a clssicupgrade and we need to extend the 
> schema. So we created a attrib.ldif with all our attributes and a 
> object.ldif to add the attributes to the "CN=User" Object. We tested
> the two ldif-files on a DC with only a few users and groups and it
> works fine. Then we did the classicupgrade (same NC as the
> test-system) we have more then 30.000 users after the classicupgrade.
> Then we did the schema extension with the same ldif-files. During the
> process the DB was reindexed. Then wie looked at a user in the
> "attribute editor" in ADUC of one of the users. We can't see the
> additional attributes. We reindexed the DB and got the following
> messages: ---------------
> root at addc01:~# samba-tool dbcheck --reindex
> Re-indexing...
> Reindexing: re-keyed 10000 records so far
> Reindexing: re-keyed 20000 records so far
> Reindexing: re-keyed 30000 records so far
> Reindexing: re-indexed 10000 records so far
> Reindexing: re-indexed 20000 records so far
> Reindexing: re-indexed 30000 records so far
> Reindexing: re_index successful on 
> /var/lib/samba/private/sam.ldb.d/DC=EXAMPLE,DC=DE.ldb, final index 
> write-out will be in transaction commit
> completed re-index OK----
> -------------
> It looks like the reindexing was working, but we still can't use the 
> attributes. Can it be that it takes a long time because of the 30.000 
> Users.
> 
> Greetings
> 
> Stefan
> 

Another thought, You carried out a classicupgrade, then extended the schema.
Did you then add the attributes to the users ?

Rowland



More information about the samba mailing list