diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-04-19 09:06:40 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2012-04-20 17:05:52 +0200 |
commit | 3f00295f5eba1ff9a08cb35656222c78479fae11 (patch) | |
tree | cd0b6360cb60ca2d172e09700277ac9b88246037 /source3 | |
parent | 1be6d849ab9d2c992dfa94419260fc28cf573d87 (diff) | |
download | samba-3f00295f5eba1ff9a08cb35656222c78479fae11.tar.gz samba-3f00295f5eba1ff9a08cb35656222c78479fae11.tar.bz2 samba-3f00295f5eba1ff9a08cb35656222c78479fae11.zip |
s3-dbwrap: dbwrap_watch_record_stored => NT_STATUS_NOT_FOUND is ok...
Autobuild-User: Volker Lendecke <vl@samba.org>
Autobuild-Date: Fri Apr 20 17:05:52 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/dbwrap/dbwrap_watch.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/lib/dbwrap/dbwrap_watch.c b/source3/lib/dbwrap/dbwrap_watch.c index db0d376e3c..0c13371531 100644 --- a/source3/lib/dbwrap/dbwrap_watch.c +++ b/source3/lib/dbwrap/dbwrap_watch.c @@ -318,6 +318,9 @@ static void dbwrap_watch_record_stored(struct db_context *db, status = dbwrap_record_get_watchers(db, rec, talloc_tos(), &ids, &num_ids); + if (NT_STATUS_EQUAL(status, NT_STATUS_NOT_FOUND)) { + goto done; + } if (!NT_STATUS_IS_OK(status)) { DEBUG(1, ("dbwrap_record_get_watchers failed: %s\n", nt_errstr(status))); |