smbd: don't log success as error

In 58bc493c the check for NT_STATUS_OK was removed, causing
smbd to spam syslog with misleading ``failure`` messages:

    Sep 11 03:57:54 mail smbd[4813]:   remove_share_mode_lease: leases_db_del failed: NT_STATUS_OK
    Sep 11 03:58:54 mail smbd[4813]:   remove_share_mode_lease: leases_db_del failed: NT_STATUS_OK
    Sep 11 03:59:54 mail smbd[4813]:   remove_share_mode_lease: leases_db_del failed: NT_STATUS_OK
    Sep 11 04:00:03 mail smbd[4798]:   remove_share_mode_lease: leases_db_del failed: NT_STATUS_OK
    Sep 11 04:00:05 mail smbd[4798]:   remove_share_mode_lease: leases_db_del failed: NT_STATUS_OK

Reinstate the check; the code now follows the error handling
logic as in 4.13.

Signed-off-by: Philipp Gesang <philipp.gesang@intra2net.com>
32 jobs for phgsng-remove_share_mode_lease-OK in 63 minutes and 1 second (queued for 3 seconds)
Status Name Job ID Coverage
  Build
passed centos7-samba-o3 #733253290
docker shared

00:33:24

passed ctdb #733253276
docker shared

00:35:05

passed debian9-samba-o3 #733253287
docker shared

00:33:59

passed fedora29-samba-o3 #733253291
docker shared

00:34:42

passed fedora30-samba-o3 #733253303
docker shared

00:33:45

passed opensuse150-samba-o3 #733253288
docker shared

00:39:13

passed opensuse151-samba-o3 #733253289
docker shared

00:36:37

passed others #733253255
docker shared

00:13:45

passed samba #733253256
docker shared

00:23:38

passed samba-ad-dc-1 #733253282
docker samba-ci-private

00:37:24

passed samba-ad-dc-2 #733253267
docker shared

01:02:59

passed samba-ad-dc-3 #733253269
docker shared

00:45:54

passed samba-ad-dc-4 #733253271
docker shared

01:00:18

passed samba-ad-dc-5 #733253272
docker shared

00:47:16

passed samba-ad-dc-6 #733253273
docker shared

00:39:27

passed samba-ad-dc-backup #733253279
docker samba-ci-private

00:40:47

passed samba-ad-dc-ntvfs #733253278
docker shared

00:44:05

passed samba-ad-member #733253265
docker shared

00:27:30

passed samba-ctdb #733253277
docker shared

00:21:03

passed samba-fileserver #733253280
docker samba-ci-private

00:26:47

passed samba-ktest-heimdal #733253281
docker samba-ci-private

00:11:40

passed samba-libs #733253274
docker shared

00:34:48

passed samba-none-env #733253258
docker shared

01:01:52

passed samba-nopython #733253260
docker shared

00:34:15

passed samba-nopython-py2 #733253261
docker shared

00:42:53

passed samba-nt4 #733253283
docker samba-ci-private

00:45:27

passed samba-schemaupgrade #733253284
docker samba-ci-private

00:23:32

passed samba-static #733253275
docker shared

00:47:39

passed samba-systemkrb5 #733253262
docker shared

00:17:11

passed samba-xc #733253263
docker shared

00:07:54

passed ubuntu1604-samba-o3 #733253286
docker shared

00:31:30

passed ubuntu1804-samba-o3 #733253285
docker shared

00:30:45