Displaying 4 results from an estimated 4 matches for "thisdc".
2019 Jul 16
4
Syncing Sysvol
...do. Exiting now..."
??? exit 1
fi
sysvol="$(samba -b | grep "STATEDIR" | awk '{print $NF}')/sysvol"
[[ -d $sysvol ]] || exit
pdc=$(host -t SRV _ldap._tcp.pdc._msdcs."$(hostname -d)" | awk '{print
$NF}' | awk -F '.' '{print $1}')
thisdc=$(hostname -s)
if [ "$thisdc" = "$pdc" ]; then
??? echo "This is the DC holding the PDC Emulator role"
??? echo "Cannot continue...Exiting."
??? exit
fi
if [ ! -d /tmp/samba ]; then
??? mkdir /tmp/samba
??? if [ "$?" != 0 ]; then
??????? exit...
2019 Jul 16
0
Syncing Sysvol
...> fi
>
> sysvol="$(samba -b | grep "STATEDIR" | awk '{print $NF}')/sysvol"
> [[ -d $sysvol ]] || exit
>
> pdc=$(host -t SRV _ldap._tcp.pdc._msdcs."$(hostname -d)" | awk '{print
> $NF}' | awk -F '.' '{print $1}')
> thisdc=$(hostname -s)
> if [ "$thisdc" = "$pdc" ]; then
> echo "This is the DC holding the PDC Emulator role"
> echo "Cannot continue...Exiting."
> exit
> fi
>
> if [ ! -d /tmp/samba ]; then
> mkdir /tmp/samba
> if...
2018 Nov 29
4
Setup a Samba AD DC as an additional DC
...main name pointer
> WindowsADDC.domain.com.
>
> >host IP_OF_THIS_DC
>
> Host 40.176.192.131.in-addr.arpa domain name pointer
> sambaDC.domain.com.
>
> >And
> >dig a $(hostname -s)
>
> ; <<>> DiG 9.11.3-1ubuntu1.3-Ubuntu <<>> a ThisDC-SambaDC-we-want-to-join
> ;; global options: +cmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: FORMERR, id: 20641
> ;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
> ;; WARNING: recursion requested but not available
>
> ;; OPT PSEUDO...
2018 Nov 27
10
Setup a Samba AD DC as an additional DC
Hai,
I had a quick look.
Barry, can you get this script and run it.
https://raw.githubusercontent.com/thctlo/samba4/master/samba-collect-debug-info.sh
Then post the results to the list.
It collects all info i need to have a better look.
I have a few ideas, this might be a resolving order problem, i've based on the errors below.
Can you also post the output of bind from the point its