Stefan Kania
2020-Feb-04 10:30 UTC
[Samba] Problem after join samba 4.11 into windows-domain
We joined a samba 4.11 DC (sernet-packages) into a windows domain? with round about 170.000 objects. After "commiting SAM database" has finished after 21 hours we now have a database-file but if we try to list the content with "ldbsearch --url=/var/lib/samba/privat/sam.ldb" we get the following error: ------------------------- ldbsearch --url=/var/lib/samba/private/sam.ldb Unable to determine the DomainSID, can not enforce uniqueness constraint on local domainSIDs dsdb_schema_from_db() failed: 32:No such object: dsdb_schema: failed to search attributeSchema and classSchema objects: No such Base DN: CN=Schema,CN=Configuration,DC=example,DC=de dsdb_get_schema: refresh_fn() failed schema_load_init: dsdb_get_schema failed module schema_load initialization failed : Operations error module dsdb_notification initialization failed : Operations error module rootdse initialization failed : Operations error module samba_dsdb initialization failed : Operations error Unable to load modules for /var/lib/samba/private/sam.ldb: schema_load_init: dsdb_get_schema failed Failed to connect to /var/lib/samba/private/sam.ldb - schema_load_init: dsdb_get_schema failed ------------------------- All the DNS-databases are empty -------------------------- dc1:/var/lib/samba/private#? ldbsearch --url='sam.ldb.d/DC%3DDOMAINDNSZONES%2CDC%3DEXAMPLE%2CDC%3DDE.ldb' # returned 0 records # 0 entries # 0 referrals -------------------------- Any hint what went wrong? --
L.P.H. van Belle
2020-Feb-04 10:44 UTC
[Samba] Problem after join samba 4.11 into windows-domain
Hi Stefan, The server your running/joining with. Can you run: https://raw.githubusercontent.com/thctlo/samba4/master/samba-collect-debug-info.sh So i have a quick look if nothing is missing. ( not that i expect that from you. ) ;-) But.. You never know. And with windows version are you joining? And im also building a test version for 4.12rc2. I'll post it in the list when its ready to test. Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > Stefan Kania via samba > Verzonden: dinsdag 4 februari 2020 11:30 > Aan: samba at lists.samba.org > Onderwerp: [Samba] Problem after join samba 4.11 into windows-domain > > We joined a samba 4.11 DC (sernet-packages) into a windows > domain? with > round about 170.000 objects. After "commiting SAM database" > has finished > after 21 hours we now have a database-file but if we try to list the > content with "ldbsearch --url=/var/lib/samba/privat/sam.ldb" > we get the > following error: > > ------------------------- > ldbsearch --url=/var/lib/samba/private/sam.ldb > Unable to determine the DomainSID, can not enforce uniqueness > constraint > on local domainSIDs > > dsdb_schema_from_db() failed: 32:No such object: dsdb_schema: > failed to > search attributeSchema and classSchema objects: No such Base DN: > CN=Schema,CN=Configuration,DC=example,DC=de > dsdb_get_schema: refresh_fn() failed > schema_load_init: dsdb_get_schema failed > module schema_load initialization failed : Operations error > module dsdb_notification initialization failed : Operations error > module rootdse initialization failed : Operations error > module samba_dsdb initialization failed : Operations error > Unable to load modules for /var/lib/samba/private/sam.ldb: > schema_load_init: dsdb_get_schema failed > Failed to connect to /var/lib/samba/private/sam.ldb - > schema_load_init: > dsdb_get_schema failed > > ------------------------- > > All the DNS-databases are empty > > -------------------------- > dc1:/var/lib/samba/private#? ldbsearch > --url='sam.ldb.d/DC%3DDOMAINDNSZONES%2CDC%3DEXAMPLE%2CDC%3DDE.ldb' > # returned 0 records > # 0 entries > # 0 referrals > > -------------------------- > > Any hint what went wrong? > > -- > > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >
Seemingly Similar Threads
- Problem to join Samba 4 DC an existing Windows AD
- Samba AD/DC crashed again, third time in as many months
- Samba AD/DC crashed again, third time in as many months
- Problem to join Samba 4 DC an existing Windows AD
- Problem to join Samba 4 DC an existing Windows AD