Author Topic: error syslog failed to load attribute or class definition  (Read 1415 times)

cleitonme

  • Zen Apprentice
  • *
  • Posts: 6
  • Karma: +1/-0
    • View Profile
error syslog failed to load attribute or class definition
« on: November 27, 2020, 01:13:51 pm »
does anyone know what this error means and how to fix

Nov 27 09:12:21 servidor smbd_audit:   ldb: dsdb_schema_from_db() failed: 19:Constraint violation: dsdb_schema load failed: dsdb_load_ldb_results_into_schema: failed to load attribute or class definition: CN=Remote-Storage-Service-Point,CN=Schema,CN=Configuration,DC=foco,DC=local:WERR_INVALID_PARAMETER
Nov 27 09:12:21 servidor smbd_audit: [2020/11/27 09:12:21.068138,  0] ../source4/dsdb/schema/schema_init.c:916(dsdb_load_ldb_results_into_schema)
Nov 27 09:12:21 servidor smbd_audit:   ../source4/dsdb/schema/schema_init.c:916: dsdb_load_ldb_results_into_schema: failed to load attribute or class definition: CN=Remote-Storage-Service-Point,CN=Schema,CN=Configuration,DC=foco,DC=local:WERR_INVALID_PARAMETER
Nov 27 09:12:21 servidor smbd_audit: [2020/11/27 09:12:21.073667,  0] ../lib/ldb-samba/ldb_wrap.c:77(ldb_wrap_debug)
Nov 27 09:12:21 servidor smbd_audit:   ldb: dsdb_schema_from_db() failed: 19:Constraint violation: dsdb_schema load failed: dsdb_load_ldb_results_into_schema: failed to load attribute or class definition: CN=Remote-Storage-Service-Point,CN=Schema,CN=Configuration,DC=foco,DC=local:WERR_INVALID_PARAMETER
Nov 27 09:12:21 servidor smbd_audit: [2020/11/27 09:12:21.131253,  0] ../source4/dsdb/schema/schema_init.c:916(dsdb_load_ldb_results_into_schema)
Nov 27 09:12:21 servidor smbd_audit:   ../source4/dsdb/schema/schema_init.c:916: dsdb_load_ldb_results_into_schema: failed to load attribute or class definition: CN=Remote-Storage-Service-Point,CN=Schema,CN=Configuration,DC=foco,DC=local:WERR_INVALID_PARAMETER

badapple7

  • Zen Apprentice
  • *
  • Posts: 26
  • Karma: +10/-0
    • View Profile

cleitonme

  • Zen Apprentice
  • *
  • Posts: 6
  • Karma: +1/-0
    • View Profile
Re: error syslog failed to load attribute or class definition
« Reply #2 on: December 04, 2020, 11:51:06 am »
I have no idea how to fix this  :'(

If anyone can help

doncamilo

  • Zen Samurai
  • ****
  • Posts: 478
  • Karma: +165/-1
    • View Profile
Re: error syslog failed to load attribute or class definition
« Reply #3 on: December 04, 2020, 06:05:22 pm »
 :)

Did you join the Zentyal server to a domain managed by Ms. Windows Server? The Windows Server schema should have being authomatically applyed to samba.

Your samba server doesn't include in his schema the Microsoft class "CN=Remote-Storage-Service-Point,...". https://docs.microsoft.com/en-us/windows/win32/adschema/c-remotestorageservicepoint 

Read this samba official document https://wiki.samba.org/index.php/Samba_AD_schema_extensions carefully and make a complete backup of your domain controllers before proceeding. Actually do it in a test lab before proceeding on production server.

Bear in mind that you have to use the Zentyal templates to customize the smb.conf file. Read the Zentyal official documentation https://doc.zentyal.org/en/appendix-c.html#stubs.

You should make a little google research in order to check the existance of other sysadmins applying this samba4 scheme extension.

Count on me if you need some more help :)

Cheers!

« Last Edit: December 04, 2020, 06:07:55 pm by doncamilo »
- Do my pigeons bother you passing over your land?
- They block the sun!

G. Guareschi., Don Camillo.,