[Samba] Samba 4 AD - Samba Fails to Start, hdb_samba4_create_kdc (setup KDC database) failed

JS it at cliffbells.com
Wed Dec 30 22:41:30 UTC 2015


 <=?windows-1252?Q?L.P.H._van_Belle?=> writes:

> 
> Hai, 
> 
> Can be incorrect rights, of corrupted db. 
> 
> Can you give the output of 
> 
> ls -al /var/lib/samba/
> ls -al /var/lib/samba/private 
> ls -al /var/lib/samba/private/dns
> 
> Greetz, 
> 
> Louis
> 



Hi Louis, thanks for your reply, here is the info you requested:

ls -al /var/lib/samba/
total 1376
drwxr-xr-x   8 root root         4096 Dec 13 21:07 .
drwxr-xr-x  59 root root         4096 Dec 13 20:16 ..
-rw-------   1 root root       421888 Dec 13 21:07 account_policy.tdb
drwxr-x---   2 root root         4096 Dec 28 21:12 ntp_signd
drwxr-xr-x  10 root root         4096 Dec 13 20:51 printers
drwxr-xr-x   6 root root         4096 Dec 28 21:12 private
-rw-------   1 root root       528384 Dec 13 21:07 registry.tdb
-rw-------   1 root root       421888 Dec 13 21:07 share_info.tdb
drwxrwx---+  6 root    3000000   4096 Dec 13 21:59 sysvol
drwxrwx--T   2 root sambashare   4096 Dec 13 20:36 usershares
drwxr-x---   2 root root         4096 Dec 28 21:12 winbindd_privileged


ls -al /var/lib/samba/private/
total 11220
drwxr-xr-x 6 root root    4096 Dec 28 21:12 .
drwxr-xr-x 8 root root    4096 Dec 13 21:07 ..
-rw------- 1 root root    2085 Dec 13 21:07 dns_update_cache
-rw-r--r-- 1 root root    3183 Dec 13 21:03 dns_update_list
-rw------- 1 root root 1286144 Dec 13 21:02 hklm.ldb
-rw------- 1 root root 1609728 Dec 23 20:15 idmap.ldb
-rw-r--r-- 1 root root      99 Dec 13 21:03 krb5.conf
srwxrwxrwx 1 root root       0 Dec 28 21:12 ldapi
drwxr-x--- 2 root root    4096 Dec 28 21:12 ldap_priv
-r--r--r-- 1 root root     242 Dec 13 21:07 named.conf.update
-rw------- 1 root root 1286144 Dec 13 21:41 privilege.ldb
-rw------- 1 root root     696 Dec 13 21:07 randseed.tdb
-rw------- 1 root root 4247552 Dec 28 07:22 sam.ldb
drwx------ 2 root root    4096 Dec 13 21:02 sam.ldb.d
-rw------- 1 root root     696 Dec 28 21:12 schannel_store.tdb
-rw------- 1 root root    1212 Dec 13 21:03 secrets.keytab
-rw------- 1 root root 1286144 Dec 13 21:03 secrets.ldb
-rw------- 1 root root  430080 Dec 13 21:03 secrets.tdb
-rw------- 1 root root 1286144 Dec 13 21:02 share.ldb
drwxr-xr-x 3 root root    4096 Dec 13 21:07 smbd.tmp
-rw-r--r-- 1 root root     955 Dec 13 21:03 spn_update_list
drwx------ 2 root root    4096 Dec 13 21:07 tls


I have no /var/lib/samba/private/dns directory.  Note that I am using
Samba's internal DNS server as opposed to Bind9 or anything else.

JS





More information about the samba mailing list