# Linstor drbd: one side with authentication, one without?

**URL:** <https://forums.linbit.com/t/linstor-drbd-one-side-with-authentication-one-without/1291>\
**Category:** LINSTOR\
**Tags:** drbd\
**Created:** [October 9, 2026, 11:22am UTC](https://forums.linbit.com/t/linstor-drbd-one-side-with-authentication-one-without/1291 "2026-10-09T11:22:21Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![candlerb](https://avatars.discourse-cdn.com/v4/letter/c/c5a1d2/32.png) [@candlerb](https://forums.linbit.com/u/candlerb)\
**Post date:** [October 9, 2026, 12:04pm UTC](https://forums.linbit.com/t/linstor-drbd-one-side-with-authentication-one-without/1291/2 "2026-10-09T12:04:50Z")

</div>

(Looks in source for v1.32.2, being the nearest version tagged)

```auto
            /* No sha1 on WinDRBD, sorry */
            if (autoVerifyAlgo == null || autoVerifyAlgo.equalsIgnoreCase("windrbd"))
            {
                supportsCramHmac = false;
            }
...
                if (supportsCramHmac)
                {
                    // TODO: make configurable
                    appendLine("cram-hmac-alg sha1;");
                    // TODO: make configurable
                    appendLine("shared-secret \"%s\";", rscDfnData.getSecret());
                }

```

Ergh - so it looks like disabling autoVerifyAlgo also disables the network shared secret!

I have:

```auto
root@virtual1:~# linstor c lp -p | egrep -i 'verify|alg'
| DrbdOptions/Net/verify-alg | sha256 |
| DrbdOptions/auto-verify-algo-allowed-list | crct10dif;crc32c;sha384;sha512;sha256;sha1;md5;windrbd |
| DrbdOptions/auto-verify-algo-disable | true |

```

Therefore I think I need to re-enable autoVerifyAlgo, but remove crct10dif from the list of algorithms. So now I try:

```auto
root@virtual1:~# linstor c sp DrbdOptions/auto-verify-algo-allowed-list "crc32c;sha384;sha512;sha256;sha1;md5;windrbd"
ERROR:
Description:
    The key 'DrbdOptions/auto-verify-algo-allowed-list' is not whitelisted
Details:
    Controller

```

Nope, that is not accepted. What if I just re-enable autoVerifyAlgo, now that 2 of the 3 nodes have the new drbd version?

```auto
root@virtual1:~# linstor c sp DrbdOptions/auto-verify-algo-disable false
INFO:
    Updated linstor_db DRBD auto verify algorithm to 'sha512'
INFO:
    Updated pm-335713f4 DRBD auto verify algorithm to 'sha512'
INFO:
...

root@virtual6:~# grep shared-secret /var/lib/linstor.d/*.res | wc -l
0

```

Nope.

```auto
root@virtual6:~# systemctl restart linstor-satellite; sleep 60
root@virtual6:~# grep shared-secret /var/lib/linstor.d/*.res | wc -l
17

```

Aha! But still not connecting ☹

```auto
root@virtual6:~# drbdadm status linstor_db
linstor_db role:Secondary
  disk:Outdated quorum:no open:no
  virtual1 connection:Connecting
  virtual5 connection:Connecting

root@virtual6:~# drbdadm dump linstor_db | grep -3 secret
    }
    net {
        cram-hmac-alg sha1;
        shared-secret XXXXXXXX;
        verify-alg sha256;
    }
}

```

All three nodes now show the same.

Force a disconnect and reconnect?

```r
oot@virtual6:~# drbdadm disconnect linstor_db
root@virtual6:~# drbdadm connect linstor_db
root@virtual6:~# drbdadm status linstor_db
linstor_db role:Secondary
  disk:Outdated quorum:no open:no
  virtual1 connection:Connecting
  virtual5 connection:Connecting

```

Still no good.

What about disconnect and reconnect from the primary side? Trying a different one here.

```auto
root@virtual1:~# drbdadm status pm-f00a673d
pm-f00a673d role:Primary
  disk:UpToDate open:yes
  virtual5 role:Secondary
    peer-disk:UpToDate
  virtual6 connection:StandAlone

root@virtual1:~# drbdadm disconnect pm-f00a673d
root@virtual1:~# drbdadm connect pm-f00a673d
root@virtual1:~# drbdadm status pm-f00a673d
pm-f00a673d role:Primary
  disk:UpToDate open:yes
  virtual5 role:Secondary
    peer-disk:UpToDate
  virtual6 role:Secondary
    replication:SyncSource peer-disk:Inconsistent done:1.60

root@virtual1:~# drbdadm status pm-f00a673d
pm-f00a673d role:Primary
  disk:UpToDate open:yes
  virtual5 role:Secondary
    peer-disk:UpToDate
  virtual6 role:Secondary
    replication:SyncSource peer-disk:Inconsistent done:4.31

```

That looks like it might be the way.

---

_[View the full topic](https://forums.linbit.com/t/linstor-drbd-one-side-with-authentication-one-without/1291)._
