Displaying 2 results from an estimated 2 matches for "samba_checkdb_with_ldapcmp".
Did you mean:
samba_checkdb_with_ldapcmd
2015 Mar 23
3
samba4 check database replication script. samba-check-db-repl.sh
Hai,????
?
I?have created a new?script for checking samba DC database replications.
?
I?have tested with 2 DC's , if there people with more than 2 DCs, and want to test for me, would be great.
I tested on debian wheezy, but should work on any apt-get capable os.? ( but not?tested )
?
What it does..
- auto detects the?DC in you network.
-?detects the DC met FSMO roles and compairs this
2015 Mar 24
0
samba4 check database replication script. samba-check-db-repl.sh
...>>
>> Greetz,
>>
>> Louis
>>
>>
>
>Hi Louis, I am having a look at your script and I am sorry to
>say I have
>found a bug =-O
>
>Line 124:
>
>if [ "${SAMBA_CHECKDB_WITH_DRS}" = "no" ] || [
>"${SAMBA_CHECKDB_WITH_LDAPCMP}" = "no" ] ; then
>
>Should be:
>
>if [ "${SAMBA_CHECKDB_WITH_DRS}" = "no" ] && [
>"${SAMBA_CHECKDB_WITH_LDAPCMP}" = "no" ] ; then
>
>The way it is written means that if either of the two variables is set
>to &...