[Samba] Second DC doesn't recognize users/groups on getent
Sketch
smblist at rednsx.org
Tue Oct 13 14:10:56 UTC 2015
On Tue, 13 Oct 2015, Guilherme Boing wrote:
> I should also mention that Samba 4.3.0 was installed from tarball, I
> compiled it myself.
>
> DC2 does not have the /var/lib/samba/private/sam.ldb file. Also it did not
> return any result on DC1.
>
> I wonder why DC1 has the /var/lib/samba/private/sam.ldb file and DC2 does
> not.
If you compiled it yourself and didn't change the path, the default path
for the private dir is /usr/local/samba/private. Most
distributions/packagers use /var/lib/samba/private instead.
The only other thing beyond what's already been suggested to check that I
can think of is to make sure /etc/hosts and /etc/resolv.conf are set up
properly. Make sure your hostname points to your DNS IP and not 127.0.0.1
in /etc/hosts, and make sure /etc/resolv.conf points at your domain
controllers' DNS. DC2 should point to DC1 as it's first DNS server (and
vice versa, once DC2 is working properly).
More information about the samba
mailing list