pc.charlison
(usa Ubuntu)
Enviado em 06/04/2018 - 10:46h
Olá pessoal estou apanhando a mais de uma semana para levantar esse controlador de domínio, estou utilizando a documentação do samba-4.8.0 e sistema Debian 9 x64 num servidor Dell.
Vou mostrar o status atual do samba para que alguém que possa está passando ou passou por isso verificar e se puder me ajudar com alguma dica, onde estou errando etc.. fico muito grato.
root@fileserver:~# systemctl status samba-ad-dc
● samba-ad-dc.service - Samba Active Directory Domain Controller
Loaded: loaded (/etc/systemd/system/samba-ad-dc.service; enabled; vendor pres
Active: active (running) since Fri 2018-04-06 02:00:08 -04; 7h ago
Process: 1157 ExecStart=/usr/local/samba/sbin/samba -D (code=exited, status=0/
Main PID: 1241 (samba)
Tasks: 21 (limit: 4915)
CGroup: /system.slice/samba-ad-dc.service
├─1241 samba: root process .
├─1246 samba: task[s3fs_parent] .
├─1247 samba: task[dcesrv] .
├─1248 samba: tfork waiter process
├─1249 samba: task[nbtd] .
├─1250 /usr/local/samba/sbin/smbd -D --option=server role check:inhib
├─1251 samba: task[wrepl] .
├─1252 samba: task[ldapsrv] .
├─1253 samba: task[cldapd] .
├─1254 samba: conn[kdc_tcp] c[ipv6:2804:d4b:27b1:3000:453:32b1:e9ea:d
├─1255 samba: task[dreplsrv] .
├─1256 samba: task[winbindd_parent]
├─1257 samba: task[ntp_signd] .
├─1258 samba: tfork waiter process
├─1259 samba: task[kccsrv] .
├─1260 samba: task[dnsupdate] .
lines 1-23...skipping...
● samba-ad-dc.service - Samba Active Directory Domain Controller
Loaded: loaded (/etc/systemd/system/samba-ad-dc.service; enabled; vendor preset: en
Active: active (running) since Fri 2018-04-06 02:00:08 -04; 7h ago
Process: 1157 ExecStart=/usr/local/samba/sbin/samba -D (code=exited, status=0/SUCCES
Main PID: 1241 (samba)
Tasks: 21 (limit: 4915)
CGroup: /system.slice/samba-ad-dc.service
├─1241 samba: root process .
├─1246 samba: task[s3fs_parent] .
├─1247 samba: task[dcesrv] .
├─1248 samba: tfork waiter process
├─1249 samba: task[nbtd] .
├─1250 /usr/local/samba/sbin/smbd -D --option=server role check:inhibit=yes
├─1251 samba: task[wrepl] .
├─1252 samba: task[ldapsrv] .
├─1253 samba: task[cldapd] .
├─1254 samba: conn[kdc_tcp] c[ipv6:2804:d4b:27b1:3000:453:32b1:e9ea:d6e9:62
├─1255 samba: task[dreplsrv] .
├─1256 samba: task[winbindd_parent]
├─1257 samba: task[ntp_signd] .
├─1258 samba: tfork waiter process
├─1259 samba: task[kccsrv] .
├─1260 samba: task[dnsupdate] .
├─1261 /usr/local/samba/sbin/winbindd -D --option=server role check:inhibit
├─1262 samba: task[dns] .
├─1269 /usr/local/samba/sbin/smbd -D --option=server role check:inhibit=yes
├─1270 /usr/local/samba/sbin/smbd -D --option=server role check:inhibit=yes
└─1271 /usr/local/samba/sbin/smbd -D --option=server role check:inhibit=yes
abr 06 02:00:09 fileserver samba[1241]: root process[1241]: [2018/04/06 02:00:09.36434
abr 06 02:00:09 fileserver samba[1241]: root process[1241]: binary_smbd_main: samba:
lines 1-31...skipping...
● samba-ad-dc.service - Samba Active Directory Domain Controller
Loaded: loaded (/etc/systemd/system/samba-ad-dc.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2018-04-06 02:00:08 -04; 7h ago
Process: 1157 ExecStart=/usr/local/samba/sbin/samba -D (code=exited, status=0/SUCCESS)
Main PID: 1241 (samba)
Tasks: 21 (limit: 4915)
CGroup: /system.slice/samba-ad-dc.service
├─1241 samba: root process .
├─1246 samba: task[s3fs_parent] .
├─1247 samba: task[dcesrv] .
├─1248 samba: tfork waiter process
├─1249 samba: task[nbtd] .
├─1250 /usr/local/samba/sbin/smbd -D --option=server role check:inhibit=yes --foreground
├─1251 samba: task[wrepl] .
├─1252 samba: task[ldapsrv] .
├─1253 samba: task[cldapd] .
├─1254 samba: conn[kdc_tcp] c[ipv6:2804:d4b:27b1:3000:453:32b1:e9ea:d6e9:62827] s[ipv6:2804:d4b:27b1:3000:d294:66ff:fe32:6e5a:88] server_id[1254.44]
├─1255 samba: task[dreplsrv] .
├─1256 samba: task[winbindd_parent]
├─1257 samba: task[ntp_signd] .
├─1258 samba: tfork waiter process
├─1259 samba: task[kccsrv] .
├─1260 samba: task[dnsupdate] .
├─1261 /usr/local/samba/sbin/winbindd -D --option=server role check:inhibit=yes --foreground
├─1262 samba: task[dns] .
├─1269 /usr/local/samba/sbin/smbd -D --option=server role check:inhibit=yes --foreground
├─1270 /usr/local/samba/sbin/smbd -D --option=server role check:inhibit=yes --foreground
└─1271 /usr/local/samba/sbin/smbd -D --option=server role check:inhibit=yes --foreground
abr 06 02:00:09 fileserver samba[1241]: root process[1241]: [2018/04/06 02:00:09.364341, 0] ../source4/smbd/server.c:638(binary_smbd_main)
abr 06 02:00:09 fileserver samba[1241]: root process[1241]: binary_smbd_main: samba: using 'standard' process model
abr 06 02:00:09 fileserver samba[1241]: root process[1241]: [2018/04/06 02:00:09.382615, 0] ../lib/util/become_daemon.c:138(daemon_ready)
abr 06 02:00:09 fileserver samba[1241]: root process[1241]: daemon_ready: STATUS=daemon 'samba' finished starting up and ready to serve connections
abr 06 02:00:09 fileserver winbindd[1261]: [2018/04/06 02:00:09.863463, 0] ../source3/winbindd/winbindd_cache.c:3160(initialize_winbindd_cache)
abr 06 02:00:09 fileserver winbindd[1261]: initialize_winbindd_cache: clearing cache and re-creating with version number 2
abr 06 02:00:10 fileserver smbd[1250]: [2018/04/06 02:00:10.370543, 0] ../lib/util/become_daemon.c:138(daemon_ready)
abr 06 02:00:10 fileserver smbd[1250]: daemon_ready: STATUS=daemon 'smbd' finished starting up and ready to serve connections
abr 06 02:00:10 fileserver winbindd[1261]: [2018/04/06 02:00:10.727320, 0] ../lib/util/become_daemon.c:138(daemon_ready)
abr 06 02:00:10 fileserver winbindd[1261]: daemon_ready: STATUS=daemon 'winbindd' finished starting up and ready to serve connections
~
Obs: Pós estartar o serviço o servidor para de responder pra internet. mas não alterei nada no arquivo hosts nem no resolv.conf vejam:
/etc/hosts
127.0.0.1 localhost localhost.localdomain
192.168.0.5 fileserver.dcaquino.local fileserver
# The following lines are desirable for IPv6 capable hosts
#::1 localhost ip6-localhost ip6-loopback
#ff02::1 ip6-allnodes
#ff02::2 ip6-allrouters
/etc/resolv.conf
domain fileserver.dcaquino.local
search dcaquino.local
nameserver 192.168.0.5
nameserver 8.8.8.8
nameserver 1.1.1.1
Agradeço desde já a quem puder ajudar..