Displaying 4 results from an estimated 4 matches for "samba_checkdb_with_drs".
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
...hink of this one..
>> Suggestions are always welkom.
>>
>>
>> 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 i...
2020 Sep 29
3
No Samba NT DOMAIN Name found exitting now...
...="Administrator"
> ## if empty the script wil ask for the pass..
> ## for running this with cron this is a must !
> SAMBA_NT_ADMIN_PASS="mypassword"
>
> ## perform 2 checkes by default for the database replication
> ## keep both set to yes, thats the best.
> SAMBA_CHECKDB_WITH_DRS="yes"
> SAMBA_CHECKDB_WITH_LDAPCMD="yes"
> ## Filter non-synced attributes
> ## Change the filter to avoid mismatching, some items can be ignored.
> ## Some examples. :
> whenChanged,usnChanged,usnCreated,msDS-NcType,serverState
> ## add them with ","...
2020 Sep 29
0
No Samba NT DOMAIN Name found exitting now...
...gt;> ## if empty the script wil ask for the pass..
>> ## for running this with cron this is a must !
>> SAMBA_NT_ADMIN_PASS="mypassword"
>>
>> ## perform 2 checkes by default for the database replication
>> ## keep both set to yes, thats the best.
>> SAMBA_CHECKDB_WITH_DRS="yes"
>> SAMBA_CHECKDB_WITH_LDAPCMD="yes"
>> ## Filter non-synced attributes
>> ## Change the filter to avoid mismatching, some items can be ignored.
>> ## Some examples. :
>> whenChanged,usnChanged,usnCreated,msDS-NcType,serverState
>> ## add...