[Samba] Error Upgrading Schema

Matthew Delfino Samba List mdelfino.list.samba at KNOCKinc.com
Sat Nov 7 02:46:54 UTC 2020


Thanks for taking a shot at helping me, Rowland. I found that someone had made this suggestion for another person in the past, so I ran this command before reaching out on Monday:

> ldbsearch -H /var/lib/samba/private/sam.ldb -b "CN=Schema,CN=Configuration,$(echo "DC=$(hostname -d)" | sed 's/\./,DC=/g')" -s base objectVersion | grep 'objectVersion' | awk '{print $NF}'

(Which is just a fancier way to precisely carve down to the version number.)

Back then, it gave me "47."

I ran it again today, and now it says, "My value is still 47... alas."

Any other suggestions?

Again, I appreciate your time.

Matthew


On 2020.11.06, 9:26 AM, "samba on behalf of Rowland penny via samba" <samba-bounces at lists.samba.org on behalf of samba at lists.samba.org> wrote:

    On 06/11/2020 14:43, Matthew Delfino Samba List via samba wrote:
    >      Hello!
    >
    >      I just upgraded from Samba v4.10.9 to v4.11.15. The upgrade seems to have gone smoothly. As part of major release maintenance, I ran the following command on my schema master DC:
    >
    >      > samba-tool domain schemaupgrade
    >
    >      Do you have any suggestions on how to troubleshoot? My schema is already on version 47.
    >
    It looks like your schema is already at '69', try running this:

    ldbsearch -H /var/lib/samba/private/sam.ldb -b
    'cn=Schema,cn=Configuration,dc=samdom,dc=example,dc=com' -s base
    objectVersion

    Altered for your setup.

    Rowland



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


© 2020 KNOCK, inc. All rights reserved. KNOCK, inc, is a registered trademark of KNOCK, inc. This message and any attachments contain information, which is confidential and/or privileged. If you are not the intended recipient, please refrain from any disclosure, copying, distribution or use of this information. Please be aware that such actions are prohibited. If you have received this transmission in error, kindly notify the sender by e-mail. Your cooperation is appreciated.


More information about the samba mailing list