[Samba] issue joining domain and now logging in

Rowland Penny rpenny at samba.org
Sun Oct 16 07:45:23 UTC 2022



On 15/10/2022 21:15, Diego Franchini wrote:
> Yes, the resolv.conf is as follows:
> 
> /search fritz.box
> nameserver 172.27.1.4/
> 
> Doing a fresh install of samba with 4.15.9 works, and a fresh install on 
> 4.16.5, following the same procedure, doesn't.
> 
> this is what I do:
> 
> /:~# sudo apt-get update && sudo apt-get upgrade/
> /:~# //nano /etc/hosts
> /
> /:~# //nano /etc/hostname    #to change name of device
> /
> /:~# //nano /etc/dhcpcd.conf
> /
> /:~# //apt-get install samba krb5-config krb5-user winbind smbclient 
> samba-dsdb-modules samba-vfs-modules/
> 
> the hosts file:
> 
> /127.0.0.1   localhost
> #127.0.1.1   SMBDC1
> ::1         localhost SMBDC1 ip6-localhost ip6-loopback
> fe00::0     ip6-localnet
> ff00::0     ip6-mcastprefix
> ff02::1     ip6-allnodes
> ff02::2     ip6-allrouters
> 172.27.1.4 SMBDC1.example.com <http://SMBDC1.example.com> SMBDC1/
> 
> the dhcpdc.conf file:

That is one big difference between your orange pi and my raspberry pi, 
an AD DC has to have a fixed ipaddress, so I set up the 
/etc/network/interfaces file and then 'apt purge dhcpcd5 resolvconf' 
followed by a reboot.

I seem to remember having problems with dhcpcd (on a Unix domain member) 
where it wouldn't retain an IP, so I just removed it and found that 
dhclient was also installed and worked out of the box.

Rowland



More information about the samba mailing list