Displaying 3 results from an estimated 3 matches for "server_ip_adress".
Did you mean:
server_ip_address
2015 Apr 24
3
samba-check-db-script python failure
...hecks if no DC's are found, error message and exits script,
so no python errors anymore, if i did it right. ;-)
on both DC's do the following.
and whats the output of :
cat /etc/hosts
cat /etc/resolv.conf
and
kinit Administrator
SETDNSDOMAIN=`hostname -d`
SETHOSTNAME=`hostname -s`
SERVER_IP_ADRESS=`hostname -i`
echo "Test domainname: $SETDNSDOMAIN"
echo "Test Hostname : $SETHOSTNAME"
echo "Test Ip_address: $SERVER_IP_ADRESS"
dig A $SETHOSTNAME.$SETDNSDOMAIN @localhost
if [ -z "`host -t SRV _ldap._tcp.${SETDNSDOMAIN}. | grep 'not found'`" ];...
2015 Apr 24
0
samba-check-db-script python failure
...ght. ;-)
>>
>> on both DC's do the following.
>>
>> and whats the output of :
>> cat /etc/hosts
>> cat /etc/resolv.conf
>>
>> and
>> kinit Administrator
>> SETDNSDOMAIN=`hostname -d`
>> SETHOSTNAME=`hostname -s`
>> SERVER_IP_ADRESS=`hostname -i`
>>
>> echo "Test domainname: $SETDNSDOMAIN"
>> echo "Test Hostname : $SETHOSTNAME"
>> echo "Test Ip_address: $SERVER_IP_ADRESS"
>>
>> dig A $SETHOSTNAME.$SETDNSDOMAIN @localhost
>>
>> if [ -z "`host...
2015 Apr 23
3
samba-check-db-script python failure
I went and got the newest (upped recently) script. No love.
I removed the email address line to get more command line output.
root at dc01:~# ./samba-check-db-repl.sh
Running with with console output
Running : /usr/bin/samba-tool ldapcmp --filter='whenChanged' ldap://dc01
ldap://dc02.dtsh***m.dt.
Please wait.. this can take a while..
Failed to bind - LDAP error 49