1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/source3/groupdb
Rusty Russell 5a7874e119 tdb_traverse/tdb_traverse_read: check returns for negative, not -1.
TDB2 returns a negative error number on failure.  This is compatible
if we always check for < 0 instead of == -1.

Also, there's no tdb_traverse_read in TDB2: we don't try to make
traverse reliable any more, so there are no write locks anyway.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-06-20 11:18:35 +02:00
..
mapping_tdb.c tdb_traverse/tdb_traverse_read: check returns for negative, not -1. 2011-06-20 11:18:35 +02:00
mapping.c tdb_compat.h: divert every tdb build and includes to tdb_compat 2011-06-20 11:18:34 +02:00
mapping.h s3:dom_sid Global replace of DOM_SID with struct dom_sid 2010-05-21 10:39:59 +02:00
proto.h s3:groupdb/proto.h: add _GROUPDB_PROTO_H_ guard 2011-05-31 01:44:27 +02:00