[Samba] Problem AD settup

Rodrigo Cunha rodrigo.root.rj at gmail.com
Mon Sep 3 17:01:14 UTC 2018


Dears, i make a samba to DC in my enviroment test, i use howto manual samba
in:
https://wiki.samba.org/index.php/Setting_up_Samba_as_an_Active_Directory_Domain_Controller
.
many steps work, but when i created zone "./samba-tool dns zonecreate
172.16.0.2 0.99.10.in-addr.arpa" the stdout password is not:

Password for [administrator at SAMDOM.EXAMPLE.COM]:

The stdout is: Password for [SAMDOM\root]: but with errors:

Failed to bind to uuid 50abc2a4-574d-40b3-9d66-ee4fd5fba076 for
>> ncacn_ip_tcp:172.16.0.2[49152,sign,abstract_syntax=50abc2a4-574d-40b3-9d66-ee4fd5fba076/0x00000005,localaddress=172.16.0.2]
>> NT_STATUS_LOGON_FAILURE
>
> ERROR: Connecting to DNS RPC server 172.16.0.2 failed with (3221225581,
>> 'The attempted logon is invalid. This is either due to a bad username or
>> authentication information.')
>
>
>
I do all steps, only change my IP. My local ip is 172.16.0.2, and my
/etc/hosts is:

> 127.0.0.1       localhost localhost.localdomain
>
> 172.16.0.2      DC1.samdom.example.com DC1
>
> # The following lines are desirable for IPv6 capable hosts
>
> ::1     localhost ip6-localhost ip6-loopback
>
> ff02::1 ip6-allnodes
>
> ff02::2 ip6-allrouters
>
>
> my /etc/resolv.conf is:

> root at SAMBA:/usr/local/samba/bin# cat /etc/resolv.conf
>
> search samdom.example.com
>
> nameserver 172.16.0.2
>
>
> I created domain with command: samba-tool domain provision
--server-role=dc --use-rfc2307 --dns-backend=SAMBA_INTERNAL --realm=
SAMDOM.EXAMPLE.COM --domain=SAMDOM --adminpass=Passw0rd

help-me.

-- 
Atenciosamente,
Rodrigo da Silva Cunha
São Gonçalo, RJ - Brasil


More information about the samba mailing list