[Samba] AD Schema Upgrade

Max Serafini max at marigoldsandonions.com
Thu Sep 12 01:56:56 UTC 2019


Not sure if this reply got anywhere.

Hi Andre

Thanks for your suggestion.
I thought the only way to upgrade was to use adpred form a Windows box. 
I'll definitely give it a go.

It would be nice to upgrade but that's the version that ships with 18.04 
lts.  The convenience of using a package manager.



-----Original Message-----
From: samba [mailto:samba-bounces at lists.samba.org] On Behalf Of Andre 
Kirchhoff via samba
Sent: Tuesday, September 10, 2019 10:35 AM
To: samba at lists.samba.org
Subject: Re: [Samba] AD Schema Upgrade

Hi Max!

Not a schema expert by any definition and not sure what you’re trying to 
add/modify, but I do it using .ldif files with ldb-tools ('apt install 
ldb-tools' if you don’t have it):

ldbadd -H /var/lib/samba/private/sam.ldb 
[filename].ldif --option="dsdb:schema update allowed"=true ldbmodify -H 
/var/lib/samba/private/sam.ldb mod [filename].ldif --option="dsdb:schema 
update allowed”=true

I strongly recommend you test this on a same spec fresh/test DC before 
applying on production and mandatory “you should upgrade your samba” since 
4.7 is EOL. :)

Hope it helps.

André….
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba




More information about the samba mailing list