--On Tuesday, February 8, 2022 10:50 AM +0100 Ulf Volmer <[email protected]>
wrote:
Hello,
I'm trying to migrate an old openldap installation to a new one.
OS of the new one is SLES15SP3, we are using the symas 2.5 packages.
Sadly I got an error by importing the samba3 schema:
# /opt/symas/bin/ldapadd -Y EXTERNAL -H ldapi:/// -f
# /opt/symas/etc/openldap/schema/samba3.ldif
SASL/EXTERNAL authentication started
SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
SASL SSF: 0
adding new entry "cn=samba3,cn=schema,cn=config"
ldap_add: Constraint violation (19)
additional info: structuralObjectClass: no user modification
allowed
I'm able to import other schemas in the same way, si I don't think that I
hold the tool in the wrong way.
Any pointers for me?
Delete these lines from the samba3.ldif file before importing it:
structuralObjectClass: olcSchemaConfig
entryUUID: 0f2e03be-de6e-1036-8834-375967239361
creatorsName: cn=config
createTimestamp: 20170605190809Z
entryCSN: 20170605190809.978905Z#000000#000#000000
modifiersName: cn=config
modifyTimestamp: 20170605190809Z
Regards,
Quanah