[Samba] Samba4 joining a domain as DC

felix at epepm.cupet.cu felix at epepm.cupet.cu
Mon Nov 14 14:30:32 MST 2011


I followed
https://wiki.samba.org/index.php/Samba4/HOWTO/Join_a_domain_as_a_DC

but when I get to

samba-tool drs kcc -Uadministrator windowsdc.samba.example.com

then the result is:

ERROR(runtime): DsExecuteKCC failed - (8409, ´WERR_DS_DATABASE_ERROR´)

and in samba.log:

[2011/11/14 16:03:30,  0] ../source4/smbd/server.c:365(binary_smbd_main)
  samba version 4.0.0alpha17 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2011
[2011/11/14 16:03:31,  0] ../source4/smbd/server.c:460(binary_smbd_main)
  samba: using 'standard' process model
[2011/11/14 16:03:31,  0] ../source4/lib/tls/tlscert.c:70(tls_cert_generate)
  Attempting to autogenerate TLS self-signed keys for https for hostname
'LAST.mydomain.com'
[2011/11/14 16:03:32,  0] ../source4/lib/tls/tlscert.c:166(tls_cert_generate)
  TLS self-signed keys generated OK
[2011/11/14 16:03:47,  0]
../source4/dsdb/repl/drepl_ridalloc.c:43(drepl_new_rid_pool_callback)
  ../source4/dsdb/repl/drepl_ridalloc.c:43: RID Manager failed RID
allocation - WERR_BADFILE - extended_ret[0x0]
[2011/11/14 16:08:47,  0]
../source4/dsdb/repl/drepl_ridalloc.c:43(drepl_new_rid_pool_callback)
  ../source4/dsdb/repl/drepl_ridalloc.c:43: RID Manager failed RID
allocation - WERR_BADFILE - extended_ret[0x0]
[2011/11/14 16:14:43,  0]
../source4/dsdb/repl/drepl_ridalloc.c:43(drepl_new_rid_pool_callback)
  ../source4/dsdb/repl/drepl_ridalloc.c:43: RID Manager failed RID
allocation - WERR_BADFILE - extended_ret[0x0]
[2011/11/14 16:19:45,  0] ../source4/smbd/server.c:365(binary_smbd_main)
  samba version 4.0.0alpha17 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2011
[2011/11/14 16:19:46,  0] ../source4/smbd/server.c:460(binary_smbd_main)
  samba: using 'standard' process model
[2011/11/14 16:20:39,  0]
../source4/dsdb/repl/drepl_ridalloc.c:43(drepl_new_rid_pool_callback)
  ../source4/dsdb/repl/drepl_ridalloc.c:43: RID Manager failed RID
allocation - WERR_BADFILE - extended_ret[0x0]
[2011/11/14 16:25:35,  0]
../source4/dsdb/repl/drepl_ridalloc.c:43(drepl_new_rid_pool_callback)
  ../source4/dsdb/repl/drepl_ridalloc.c:43: RID Manager failed RID
allocation - WERR_BADFILE - extended_ret[0x0]


Thanks.
Felix.



More information about the samba mailing list