Ubuntu Türkiye

Yazılım => Yükleme ve Kaldırma Sorunları => Konuyu başlatan: furk - 06 Temmuz 2018 - 23:04:03

Başlık: samba4 active directory kurulum problemim
Gönderen: furk - 06 Temmuz 2018 - 23:04:03
 Selam, Aşağıdaki linki referans alarak ilerlerken,  DNS çözümleme kısmında takıldım.  "ping -c3 tecmint.lan" komutu başarısız oluyor yardımcı olabilir misiniz?
https://www.tecmint.com/install-samba4-active-directory-ubuntu/

ubuntu-server-1@adc1:~$ ping adc1.tecmint.lan
ping: adc1.tecmint.lan: Name or service not known


ubuntu-server-1@adc1:~$ cat /etc/netplan/50-cloud-init.yaml

network:
    version: 2
    renderer: networkd
    ethernets:
        ens33:
            dhcp4: no
            dhcp6: no
            gateway4: 192.168.1.1
            addresses: [192.168.1.101/24]
            nameservers:
                search: [tecmint.lan]   
                addresses: [127.0.0.1,8.8.8.8]


ubuntu-server-1@adc1:~$ cat /etc/hostname
adc1


ubuntu-server-1@adc1:~$ cat /etc/resolv.conf
# This file is managed by man:systemd-resolved(8). Do not edit.
#
# This is a dynamic resolv.conf file for connecting local clients to the
# internal DNS stub resolver of systemd-resolved. This file lists all
# configured search domains.
#
# Run "systemd-resolve --status" to see details about the uplink DNS servers
# currently in use.
#
# Third party programs must not access this file directly, but only through the
# symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a different way,
# replace this symlink by a static file or a different symlink.
#
# See man:systemd-resolved.service(8) for details about the supported modes of
# operation for /etc/resolv.conf.

nameserver 127.0.0.53
search tecmint.lan


ubuntu-server-1@adc1:~$ sudo netstat -antp | grep :53
[sudo] password for ubuntu-server-1:
tcp        0      0 127.0.0.53:53           0.0.0.0:*               LISTEN      653/systemd-resolve
tcp6       0      0 :::53                   :::*                    LISTEN      971/samba


ubuntu-server-1@adc1:~$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: ens33: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 00:0c:29:d3:6a:9c brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.101/24 brd 192.168.1.255 scope global ens33
       valid_lft forever preferred_lft forever
    inet6 fe80::20c:29ff:fed3:6a9c/64 scope link
       valid_lft forever preferred_lft forever

Başlık: Ynt: samba4 active directory kurulum problemim
Gönderen: LinuxMaster - 07 Temmuz 2018 - 01:03:28
Merhabalar

Aşağıdaki şu bağlantılara bir bakarmısın ?

https://www.tecmint.com/setup-local-dns-using-etc-hosts-file-in-linux/
https://www.tecmint.com/install-samba4-active-directory-ubuntu/
http://www.webune.com/forums/how-to-ping-by-mac-address.html
https://sandilands.info/sgordon/arp-spoofing-on-wired-lan
https://apple.stackexchange.com/q/19829
https://networklessons.com/cisco/ccie-routing-switching/tclsh-ping-test-on-cisco-routers-and-switches/
__________________________________________________________________
amba4 active directory kurulum
__________________________________________________________________
https://ubuntuforums.org/showthread.php?t=2146198
https://www.golinuxhub.com/2013/06/samba-41-as-active-directory.html
https://www.linuxvoice.com/issues/011/samba.pdf
https://www.linuxjust4u.com/linux/ubuntu/samba-4-active-directory-server-on-ubuntu-save-cost-of-a-windows-server-license/


Başlık: Ynt: samba4 active directory kurulum problemim
Gönderen: alorak - 07 Temmuz 2018 - 08:44:33
resolv.conf içerisindeki nameserver adresi yanlış. Doğru adres çıktılarınızdan anladığım kadarıyla 192.168.1.101 olmalı. Elle düzeltirseniz çözülecek ama kalıcı düzeltmek için alternatif başka yolları denemeniz gerekmekte (örneğin resolfconf base).
Başlık: Ynt: samba4 active directory kurulum problemim
Gönderen: furk - 11 Temmuz 2018 - 20:44:42
[mention=639634]@alorak[/mention]

Selam, biraz geç oldu kusura bakmayın...

resolv.conf dosyasını ip adresim ile yeni şekilde yapılandırdıktan sonra da ping atarken  hata alıyorum.

ubuntu-server-1@adc1:~$ ping tecmint.lan
ping: tecmint.lan: Name or service not known


ayrıca hosts dosyası içeriğide şu şekilde

ubuntu-server-1@adc1:~$ cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
192.168.1.101 adc1.tecmint.lan adc1
#192.168.1.101   adc1.tecmint.lan
#192.168.1.101   adc1
#192.168.1.101   tecmint.lan

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
Başlık: Ynt: samba4 active directory kurulum problemim
Gönderen: alorak - 11 Temmuz 2018 - 23:06:37
Alıntı yapılan: furk - 11 Temmuz 2018 - 20:44:42
[mention=639634]@alorak[/mention]

Selam, biraz geç oldu kusura bakmayın...

resolv.conf dosyasını ip adresim ile yeni şekilde yapılandırdıktan sonra da ping atarken  hata alıyorum.

ubuntu-server-1@adc1:~$ ping tecmint.lan
ping: tecmint.lan: Name or service not known


ayrıca hosts dosyası içeriğide şu şekilde

...


Selamlar,

Ping'i aşağıdaki adrese atar mısın? diğeri etki alanı ismi sadece çünkü.

ping adc1.tecmint.lan